Opened 6 years ago
Closed 6 years ago
#29703 closed defect (bug) (duplicate)
Taxonomy Count on Attachments - Not Updating
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.9.2 |
Component: | Taxonomy | Keywords: | |
Focuses: | Cc: |
Description
I've encountered an issue when registered a custom, non-hierarchal taxonomy against attachments / Media Library items.
Creating, editing, deleting tags etc are all working fine and tags are saved against Media Library items.
However, the count of Media items for each tag is always zero.
To reproduce:
- Clean install of WordPress 3.9.2 or 4.0
- Use register_taxonomy on init action (plugin attached which just does this to demonstrate the issue)
- Upload a new image to the Media Library
- Add some tags to it
- Navigate to Media > Tags; the count beside the tags you have will be zero
I'm not sure if this is something to do with my installation (I don't think so, as I then setup clean installations to double check), or whether registering a taxonomy against an attachment isn't supposed to be possible in WordPress.
Happy to provide more details if needed.
Thanks,
Tim.
Attachments (1)
Change History (2)
Note: See
TracTickets for help on using
tickets.
Plugin to register a taxonomy against attachments.