[wp-trac] [WordPress Trac] #55883: Reverse wrapping of `apply_shortcodes()` and `do_shortcode()`

WordPress Trac noreply at wordpress.org
Mon Sep 26 22:41:25 UTC 2022


#55883: Reverse wrapping of `apply_shortcodes()` and `do_shortcode()`
-------------------------------------------------+-------------------------
 Reporter:  SergeyBiryukov                       |       Owner:  audrasjb
     Type:  enhancement                          |      Status:  reopened
 Priority:  normal                               |   Milestone:  6.1
Component:  Shortcodes                           |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  needs-docs has-patch add-to-field-   |     Focuses:
  guide 2nd-opinion revert                       |
-------------------------------------------------+-------------------------

Comment (by davidbaumwald):

 In [changeset:"54319" 54319]:
 {{{
 #!CommitTicketReference repository="" revision="54319"
 Shortcodes: Revert recent `apply_shortcodes` and `do_shortcode` changes.

 [54248] reversed the wrapping of `do_shortcode` and `apply_shortcodes` and
 updated all direct internal calls of `do_shortcode` to `apply_shortcodes`
 after [47004].  After further consideration, the long history of
 `do_shortcodes` should be favored over any subjective semantic
 improvements.  This change reverts the remaining changes from #55883 not
 already reverted in [54278].

 Follow-up to [47004], [54248], and [54278].

 Props azaozz, jorbin.
 See #55883.
 }}}

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


More information about the wp-trac mailing list