Make WordPress Core

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#47792 closed defect (bug) (duplicate)

Add backward compatibility to WP_REST_Server::check_authentication()

Reported by: brbrr Owned by:
Priority: normal Milestone:
Component: REST API Version: 5.3
Severity: normal Keywords:
Cc: Focuses:

Description

#46907 changed the public method signature for WP_REST_Server::check_authentication() which breaks backward compatibility.

We should switch to an optional parameter in check_authentication to make sure the method works in older versions

Change History (1)

#1 @ocean90
7 years ago

  • Component GeneralREST API
  • Keywords needs-patch removed
  • Milestone Awaiting Review
  • Resolutionduplicate
  • Status newclosed

Hello @brbrr, welcome to WordPress Trac!

Thanks for your report. I'm closing it as a duplicate of #46907 to keep the discussion at one place.

Note: See TracTickets for help on using tickets.