[wp-trac] [WordPress Trac] #36263: When building a shortcode with `wp.shortcode.string()` the `attrs` property is finnicky.

WordPress Trac noreply at wordpress.org
Tue Mar 22 15:44:02 UTC 2016


#36263: When building a shortcode with `wp.shortcode.string()` the `attrs` property
is finnicky.
-------------------------------------------------+-------------------------
 Reporter:  georgestephanis                      |       Owner:
     Type:  defect (bug)                         |      Status:  new
 Priority:  low                                  |   Milestone:  Awaiting
Component:  Shortcodes                           |  Review
 Severity:  minor                                |     Version:  trunk
 Keywords:  dev-feedback 2nd-opinion good-       |  Resolution:
  first-bug                                      |     Focuses:  javascript
-------------------------------------------------+-------------------------

Comment (by zsusag):

 @georgestephanis Ahh, I see. Thank you for the examples and explanation.

 With the greater insight that does seem to be a better and more "friendly"
 way of handling things. I haven't found time to formally set up a test for
 your code but it does look like that would be a more intuitive way of
 going about things.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/36263#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list