[wp-trac] [WordPress Trac] #22127: strange behaviour with shortcode with the_content filter
WordPress Trac
noreply at wordpress.org
Tue May 12 07:46:23 UTC 2015
#22127: strange behaviour with shortcode with the_content filter
--------------------------+------------------------
Reporter: thomask | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Shortcodes | Version: 3.4.2
Severity: normal | Resolution: duplicate
Keywords: | Focuses:
--------------------------+------------------------
Changes (by chriscct7):
* status: new => closed
* resolution: => duplicate
* milestone: Awaiting Review =>
Comment:
Duplicate of #17817.
The key is that shortcodes are themselves implemented by a filter added to
'the_content'.
So you're effectively calling apply_filters( 'the_content' ) while
'the_content' filter is being applied.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/22127#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list