[wp-trac] [WordPress Trac] #58494: Reduce frequency of https check when https is already working

WordPress Trac noreply at wordpress.org
Fri Sep 22 19:06:59 UTC 2023


#58494: Reduce frequency of https check when https is already working
--------------------------------------------+------------------------------
 Reporter:  adamsilverstein                 |       Owner:  adamsilverstein
     Type:  enhancement                     |      Status:  closed
 Priority:  normal                          |   Milestone:  6.4
Component:  Security                        |     Version:  5.7
 Severity:  normal                          |  Resolution:  fixed
 Keywords:  needs-testing has-patch commit  |     Focuses:  sustainability
--------------------------------------------+------------------------------
Changes (by adamsilverstein):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"56664" 56664]:
 {{{
 #!CommitTicketReference repository="" revision="56664"
 Security: remove the cron event that checked for https support.

 Fix an issue where a cron job ran every 12 hours to check for https
 support - even when https support was already enabled. The check is now
 run only when the user visits the Site Health page. Reducing the unneeded
 requests lowers the impact and load of hosting WordPress sites.

 The `wp_update_https_detection_errors` function is deprecated and the
 `https_detection_errors` option that was previously set by the cron job is
 no longer maintained. The `pre_wp_update_https_detection_errors` filter is
 deprecated and replaced by the `pre_wp_get_https_detection_errors` filter
 which serves the same function.

 Props audrasjb, johnbillion, Michi91.
 Fixes #58494.
 }}}

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


More information about the wp-trac mailing list