Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #57512, comment 1


Ignore:
Timestamp:
01/20/2023 02:58:59 PM (2 years ago)
Author:
shooper
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #57512, comment 1

    initial v1  
    66
    77I've patched the wp_populate_basic_auth_from_authorization_header() function to return false if both are not provided.
     8
     9I chose not to return a non-200 error for now, as that matches the current functionality.  This patch just eliminates the warning.