[wp-trac] [WordPress Trac] #47792: Add backward compatibility to WP_REST_Server::check_authentication()

WordPress Trac noreply at wordpress.org
Mon Jul 29 09:42:15 UTC 2019


#47792: Add backward compatibility to WP_REST_Server::check_authentication()
--------------------------+-----------------------------
 Reporter:  brbrr         |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  trunk
 Severity:  normal        |   Keywords:  needs-patch
  Focuses:                |
--------------------------+-----------------------------
 #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

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/47792>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list