[wp-trac] [WordPress Trac] #36263: When building a shortcode with `wp.shortcode.string()` the `attrs` property is finnicky.
WordPress Trac
noreply at wordpress.org
Sat Dec 21 18:32:57 UTC 2019
#36263: When building a shortcode with `wp.shortcode.string()` the `attrs` property
is finnicky.
-------------------------------------------------+-------------------------
Reporter: georgestephanis | Owner: yale01
Type: defect (bug) | Status: closed
Priority: low | Milestone: 5.4
Component: Shortcodes | Version: 3.5
Severity: minor | Resolution: fixed
Keywords: dev-feedback 2nd-opinion good- | Focuses: javascript
first-bug has-patch has-unit-tests |
-------------------------------------------------+-------------------------
Changes (by SergeyBiryukov):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"47003" 47003]:
{{{
#!CommitTicketReference repository="" revision="47003"
Shortcodes: Make sure `wp.shortcode.string()` accepts the `attrs` array
keys in any order.
Props yale01, georgestephanis, adamsilverstein, zsusag, mircoraffinetti,
SergeyBiryukov.
Fixes #36263.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36263#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list