Make WordPress Core

Opened 8 years ago

Last modified 5 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:

Description

Hello!

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

It looks like this:
http://caseforyou.pro/two.png

It would be much better if it will looks like this:
http://caseforyou.pro/one.png

It is a only one thing to do. Replace string

$values[] = $term->slug;

to

$values[] = $term->name;

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

The code fragment:
http://caseforyou.pro/three.png

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

Thank you!

Attachments (1)

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

Download all attachments as: .zip

Change History (4)

#1 @snookerist
8 years ago

  • Component changed from Taxonomy to Media

@Presskopp
8 years ago

#2 @Presskopp
8 years ago

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

#3 @Presskopp
5 years ago

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