WordPress.org

Make WordPress Core

Opened 8 years ago

Closed 6 years ago

#4736 closed enhancement (fixed)

Tag Functions plugin needs to be included in core

Reported by: JeremyVisser Owned by: ryan
Milestone: 2.8 Priority: normal
Severity: normal Version: 2.3
Component: Template Keywords: has-patch needs-testing dev-feedback
Focuses: Cc:

Description

Functions such as single_tag_title() are needed for use in templates, as evidenced by this thread.

Brent Loertscher made a plugin that has most of the functionality; it needs to be included in core (as hinted by Matt).

Related: #4506

Attachments (1)

tags-patch.diff (17.7 KB) - added by bloertscher 8 years ago.
This patch adds all of the functions that are currently in the plugin. It is a good start as there are probably other functions that should also be created.

Download all attachments as: .zip

Change History (10)

comment:1 @ryan8 years ago

  • Keywords taxonomy added
  • Version set to 2.3

Cool by me. Patches that bring the plugin into core welcome. The hierarchy code should be stripped out of the list tags code, however. Tags are not hierarchical.

@bloertscher8 years ago

This patch adds all of the functions that are currently in the plugin. It is a good start as there are probably other functions that should also be created.

comment:2 @DD328 years ago

Just thought i'd mention that single_tag_title was introduced with changeset 5912:
http://trac.wordpress.org/changeset/5912

comment:3 @ryan8 years ago

  • Owner changed from anonymous to ryan

comment:4 @ryan7 years ago

  • Milestone changed from 2.3 to 2.4 (next)

We got some of this in. Reserving the rest for 2.4.

comment:5 @ryan7 years ago

  • Milestone changed from 2.5 to 2.6

comment:6 @DD326 years ago

  • Keywords has-patch needs-testing dev-feedback added

Theres been a few requests for single_Tag_title() and others, Perhaps its time this was dealt with?

I suspect the patch will need a refresh.

comment:7 @DD326 years ago

  • Type changed from defect (bug) to enhancement

also, enhancement, it expands on the other title functions available.

comment:8 @Denis-de-Bernardy6 years ago

  • Keywords taxonomy removed

all fixed, no?

comment:9 @Denis-de-Bernardy6 years ago

  • Milestone changed from 2.9 to 2.8
  • Resolution set to fixed
  • Status changed from new to closed

single_tag_title() exists already.

Note: See TracTickets for help on using tickets.