[wp-trac] [WordPress Trac] #55883: Reverse wrapping of `apply_shortcodes()` and `do_shortcode()`
WordPress Trac
noreply at wordpress.org
Tue Sep 20 10:30:12 UTC 2022
#55883: Reverse wrapping of `apply_shortcodes()` and `do_shortcode()`
-------------------------------------------------+-------------------------
Reporter: SergeyBiryukov | Owner: audrasjb
Type: enhancement | Status: closed
Priority: normal | Milestone: 6.1
Component: Shortcodes | Version:
Severity: normal | Resolution: fixed
Keywords: needs-docs has-patch commit needs- | Focuses:
dev-note add-to-field-guide |
-------------------------------------------------+-------------------------
Changes (by audrasjb):
* status: accepted => closed
* resolution: => fixed
Comment:
In [changeset:"54248" 54248]:
{{{
#!CommitTicketReference repository="" revision="54248"
Shortcodes: Reverse wrapping of `apply_shortcodes()` and `do_shortcode()`.
This changeset reverses the wrapping of `apply_shortcodes()` and
`do_shortcode()` such that `apply_shortcodes()` is now the recommended
function. In addition:
- Calls to `do_shortcode()` have been changed to `apply_shortcodes()`.
- Some default filter callbacks have been changed from `'do_shortcode'` to
`'apply_shortcodes'`.
- Applicable documentation has been updated to refer to
`apply_shortcodes()` instead.
Follow-up to [47004].
Props SergeyBiryukov, rafiahmedd, namithjawahar, peterwilsoncc, costdev.
Fixes #55883.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55883#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list