Make WordPress Core

Opened 8 years ago

Closed 7 years ago

Last modified 6 years ago

#6381 closed defect (bug) (wontfix)

Using remove_all_shortcodes() shows the shortcode tags on the site

Reported by: azaozz Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.5
Component: General Keywords:
Focuses: Cc:


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 );

Change History (1)

#1 @Viper007Bond
7 years ago

  • Milestone 2.9 deleted
  • Resolution set to wontfix
  • Status changed from new to closed

Wasn't it decided that this was plugin material? I mean, what if I just happened to type text that was in the form of a shortcode?

Note: See TracTickets for help on using tickets.