[wp-trac] [WordPress Trac] #52547: async loopback site health test fails on alternative setups

WordPress Trac noreply at wordpress.org
Thu Feb 18 00:24:31 UTC 2021


#52547: async loopback site health test fails on alternative setups
------------------------------+-----------------------------
 Reporter:  Levdbas           |       Owner:  peterwilsoncc
     Type:  defect (bug)      |      Status:  reopened
 Priority:  normal            |   Milestone:  5.7
Component:  Site Health       |     Version:  trunk
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |     Focuses:  administration
------------------------------+-----------------------------
Changes (by TimothyBlynJacobs):

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


Comment:

 Reopening
 [https://wordpress.slack.com/archives/CKSU841L7/p1613606106014500 per-
 discussion] in #core-site-health. The intent of using `site_url` was to
 more closely mimic how a cron request works. So we need to find a way to
 keep this close to testing loopback for cron, but not error out on
 subdirectory installs.

 Per discussion with @peterwilsoncc, ( see above ), it looks like the best
 way to do this would be to make a `POST` request to `site_url( 'wp-
 cron.php' )`. Making this a `POST` request allows us to quickly exit out
 of Cron without triggering any cron jobs which might error out since cron
 would have just been executed when Site Health itself is loaded.

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


More information about the wp-trac mailing list