[wp-trac] [WordPress Trac] #31983: Php warning
WordPress Trac
noreply at wordpress.org
Thu Apr 16 01:45:26 UTC 2015
#31983: Php warning
-------------------------------+------------------------------
Reporter: olivier.pons | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Shortcodes | Version: 4.1.1
Severity: normal | Resolution:
Keywords: reporter-feedback | Focuses:
-------------------------------+------------------------------
Comment (by SergeyBiryukov):
Replying to [comment:2 olivier.pons]:
> (i.e.) the shortcode that I've just removed, I get this warning.
I can't reproduce that. `do_shortcode_tag()` is only called for your
shortcode if it's still a part of `get_shortcode_regex()` when
[source:tags/4.1.1/src/wp-includes/shortcodes.php#L172 do_shortcode()] is
called. Otherwise, the shortcode is just displayed as is.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31983#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list