[wp-trac] [WordPress Trac] #32790: Filter for do_shortcode_tag()

WordPress Trac noreply at wordpress.org
Tue Oct 4 00:38:48 UTC 2016


#32790: Filter for do_shortcode_tag()
--------------------------------------+-----------------------
 Reporter:  danielbachhuber           |       Owner:  flixos90
     Type:  enhancement               |      Status:  closed
 Priority:  normal                    |   Milestone:  4.7
Component:  Shortcodes                |     Version:
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+-----------------------
Changes (by pento):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"38713"]:
 {{{
 #!CommitTicketReference repository="" revision="38713"
 Shortcodes: Add a `do_shortcode_tag` filter.

 The addition of the `pre_do_shortcode_tag` in [38506] allows plugins to
 short-circuit the shortcode execution process, which is particularly
 helpful for caching expensive shortcodes.

 The `do_shortcode_tag` is the corresponding part of that system - when a
 shortcode hasn't been executed previously, there needs to be a clean
 method of populating the cache.

 Props flixos90.
 Fixes #32790.
 }}}

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


More information about the wp-trac mailing list