Opened 19 years ago
Closed 18 years ago
#6606 closed enhancement (fixed)
Pass tag name when using shortcodes
| Reported by: | Viper007Bond | Owned by: | tellyworth |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.7 |
| Component: | General | Version: | 2.5 |
| Severity: | normal | Keywords: | has-patch 2nd-opinion |
| Cc: | Focuses: |
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."