WordPress.org

Make WordPress Core

Opened 5 years ago

Last modified 4 months ago

#19288 reviewing defect (bug)

Erroneous custom taxonomy screen menu behaviour

Reported by: johnbillion Owned by: johnbillion
Milestone: Future Release Priority: normal
Severity: minor Version: 3.0
Component: Taxonomy Keywords: good-first-bug has-patch
Focuses: Cc:

Description

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 6 months ago.
19288.2.patch (904 bytes) - added by rockwell15 6 months ago.
Fixed patch index

Download all attachments as: .zip

Change History (10)

#1 @nacin
5 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
3 years ago

  • Component changed from General to Taxonomy

#3 @wonderboymusic
2 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
22 months ago

  • Keywords good-first-bug added

#5 @chriscct7
8 months ago

  • Severity changed from trivial to minor

@rockwell15
6 months ago

#6 @rockwell15
6 months ago

  • Keywords needs-patch removed

#7 @rockwell15
6 months ago

  • Keywords has-patch added

@rockwell15
6 months ago

Fixed patch index

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


4 months ago

Note: See TracTickets for help on using tickets.