[wp-trac] [WordPress Trac] #21198: Add tag id to callback to allow customizing of the tooltip text in tag clouds
WordPress Trac
wp-trac at lists.automattic.com
Mon Jul 9 17:40:05 UTC 2012
#21198: Add tag id to callback to allow customizing of the tooltip text in tag
clouds
-----------------------------+------------------------------
Reporter: najamelan | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Taxonomy | Version:
Severity: minor | Resolution:
Keywords: has-patch |
-----------------------------+------------------------------
Comment (by SergeyBiryukov):
Replying to [comment:3 azaozz]:
> Generally it's not a good idea to use HTML IDs in any dynamically
generated HTML.
Yes, but that's not what the ticket suggests (unless I'm missing
something).
The patch just allows the callback function to receive the tag ID
(numeric) and use it to provide more details (e.g. tag description) in the
`title` attribute.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21198#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list