[Resolved] Fatal Error: Call to undefined function get_shortcode_regex()
Hey guys I just got done with the upgrade…now when I click on my pages I get the following error:
Fatal error: Call to undefined function: get_shortcode_regex() in …/wp-includes/formatting.php on line 95
I looked at the code on line 95…
Line 95: $pee = preg_replace(‘/<p>\s*?(‘ . get_shortcode_regex() . ‘)\s*<\/p>/s’, ‘$1’, $pee); // don’t auto-p wrap shortcodes that stand alone
I researched it…found only one solution: Someone said they just deleted line 95…
But what part of it? All of it? Will deleting this line cause any problems…line 95 must be there for some reason or another…WHAT TO DO!?!?! (sorry had to vent, have had one prob after another after this upgrade!)
Please help! Thanks!
- The topic ‘[Resolved] Fatal Error: Call to undefined function get_shortcode_regex()’ is closed to new replies.