Shortcode function breaks ob stack
-
There is a wrong use of ob_clean() function in line 423 of the
wp-google-map-plugin.php
file. Instead ofob_clean()
there should beob_end_clean()
used. The first one doesn’t destroy output buffer, so for example if a theme also uses output buffering, it brakes ob stack. Also, if the function ends earlier (return in lines 415 and 418), the same error happens. It’s a common mistake.Thanks.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Shortcode function breaks ob stack’ is closed to new replies.