[wp-trac] [WordPress Trac] #18558: Handling of dormant shortcodes is inelegant

WordPress Trac noreply at wordpress.org
Thu Jul 18 14:48:44 UTC 2013


#18558: Handling of dormant shortcodes is inelegant
-------------------------+------------------------------
 Reporter:  markjaquith  |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Shortcodes   |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |
-------------------------+------------------------------
Changes (by jdgrimes):

 * cc: jdg@… (added)


Comment:

 Replying to [comment:13 trevogre]:
 > One thing that might be interesting is to global the current running
 shortcode so that you know which shortcode name is running.
 $current_shortcode_rendering.

 +1. I would like to see that improvement. We have `current_filter()`, so
 why not `current_shortcode()`?

--
Ticket URL: <http://core.trac.wordpress.org/ticket/18558#comment:14>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list