[wp-trac] [WordPress Trac] #37422: do_shortcode() weakens semantics

WordPress Trac noreply at wordpress.org
Thu Jul 21 00:42:41 UTC 2016


#37422: do_shortcode() weakens semantics
----------------------------------------+-----------------------------
 Reporter:  thefarlilacfield            |       Owner:
     Type:  enhancement                 |      Status:  new
 Priority:  normal                      |   Milestone:  Future Release
Component:  Shortcodes                  |     Version:
 Severity:  normal                      |  Resolution:
 Keywords:  needs-patch good-first-bug  |     Focuses:  docs, template
----------------------------------------+-----------------------------
Changes (by pento):

 * keywords:   => needs-patch good-first-bug
 * version:  trunk =>
 * milestone:  Awaiting Review => Future Release


Comment:

 Thank you for this suggestion, @thefarlilacfield!

 I tend to agree with how you've defined `do_` vs `apply_`. I'd probably
 use `apply_shortcodes()` (plural), though, the same as `apply_filters()`,
 because multiple shortcodes will be applied.

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


More information about the wp-trac mailing list