[wp-trac] [WordPress Trac] #23298: Initial gallery 'Link to' setting not applied

WordPress Trac noreply at wordpress.org
Mon Jan 28 12:23:09 UTC 2013


#23298: Initial gallery 'Link to' setting not applied
--------------------------+--------------------
 Reporter:  pokes         |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.5.2
Component:  Gallery       |     Version:  3.5
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |
--------------------------+--------------------
Changes (by SergeyBiryukov):

 * keywords:   => needs-patch


Comment:

 Replying to [comment:6 nacin]:
 > Is this a problem in 3.5.0? I imagine not, then?

 The symptoms in 3.5.0 and 3.5.1 are different.

 In 3.5.0, the (minor) issue is just that the default value (`link="post"`)
 is not always removed from the shortcode as it should per [22715], since
 it's not explicitly declared in `wp.media.gallery.defaults`.

 In 3.5.1, the (bigger) issue is that the default value (`link="file"`) is
 not respected, unless you toggle the dropdown from "Media File" to
 "Attachment Page" and back. This was introduced in [23262].

 Now I see that linking to media files as the default was intentional in
 [23262]. [attachment:23298.patch] reverts that, so I guess a new patch is
 needed.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/23298#comment:9>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list