[wp-trac] [WordPress Trac] #46297: Unable to edit specific terms : rest_cannot_assign_term OR 403

WordPress Trac noreply at wordpress.org
Thu Mar 3 15:11:44 UTC 2022


#46297: Unable to edit specific terms : rest_cannot_assign_term OR 403
--------------------------+----------------------------------
 Reporter:  enps5         |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Taxonomy      |     Version:  4.1
 Severity:  major         |  Resolution:
 Keywords:                |     Focuses:  multisite, rest-api
--------------------------+----------------------------------
Changes (by webtechIMT):

 * severity:  normal => major


Comment:

 Hello,

 I'm trying to edit a category and at line 39 of wp-admin/term.php : the
 function current_user_can( 'edit_term', $tag->term_id ) returns false.

 I'm yet logged with administrator capabilities (as I can see in the
 database in wp_usermeta, key wp_capabilities and value :
 a:3:{s:13:"administrator";b:1;s:19:"manage_translations";b:1;s:9:"translate";b:1;})...

 Could you help me please ?

 PS : WP version is the latest : 5.9.1

 Thank you,
 Olivier.

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


More information about the wp-trac mailing list