[wp-trac] [WordPress Trac] #30449: shortcode_parse_atts returns incorrect info

WordPress Trac noreply at wordpress.org
Fri Nov 21 18:51:47 UTC 2014


#30449: shortcode_parse_atts returns incorrect info
--------------------------+-----------------------------
 Reporter:  nampara17     |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Shortcodes    |    Version:  4.0.1
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 The function shortcode_parse_atts returns an array but parses any params
 incorrectly

 If you pass it:
 title=”Tab 1 Title”

 It returns:
 (
     [title] => ”Tab
     [0] => 1
     [1] => Title”
 )

 and not:
 (
     [title] => ”Tab 1 Title"
 )

 Never did this before and seems to be breaking wherever there are params
 with spaces (delimits on the spaces)

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


More information about the wp-trac mailing list