[wp-trac] [WordPress Trac] #52916: can_perform_loopback() should not rely on wp-cron.php check

WordPress Trac noreply at wordpress.org
Tue Apr 6 18:13:33 UTC 2021


#52916: can_perform_loopback() should not rely on wp-cron.php check
-------------------------+---------------------------------
 Reporter:  dvershinin   |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Site Health  |     Version:  5.7
 Severity:  minor        |  Resolution:
 Keywords:               |     Focuses:  ui, administration
-------------------------+---------------------------------

Comment (by TimothyBlynJacobs):

 Replying to [comment:3 peterwilsoncc]:
 > > At the very least, not use /wp-cron.php for any checks when
 `DISABLE_WP_CRON` constant is true.
 >
 > I think this is worth discussing. As you identify, it's a minor issue
 due to the unusual server configuration required so it may be able to wait
 until a major release rather than been in a WP maintenance release.

 Agreed. I think that'd be the right fix. We are already doing loopback
 requests to the REST API.

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


More information about the wp-trac mailing list