[wp-trac] [WordPress Trac] #8846: Shortcodes should be stripped from excerpts
WordPress Trac
wp-trac at lists.automattic.com
Wed Jan 20 18:14:12 UTC 2010
#8846: Shortcodes should be stripped from excerpts
-----------------------------+----------------------------------------------
Reporter: rmccue | Type: enhancement
Status: closed | Priority: normal
Milestone: Future Release | Component: Shortcodes
Version: 2.7 | Severity: minor
Resolution: worksforme | Keywords:
-----------------------------+----------------------------------------------
Changes (by coffee2code):
* keywords: needs-patch =>
* status: new => closed
* resolution: => worksforme
Comment:
I believe this got fixed somewhere along the way.
Possibly a dup of #7100, fixed in r8054?
Valid shortcodes are currently fully stripped from automatically generated
excerpts. This is the case for singular shortcodes (i.e. `[tester]` or
`[tester/]`) and opening/closing shortcodes (i.e. `[tester]This may
contain shortcode-related text that is gibberish if the shortcode
replacement does not occur[/tester]`). In all these cases, the shortcode
itself (including closing shortcode), attributes, and wrapped text, are
stripped.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/8846#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list