[wp-trac] [WordPress Trac] #35101: image_default_link_type option not being respected

WordPress Trac noreply at wordpress.org
Sun Jan 24 22:46:11 UTC 2016


#35101: image_default_link_type option not being respected
-------------------------------------------+-------------------------
 Reporter:  ben1390                        |       Owner:  azaozz
     Type:  defect (bug)                   |      Status:  closed
 Priority:  normal                         |   Milestone:
Component:  Media                          |     Version:  4.4
 Severity:  normal                         |  Resolution:  worksforme
 Keywords:  has-patch needs-testing close  |     Focuses:
-------------------------------------------+-------------------------

Comment (by wetapplemedia):

 My problem with the way this works now in WP by default (which I can no
 longer override) is that it makes my site more difficult to add images to
 posts. We always do a right-hand image first, then alternate left, right,
 left, etc, down the content body.

 When the default settings change to match whatever was last input, it
 means that for us the default setting is ''NEVER'' in the correct
 position. We have to change it manually every time we place an image.

 My code that worked for 3 years in the functions.php file no longer helps,
 and the snippet of code introduced to me in #comment:20 doesn't work at
 all in my theme for some unknown reason.

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


More information about the wp-trac mailing list