[wp-trac] [WordPress Trac] #47577: Detect HTTPS support and provide guidance

WordPress Trac noreply at wordpress.org
Mon Dec 21 18:11:15 UTC 2020


#47577: Detect HTTPS support and provide guidance
--------------------------------------+-----------------------------
 Reporter:  flixos90                  |       Owner:  flixos90
     Type:  enhancement               |      Status:  assigned
 Priority:  normal                    |   Milestone:  5.7
Component:  Security                  |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:  administration
--------------------------------------+-----------------------------

Comment (by flixos90):

 @Clorith
 > The existing scenario supports an environment variable of
 `WP_DIRECT_UPDATE_PHP_URL`, having `WP_HOST_SUPPORT_URL` or similar (name
 not set in stone, just for discussion) might then be useful, with a helper
 function?

 Thanks for bringing this up, I like it though I think a HTTPS update-
 specific constant would be more suitable here, and closer to the use-case,
 similar to how we have one for the PHP update. A general support URL could
 also be handy in many cases, but I think that's less specific to this
 ticket and would be better as its own. I suggest we introduce a
 `WP_DIRECT_UPDATE_HTTPS_URL` constant for e.g. hosts to modify.

 > Other than that, I think the Site Health implementation seems simple
 enough, I'm curious if this might be a great first step into introducing
 direct actions? This would mean having the action link, which currently
 takes you to the options page, perform the options update for you, it
 could then verify the page still loads as expected wit ha loopback

 I like that idea as well. However, WordPress itself IMO should first do a
 better job of facilitating this update, as only updating the URLs is not
 feasible. #51437 is the ticket to do that, which is gonna be the next
 focus after this here is committed.

 I suggest we apply both of your suggestions for #51437 which is about
 improving the update experience, where this here is more about improving
 detection.

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


More information about the wp-trac mailing list