Opened 15 years ago
Closed 15 years ago
#6606 closed enhancement (fixed)
Pass tag name when using shortcodes
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 2.7 | Priority: | normal |
Severity: | normal | Version: | 2.5 |
Component: | General | Keywords: | has-patch 2nd-opinion |
Focuses: | Cc: |
Description
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.
Attachments (3)
Change History (7)
Note: See
TracTickets for help on using
tickets.
I meant "This means one function can't handle multiple tags without the tags going through wrapper functions first to pass the tag name to the main function."