Make WordPress Core

Opened 7 years ago

Closed 6 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 7 years ago.
9381.002.diff (4.7 KB) - added by aaroncampbell 7 years ago.

Download all attachments as: .zip

Change History (10)

@aaroncampbell7 years ago

comment:1 @aaroncampbell7 years ago

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

comment:2 @azaozz7 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).

@aaroncampbell7 years ago

comment:3 @aaroncampbell7 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.

comment:4 @azaozz7 years ago

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

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

comment:5 @azaozz7 years ago

  • Milestone changed from 2.9 to 2.8

comment:6 @ramiy6 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()".

comment:7 @ramiy6 years ago

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

comment:8 @ryan6 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.