[wp-trac] [WordPress Trac] #32445: `is_callable()` should be checked in `do_shortcode_tag()`, not `add_shortcode()`
WordPress Trac
noreply at wordpress.org
Sun Jun 14 19:17:59 UTC 2015
#32445: `is_callable()` should be checked in `do_shortcode_tag()`, not
`add_shortcode()`
------------------------------+------------------
Reporter: wonderboymusic | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 4.3
Component: Shortcodes | Version: 2.6
Severity: normal | Resolution:
Keywords: has-patch commit | Focuses:
------------------------------+------------------
Changes (by aaroncampbell):
* keywords: has-patch => has-patch commit
Comment:
[attachment:32445.2.diff] is [attachment:32445.2.diff wonderboymusic's
32445.diff] without the moving of the `add_shortcode()` calls. I think
this fixes the actual problem without the extra code churn.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32445#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list