[wp-trac] [WordPress Trac] #21158: different result when shortcode atribute without value

WordPress Trac noreply at wordpress.org
Mon Feb 3 01:05:50 UTC 2014


#21158: different result when shortcode atribute without value
--------------------------+------------------------------
 Reporter:  thomask       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Shortcodes    |     Version:  3.4
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by mordauk):

 I can't think of any reason why it should ever be anyway but your second
 example. If the attribute has no value, the value of the array key should
 just be null, false, or an empty string.

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


More information about the wp-trac mailing list