WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#9967 closed defect (bug) (fixed)

Edit-tags generates incorrect links for taxonomies and categories

Reported by: gortsleigh Owned by:
Milestone: 2.8 Priority: normal
Severity: normal Version: 2.8
Component: Administration Keywords:
Focuses: Cc:

Description

In the "posts" column of the table of tags, wp-admin/edit-tags.php generates links with the attribute 'tag=' regardless of the taxonomy being edited. For anything other than post tags, this is incorrect.

The fix is in the attached patch.

For post tags, the patch generates links as before, like

edit.php?tag=my-tag-value

For categories, it generates links of the form

edit.php?cat=162

For custom taxonomies, it uses the taxonomy (for example, an Artist taxonomy):

edit.php?artist=alison-krauss

Attachments (1)

ticket-9967.patch (649 bytes) - added by gortsleigh 6 years ago.

Download all attachments as: .zip

Change History (3)

@gortsleigh6 years ago

comment:1 @ryan6 years ago

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

(In [11478]) Generate correct links for custom taxonomies. Props gortsleigh. fixes #9967

comment:2 @ryan6 years ago

  • Milestone changed from Unassigned to 2.8
Note: See TracTickets for help on using tickets.