Ticket #9381 (closed enhancement: fixed)

Opened 3 years ago

Last modified 3 years ago

Tag descriptions

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

Description

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

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

Change History

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

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).

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.

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

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

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

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

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

comment:8   ryan3 years ago

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

Create a new ticket for this request.

Note: See TracTickets for help on using tickets.