[wp-trac] [WordPress Trac] #6381: Using remove_all_shortcodes()
shows the shortcode tags on the site
WordPress Trac
wp-trac at lists.automattic.com
Tue Mar 25 14:37:02 GMT 2008
#6381: Using remove_all_shortcodes() shows the shortcode tags on the site
---------------------+------------------------------------------------------
Reporter: azaozz | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.6
Component: General | Version: 2.5
Severity: normal | Keywords:
---------------------+------------------------------------------------------
If the function that replaces a shortcode is disabled or removed, the
shortcodes that are already in the content would show on the site.
Needs something like:
{{{
$str = preg_replace( '|\[(.+?)\](.+?\[/\\1\])?|s', '', $str );
}}}
--
Ticket URL: <http://trac.wordpress.org/ticket/6381>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list