[wp-trac] [WordPress Trac] #7045: No name shortcode atts
WordPress Trac
noreply at wordpress.org
Thu Nov 1 06:01:28 UTC 2012
#7045: No name shortcode atts
--------------------------+-----------------------------
Reporter: Viper007Bond | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Shortcodes | Version: 2.6
Severity: normal | Resolution:
Keywords: has-patch |
--------------------------+-----------------------------
Changes (by kovshenin):
* keywords: needs-patch reporter-feedback => has-patch
Comment:
[attachment:7045.diff] covers both scenarios:
{{{
[shortcode=foo]
[shortcode="foo"]
}}}
Passes the existing unit tests, and the two tests added in
[attachment:7045.unit-tests.diff]. You'll have to check how WP.com's "fake
shortcodes" adapt to this, but since we're probably doing `ltrim` in most
cases, my guess is that it's going to be fine.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/7045#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list