[wp-trac] [WordPress Trac] #6606: Pass tag name when using
shortcodes
WordPress Trac
wp-trac at lists.automattic.com
Sun Apr 6 02:24:59 GMT 2008
#6606: Pass tag name when using shortcodes
--------------------------+-------------------------------------------------
Reporter: Viper007Bond | Owner: anonymous
Type: enhancement | Status: new
Priority: normal | Milestone: 2.6
Component: General | Version: 2.5
Severity: normal | Keywords: has-patch 2nd-opinion
--------------------------+-------------------------------------------------
As far as I can tell, there's no way to know what tag a shortcode function
is currently handling. This means one function can't handle multiple tags
without the tags using wrapper functions to pass the tag.
Attached is a patch that passes the tag.
Suggested for 2.5.1 as well.
--
Ticket URL: <http://trac.wordpress.org/ticket/6606>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list