[wp-trac] [WordPress Trac] #32445: `is_callable()` should be checked in `do_shortcode_tag()`, not `add_shortcode()`
WordPress Trac
noreply at wordpress.org
Tue May 19 21:10:58 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 | Keywords: needs-patch
Focuses: |
----------------------------+-------------------------
Actions and filters can be registered before their callbacks actually
exist. The same should be true for shortcodes. This is a followup of
#30947 - would be good to be able to add all shortcodes in `default-
filters.php`
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32445>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list