[wp-trac] [WordPress Trac] #41629: Widgets: Default to "custom URL" in the image widget

WordPress Trac noreply at wordpress.org
Thu Sep 14 18:08:00 UTC 2017


#41629: Widgets: Default to "custom URL" in the image widget
-------------------------------+------------------
 Reporter:  melchoyce          |       Owner:
     Type:  enhancement        |      Status:  new
 Priority:  normal             |   Milestone:  4.9
Component:  Media              |     Version:
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:  ui
-------------------------------+------------------

Comment (by philmcdonnell):

 Replying to [comment:9 joemcgill]:
 > The behavior should work just like it currently does if the form is
 submitted while custom URL is selected and the URL field is left blank.
 The image is inserted with no link at all.

 Thanks! That is what I thought, just making sure. So it is trivial to make
 this work, however there are two links withing the image widget, one is
 replace image which uses the same code as the original insert image so
 that would work as expected. There is another link (button) that says edit
 image, what would the expected behavior be there? If there is no link
 currently on the inserted image it would just default to 'none' or would
 that want to default to custom url as well? I would think editing an
 existing should be set to none if that is what was there originally.
 Thoughts?

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


More information about the wp-trac mailing list