[wp-trac] [WordPress Trac] #54807: URL Details request returns a 404 status for inaccessible pages

WordPress Trac noreply at wordpress.org
Thu Feb 3 03:16:37 UTC 2022


#54807: URL Details request returns a 404 status for inaccessible pages
--------------------------+-----------------------
 Reporter:  talldanwp     |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  5.9.1
Component:  REST API      |     Version:  5.9
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:  rest-api
--------------------------+-----------------------

Comment (by talldanwp):

 > I think @talldanwp is correct that a 200 OK is a more accurate response
 because the REST API URLs are working as intended but I would prefer the
 two endpoints provide a consistent behavior.

 That seems fair enough. It may also be difficult to update in terms of
 back compat. Should we close this?

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


More information about the wp-trac mailing list