Make WordPress Core

Opened 13 years ago

Last modified 6 years ago

#19288 reviewing defect (bug)

Erroneous custom taxonomy screen menu behaviour

Reported by: johnbillion's profile johnbillion Owned by: johnbillion's profile johnbillion
Milestone: Future Release Priority: normal
Severity: minor Version: 3.0
Component: Taxonomy Keywords: has-patch
Focuses: Cc:


I don't think this could get any more edge case and it's of trivial severity, but I thought I'd report it for completeness' sake.

If a user has the ability to manage terms on a post type, but not the ability to edit posts of that post type, and the post type has more than one taxonomy, then the post type menu doesn't expand as expected when viewing one of the term management screens for that post type.

Steps to reproduce:

  • Register a custom post type that uses its own capability mapping (resulting in edit_foos etc).
  • Register at least two custom taxonomies for this post type, with or without its own capability mapping.
  • Give a user (or role) the ability to manage the taxonomy terms but not the ability to edit posts of the post type.

When viewing one of the term management screens for the given post type, the menu doesn't expand as expected (although the new 3.3 fly-outs do show).

Attachments (2)

19288.patch (865 bytes) - added by rockwell15 8 years ago.
19288.2.patch (904 bytes) - added by rockwell15 8 years ago.
Fixed patch index

Download all attachments as: .zip

Change History (11)

#1 @nacin
13 years ago

  • Version changed from 3.3 to 3.0

Assuming this can be reproduced in 3.0. Moving out of the reports-against-3.3 list.

#2 @nacin
10 years ago

  • Component changed from General to Taxonomy

#3 @wonderboymusic
10 years ago

  • Milestone changed from Awaiting Review to Future Release
  • Owner set to johnbillion
  • Status changed from new to reviewing

This is all yours

#4 @boonebgorges
10 years ago

  • Keywords good-first-bug added

#5 @chriscct7
9 years ago

  • Severity changed from trivial to minor

8 years ago

#6 @rockwell15
8 years ago

  • Keywords needs-patch removed

#7 @rockwell15
8 years ago

  • Keywords has-patch added

8 years ago

Fixed patch index

This ticket was mentioned in Slack in #core by johnbillion. View the logs.

8 years ago

#9 @flixos90
6 years ago

  • Keywords good-first-bug removed
Note: See TracTickets for help on using tickets.