#17071 closed enhancement (fixed)
wp_count_attachments() is not filterable
Reported by: | kevinB | Owned by: | nacin |
---|---|---|---|
Milestone: | 3.7 | Priority: | normal |
Severity: | normal | Version: | 2.5 |
Component: | Media | Keywords: | has-patch needs-refresh |
Focuses: | Cc: |
Description
The Media Library attachments listing and edit links can be filtered via existing WP_Query and has_cap hooks. However, corresponding attachment counts are not cleanly filterable.
Attachments (1)
Change History (7)
Note: See
TracTickets for help on using
tickets.
Please create a diff from the checkout root. There are three different post.php files in core. :-)