[wp-trac] [WordPress Trac] #10457: Parse shortcodes in text widgets by default

WordPress Trac wp-trac at lists.automattic.com
Mon Feb 15 20:56:38 UTC 2010


#10457: Parse shortcodes in text widgets by default
-------------------------+--------------------------------------------------
 Reporter:  ionfish      |       Owner:  azaozz                      
     Type:  enhancement  |      Status:  new                         
 Priority:  normal       |   Milestone:  3.0                         
Component:  Widgets      |     Version:  2.8                         
 Severity:  normal       |    Keywords:  has-patch shortcodes widgets
-------------------------+--------------------------------------------------

Comment(by jamescollins):

 We added shortcode parsing in text widgets to our WPMU installs over 6
 months ago, and it hasn't caused us any problems.

 The whole idea of shortcodes is to provide a way to add fancy features (eg
 image galleries, shopping cart buttons, etc) without needing to give blog
 administrators the ability to insert arbitrary HTML code.

 If a shortcode is already available in a page/post, I don't think there's
 any reason why the administrator shouldn't also be able to include the
 same shortcode in a sidebar (text) widget.

 For plugins, it avoids the need to create a special sidebar widget just to
 replicate the functionality of a widget, which means a much less cluttered
 widgets screen.

 I have seen many existing plugins that add this shortcode parsing ability
 to text widgets, so it would be good to make this behavior standard in
 WordPress to avoid any confusion.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/10457#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list