Opened 6 years ago
Closed 5 years ago
#46320 closed enhancement (fixed)
Replace http with https in the link placeholder widget image
Reported by: | Chaton666 | Owned by: | audrasjb |
---|---|---|---|
Milestone: | 5.3 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Widgets | Keywords: | has-patch has-screenshots commit |
Focuses: | administration | Cc: |
Description
Replace http with https in the link placeholder widget image when choosing "link to" : "custom URL" setting.
Attachments (7)
Change History (18)
#3
@
6 years ago
- Keywords close added
- Version 5.1 deleted
On the surface this might look like a good idea but I don't believe this encourages users to use HTTPS. A site either uses HTTPS or it doesn't.
Changing the default scheme will lead to broken links when the site is not available over HTTPS but the user doesn't notice the default https
scheme.
#4
@
6 years ago
Hi @johnbillion
In 46320.diff
there is two changes:
- the change on
src/js/media/views/settings/attachment-display.js
is not a good idea. But it's not a good idea to use thevalue
attribute too. We should only use theplaceholder
attribute. Also, this change is not strictly related to the ticket. It should be a specific ticket assigned to #core-media team. I think we need a new patch without this change. - the change on
src/wp-includes/widgets/class-wp-widget-media-image.php
looks nice on my side. This is only a placeholder. We should encourage the use of https instead of http.
#7
@
6 years ago
- Keywords 2nd-opinion removed
- Milestone changed from Awaiting Review to 5.2
- Status changed from reviewing to accepted
#10
@
5 years ago
- Keywords needs-refresh added; commit removed
The patch doesn't applies cleanly. Adding needs-refresh
keyword.
Note: See
TracTickets for help on using
tickets.
Hi @Chaton666 and welcome to WordPress Trac
Thanks for the patch and for the screenshots.
The existing placeholder can make think that the user must use http. We should encourage the use of https.
Also, the block editor uses https for its placeholders. Let's add some consistency.
The patch looks good at a glance, but we should consider to not use a
value
attribute but aplaceholder
. ( Related: #46312 see @afercia 's comment)Related: #46312