Latest version broke my site
-
I use this code to update my shortcode and they output correctly.
// Make ShortCoder Work with WP4.4
function sc_replacecolon( $content ){
return str_replace( ‘]’, ‘”]’, str_replace( ‘[sc:’, ‘[sc name=”‘, $content ));
}
add_filter( ‘the_content’, ‘sc_replacecolon’, 5 );However, when ever I activate the plugin, all of the content of the article vanishes.
The topic ‘Latest version broke my site’ is closed to new replies.