Shortcode functionality break after 5.0.2 update
-
I just updated my Yoast plugin to version 5.0.2 on a WordPress install running 4.8., and I noticed a change in functionality.
I have several custom shortcodes defined in my functions.php file. When I edit a page that has these shortcodes and I hit the “Update” button, the /wp-admin/post.php page reloads. Instead of the WordPress post editor reloading, I get a plain white page with my rendered content (no editor), followed by an error as follows…
Warning: Cannot modify header information – headers already sent by (output started at /[home directory url omitted]/functions.php:548) in /[home directory url omitted]/wp-admin/post.php on line 197
Line # 548 in my functions.php file is the location of the shortcode definition.
I didn’t have this issue before the update. When I turn off the Yoast plugin, it goes away and everything functions normally. This conflict appears to be limited to editing a page.
Let me know if you need further info.
The topic ‘Shortcode functionality break after 5.0.2 update’ is closed to new replies.