[wp-trac] [WordPress Trac] #55883: Reverse wrapping of `apply_shortcodes()` and `do_shortcode()`
WordPress Trac
noreply at wordpress.org
Fri Sep 30 19:01:36 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: has-patch 2nd-opinion revert | Focuses:
------------------------------------------+-----------------------
Comment (by azaozz):
Replying to [comment:29 audrasjb]:
Sorry it took so long to review this. At first I thought having more
aliases is a good idea, a chance to improve some function names without
breaking back-compat. But thinking more about it the price to pay for that
is usually pretty high considering all the broken references to the old
names. Still think is would be good to add aliases for some of the old
functions where (over the years) the code and usage have moved beyond the
initial intent. If nothing else having an alias would make the "true use"
easier to discover. Not sure about replacing the names that are used in
core. Seems that may get confusing.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55883#comment:31>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list