[wp-trac] [WordPress Trac] #52107: Error when associating a category to a post : "Sorry, you are not allowed to assign the provided terms."

WordPress Trac noreply at wordpress.org
Thu Dec 17 13:55:31 UTC 2020


#52107: Error when associating a category to a post : "Sorry, you are not allowed
to assign the provided terms."
----------------------------+-----------------------------
 Reporter:  webtechIMT      |      Owner:  (none)
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  General         |    Version:  5.6
 Severity:  critical        |   Keywords:
  Focuses:  administration  |
----------------------------+-----------------------------
 Hi,

 We use WordPress Multisite 5.6 (387 sites)

 Steps to reproduce in a site :

     Create a new category "My category" THEN
     Create a new tag "My tag" THEN
     Create a new category with the same name of an existing tag, let's say
 "My tag" THEN
     Create a new tag with the same name of an existing category, let's say
 "My category"

 Now it will break if you do the following:

     Edit the category "My tag" with the name of an existing tag, you'll
 get "You need a higher level of permission. Sorry, you are not allowed to
 edit this item."
     Edit the tag "My category" with the name of an existing category,
 you'll get "You need a higher level of permission. Sorry, you are not
 allowed to edit this item."
     Create / edit a content and assign the category "My tag" (with the
 name of an existing tag) or assign the tag "My category" (with the name of
 an existing category) and you'll get a 403 error with the response

 The same as described in [https://core.trac.wordpress.org/ticket/46297]

 I used the plugin [https://github.com/jjeaton/wp-find-shared-terms] on our
 site where we have this error message and the result is :
     Splitting all shared terms
     Process complete!
     Processed: 42
     Split: 0
     Skipped: 42
     Errors: 0

 But the problems remains...

 Do you have a solution ?

 Best regards,
 Olivier.

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


More information about the wp-trac mailing list