[wp-trac] [WordPress Trac] #42999: A Super Admin can have no caps on a /wp/v2/users/me?context=edit REST API request

WordPress Trac noreply at wordpress.org
Wed Jan 10 21:15:32 UTC 2018


#42999: A Super Admin can have no caps on a /wp/v2/users/me?context=edit REST API
request
--------------------------------------+------------------------------
 Reporter:  imath                     |       Owner:
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  Awaiting Review
Component:  REST API                  |     Version:  trunk
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:  multisite
--------------------------------------+------------------------------

Comment (by imath):

 Hi @jeremyfelt

 Oops sorry i missed this information. I've just checked and i confirm it's
 working.

 I've added the 42999.2.diff patch in order to use the `manage_network`
 capability check.

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


More information about the wp-trac mailing list