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

WordPress Trac noreply at wordpress.org
Wed Sep 23 17:52:48 UTC 2015


#10457: Parse shortcodes in text widgets by default
-------------------------------------+-----------------------------
 Reporter:  ionfish                  |       Owner:  westi
     Type:  enhancement              |      Status:  reopened
 Priority:  normal                   |   Milestone:  Future Release
Component:  Widgets                  |     Version:  2.8
 Severity:  normal                   |  Resolution:
 Keywords:  westi-likes needs-patch  |     Focuses:
-------------------------------------+-----------------------------

Comment (by webdevmattcrom):

 Thanks for your reply @nacin

 I thought I had read everything (it's a lot of info here), and tried to
 reply carefully, but I see this from you in the IRC link now:

 "Since no core shortcode is usable in widgets, I'm tempted to leave it to
 a plugin until we can solve the edge cases. It's useful, I agree, but it's
 a textbook situation for us leaving things to plugins that only benefit
 other plugins."

 Also, considering all the effort going into shortcodes
 (https://make.wordpress.org/core/2015/09/04/shortcode-roadmap-extended-
 discussion/) maybe it's best to revisit this after all that dust settles.

 I will say that while Core shortcodes aren't supported in widgets, I don't
 believe that justifies not exploring this feature generally. Shortcodes
 are intended to be extensible, and therefore provide plugin authors the
 ability to create their own shortcodes. By not supporting shortcodes in
 Text Widgets by default, plugin authors have to create their own widgets
 (which is a good practice anyway) but that can lead to Widget overload for
 users who have a lot of plugins on their site.

 Overall, having a clean and secure way of enabling shortcodes in widgets
 feels very developer-friendly and increases the reliability and security
 of WordPress rather than leaving that to third-party solutions.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/10457#comment:51>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list