[wp-trac] [WordPress Trac] #52547: async loopback site health test fails on alternative setups
WordPress Trac
noreply at wordpress.org
Mon Feb 22 00:49:31 UTC 2021
#52547: async loopback site health test fails on alternative setups
------------------------------+-----------------------------
Reporter: Levdbas | Owner: peterwilsoncc
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.7
Component: Site Health | Version: trunk
Severity: normal | Resolution: fixed
Keywords: has-patch commit | Focuses: administration
------------------------------+-----------------------------
Changes (by peterwilsoncc):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"50399" 50399]:
{{{
#!CommitTicketReference repository="" revision="50399"
Site Health: Update loopback test to `POST` to wp-cron.
Replace loopback health check URL with a `POST` request to `wp-cron.php`
in the WordPress install directory. This more closely represents how
WordPress uses loopback requests.
A `POST` request is used to cause `wp-cron.php` to exit prior to running
any cron jobs. This allows the test to indicate success quicker and
accounts for sites that set the `DISABLE_WP_CRON` constant to avoid
running cron jobs on loopback requests.
Props clorith, peterwilsoncc, TimothyBlynJacobs.
Fixes #52547.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52547#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list