[wp-trac] [WordPress Trac] #33190: Quicktags img button should have a protocol agnostic default value for src attribute

WordPress Trac noreply at wordpress.org
Sun Aug 2 23:09:17 UTC 2015


#33190: Quicktags img button should have a protocol agnostic default value for src
attribute
--------------------------+---------------------------------------------
 Reporter:  peterhartree  |       Owner:
     Type:  enhancement   |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Editor        |     Version:  4.2.3
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:  ui, javascript, administration
--------------------------+---------------------------------------------

Comment (by peterhartree):

 On further reflection, '''I think the ideal behaviour here would be to set
 the default according to the return value of force_ssl_content().'''

 If force_ssl_content() is true, default to https://. If false, default to
 http://.

 Clearly this would require a slightly longer patch, but I'm happy to do
 the work if the community agrees this tweak is desirable.

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


More information about the wp-trac mailing list