Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #55883, comment 32


Ignore:
Timestamp:
09/30/2022 07:13:28 PM (20 months ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #55883, comment 32

    initial v1  
    33> Due to there not being a feasible path to fully switching to a new function name, the rich history and widespread use of `do_shortcode()`, the low use of `apply_shortcodes()`, I would therefore actually suggest to deprecate `apply_shortcodes()` again. There's no need to keep a rarely used alias that Core itself will not be able to use and that plugin developers have not started to use in 6 or 7 WP releases.
    44
    5 Deprecating `apply_shortcodes()` sounds like the next logical step. But even if it is deprecated it cannot ever be removed. So perhaps the docs can be updated a bit and it can remain as an alias. Extenders would still have the choice to use it. However the chances to confuse new contributors will be super low.
     5Deprecating `apply_shortcodes()` sounds like the next logical step. But even if it is deprecated it cannot ever be removed. So perhaps the docs can be updated a bit and it can remain as an alias. Extenders would still have the choice to use it (that's the case even if it is deprecated). However the chances to confuse new extenders and contributors will be super low.
    66