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

WordPress Trac noreply at wordpress.org
Thu Jan 7 18:46:22 UTC 2016


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

Comment (by chrisborgman):

 > I removed my old code and added the new code... and it still doesn't
 work. I restarted the server and cleared all caches, and can even see the
 new code in the source of the edit-post page.
 >
 > When you say "This snippet is working perfectly, thank you!!!" what
 exactly do you mean? Is it defaulting to your snippet settings for every
 image import no matter what the last one was set to? Mine is not.

 "Is it defaulting to your snippet settings for every image import no
 matter what the last one was set to?" - YES

 FYI, I'm using Genesis Framework theme with Dynamik Website Builder child
 theme, this allows me to add functions directly in the WP admin so I don't
 have to alter the actual functions file.  Not sure if this has anything to
 do with your situation, other than your theme may not like the code or
 where you're putting it.  I can't suggest anything as this is going beyond
 my knowledge.  All I can see it that it does work as advertised.  Try
 contacting the theme developer...?

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


More information about the wp-trac mailing list