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

WordPress Trac noreply at wordpress.org
Sun Jan 3 06:55:09 UTC 2021


#47616: Enhancement: doing_shortcode() function similar to doing_filter()
-------------------------------------+------------------------------
 Reporter:  keraweb                  |       Owner:  (none)
     Type:  enhancement              |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Shortcodes               |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-refresh  |     Focuses:
-------------------------------------+------------------------------
Changes (by johnjamesjacoby):

 * keywords:  has-patch => has-patch needs-refresh


Comment:

 I am +1 to this idea.

 bbPress would use it for theme compatibility, specifically in
 `bbp_get_topics_pagination_base()` where the ability to know if it was
 called inside a shortcode would be very useful.

 cc @aaroncampbell who is listed as a maintainer for the Shortcodes
 component.

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


More information about the wp-trac mailing list