Make WordPress Core

Opened 9 years ago

Closed 9 years ago

#9381 closed enhancement (fixed)

Tag descriptions

Reported by: aaroncampbell Owned by: ryan
Milestone: 2.8 Priority: normal
Severity: normal Version:
Component: Taxonomy Keywords: has-patch needs-testing
Focuses: Cc:


All terms can have descriptions, but in the admin section you can easily edit the descriptions of categories but not tags. It would be nice if tags got the same treatment.

Attachments (2)

9381.001.diff (3.2 KB) - added by aaroncampbell 9 years ago.
9381.002.diff (4.7 KB) - added by aaroncampbell 9 years ago.

Download all attachments as: .zip

Change History (10)

#1 @aaroncampbell
9 years ago

  • Keywords has-patch needs-testing added; needs-patch removed

#2 @azaozz
9 years ago

This is still missing some things: showing the descriptions when listing tags on the admin screen (in the table on the right), support for custom taxonomies - the textarea to enter description is shown but there's no way to use/display the data (tag_description() will need to support custom taxonomies).

#3 @aaroncampbell
9 years ago

The new patch (9381.002.diff) add the description column to the tags table in admin. It also creates a function called term_description which category_description and the new tag_description both use. It should work across the board now for tags as well as custom taxonomies.

#4 @azaozz
9 years ago

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

(In [10903]) Tag descriptions, props aaroncampbell, fixes #9381

#5 @azaozz
9 years ago

  • Milestone changed from 2.9 to 2.8

#6 @ramiy
9 years ago

  • Cc ramiy added
  • Resolution fixed deleted
  • Status changed from closed to reopened

The name "tag_description()" is inconsistent to wp function names, it should be renamed to "get_tag_description()".

#7 @ramiy
9 years ago

This apply to category_description() too. It should be renamed to get_category_description().

#8 @ryan
9 years ago

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

Create a new ticket for this request.

Note: See TracTickets for help on using tickets.