[wp-trac] [WordPress Trac] #32172: Positional shortcodes cannot be single quoted

WordPress Trac noreply at wordpress.org
Tue Apr 28 20:10:11 UTC 2015


#32172: Positional shortcodes cannot be single quoted
--------------------------+-----------------------------
 Reporter:  WayneAllen    |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Shortcodes    |    Version:  4.2.1
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 The following shortcode results in a single element in the $atts array:
 [test "some long text"]
 array(0 => "some long text")

 The following shortcode results in 3 elements in the $attrs array: [test
 'some long text']
 array(0 => "'some", 1 => "long", 2 => "text'")

--
Ticket URL: <https://core.trac.wordpress.org/ticket/32172>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list