[wp-trac] [WordPress Trac] #45339: Media files randomly using http instead of https

WordPress Trac noreply at wordpress.org
Sun Nov 18 09:14:44 UTC 2018


#45339: Media files randomly using http instead of https
--------------------------+------------------------------
 Reporter:  hopetommola   |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Media         |     Version:  4.9.8
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:  multisite
--------------------------+------------------------------

Comment (by gagan0123):

 Without having access to code, I'm simply guessing, if the URL scheme used
 to be without SSL earlier, then changing the structure later does not
 change the URLs of all media files in the existing posts or pages and need
 to be changed manually, for that we can use WP CLI search-replace
 functionality. One more suspect is issue #25449, some plugins make use of
 function wp_upload_dir which only returns HTTP URLs.

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


More information about the wp-trac mailing list