Make WordPress Core

Opened 7 years ago

Last modified 4 years ago

#40638 new defect (bug)

In attachments taxonomy displays slug instead of name

Reported by: snookerist's profile snookerist Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.7.4
Component: Media Keywords: has-patch
Focuses: Cc:



Custom taxonomy registered for attachment displays as slug instead of name.

It looks like this:

It would be much better if it will looks like this:

It is a only one thing to do. Replace string

$values[] = $term->slug;


$values[] = $term->name;

in file /wp-admin/includes/media.php at line number 1652.

The code fragment:

Could you do this change and inlclude in one of the followings releases?

Thank you!

Attachments (1)

40638.diff (620 bytes) - added by Presskopp 7 years ago.

Download all attachments as: .zip

Change History (4)

#1 @snookerist
7 years ago

  • Component changed from Taxonomy to Media

7 years ago

#2 @Presskopp
7 years ago

If we do so, we should probably patch the second appearance too.

#3 @Presskopp
4 years ago

  • Keywords has-patch added
Note: See TracTickets for help on using tickets.