[wp-trac] [WordPress Trac] #51638: Add Site Health test for verifying the Authorization header works as expected

WordPress Trac noreply at wordpress.org
Tue Oct 27 03:46:47 UTC 2020


#51638: Add Site Health test for verifying the Authorization header works as
expected
-------------------------------+-----------------------
 Reporter:  TimothyBlynJacobs  |       Owner:  (none)
     Type:  task (blessed)     |      Status:  new
 Priority:  normal             |   Milestone:  5.6
Component:  Site Health        |     Version:  trunk
 Severity:  normal             |  Resolution:
 Keywords:  has-patch          |     Focuses:  rest-api
-------------------------------+-----------------------

Comment (by TimothyBlynJacobs):

 Two changes of note.

 1. I introduced support for an async test to specifying a list of
 `headers` that get included in the request. This is so we can fill the
 Authorization header with a known value.
 2. I added support for a `skip_cron` entry that can be used to declare
 that an async test shouldn't be run as cron. This test really doesn't make
 sense in a loopback environment.

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


More information about the wp-trac mailing list