[wp-trac] [WordPress Trac] #25435: Introduce alternative to do_shortcode( '[shortcode]' )

WordPress Trac noreply at wordpress.org
Thu Oct 15 14:34:13 UTC 2015


#25435: Introduce alternative to do_shortcode( '[shortcode]' )
-----------------------------+-----------------------
 Reporter:  jdgrimes         |       Owner:  rmccue
     Type:  feature request  |      Status:  assigned
 Priority:  normal           |   Milestone:  4.4
Component:  Shortcodes       |     Version:
 Severity:  normal           |  Resolution:
 Keywords:  has-patch        |     Focuses:
-----------------------------+-----------------------
Changes (by jdgrimes):

 * keywords:  has-patch commit => has-patch


Comment:

 Replying to [comment:14 rmccue]:
 > Testing shows it comes out barely faster than `do_shortcode`...

 Running 1000 iterations of each, I found `do_single_shortcode()` ~10%
 faster, and that it consumed about 52 kb less memory. Perhaps not as big a
 difference as we might have thought.

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


More information about the wp-trac mailing list