[wp-trac] [WordPress Trac] #47616: Enhancement: doing_shortcode() function similar to doing_filter()

WordPress Trac noreply at wordpress.org
Wed Apr 14 08:33:45 UTC 2021


#47616: Enhancement: doing_shortcode() function similar to doing_filter()
-------------------------------------------------+-------------------------
 Reporter:  keraweb                              |       Owner:  audrasjb
     Type:  enhancement                          |      Status:  accepted
 Priority:  normal                               |   Milestone:  5.8
Component:  Shortcodes                           |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-docs needs-dev-note  |     Focuses:
  2nd-opinion needs-unit-tests                   |
-------------------------------------------------+-------------------------

Comment (by keraweb):

 @jorbin @johnjamesjacoby
 I fully agree with your idea's and concerns, especially the new global.
 However, if you would like to change this we should change it for the
 actions as well since they work exactly the same. That is in fact the
 reason why I've created the patch this way; consistency.
 Preferably I'd create a new class for functionality like this and let the
 actions/filters and shortcodes extend it.

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


More information about the wp-trac mailing list