[wp-trac] [WordPress Trac] #27183: On a gallery update default shortcode attributes are added

WordPress Trac noreply at wordpress.org
Sun Feb 23 23:47:55 UTC 2014


#27183: On a gallery update default shortcode attributes are added
--------------------------+--------------------
 Reporter:  ocean90       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.9
Component:  Gallery       |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+--------------------
Changes (by JohnConners):

 * keywords:  needs-patch => has-patch


Comment:

 So the bug is that at the point of attempting to remove any default
 gallery shortcode attributes, 'this.defaults' is undefined, so the
 defaults remain. I couldn't figure out if there's a mechanism whereby
 those defaults should have been populated by that line of code so my patch
 just explicitly passes them in. Please change accordingly!

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


More information about the wp-trac mailing list