[wp-trac] [WordPress Trac] #59620: Remove a query to /wp-json/wp/v2/users from the editor where there isn't a real need

WordPress Trac noreply at wordpress.org
Fri Oct 13 19:06:23 UTC 2023


#59620: Remove a query to /wp-json/wp/v2/users from the editor where there isn't a
real need
-------------------------+------------------------------
 Reporter:  oglekler     |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Editor       |     Version:
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:  rest-api
-------------------------+------------------------------

Comment (by swissspidy):

 IIRC it‘s used for the author dropdown, to speed up the initial queries.

 Regardless of this suggestion here, I‘d recommend just disabling public
 access to those routes if you‘re concerned about bots, rather than
 unsetting the routes. Changing permission is the right way to do this.

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


More information about the wp-trac mailing list