Make WordPress Core

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#24692 closed defect (bug) (fixed)

"View" link is displayed for non-public taxonomies

Reported by: sergeybiryukov's profile SergeyBiryukov Owned by: nacin's profile nacin
Milestone: 3.7 Priority: normal
Severity: normal Version: 3.2
Component: Taxonomy Keywords: has-patch commit
Focuses: Cc:


Background: #24677, related: #17609.

Since [18194], even if a taxonomy is not public, we still have the "View" link in the list table, which doesn't work as expected:
tags/3.5.2/wp-admin/includes/class-wp-terms-list-table.php#L262. The Toolbar, however, checks if the taxonomy is public before displaying the link: tags/3.5.2/wp-includes/admin-bar.php#L441.

Attachments (1)

24692.patch (940 bytes) - added by SergeyBiryukov 10 years ago.

Download all attachments as: .zip

Change History (4)

#1 @aaronholbrook
10 years ago

  • Keywords commit added

Looks good, tested.

#2 @nacin
10 years ago

  • Owner set to nacin
  • Resolution set to fixed
  • Status changed from new to closed

In 24824:

Terms list table: Only show 'View' links for public taxonomies. props SergeyBiryukov. fixes #24692.

#3 @ocean90
10 years ago

  • Milestone changed from Awaiting Review to 3.7
Note: See TracTickets for help on using tickets.