Opened 15 years ago
Closed 15 years ago
#10746 closed defect (bug) (fixed)
wp_count_terms() should call get_terms()
Reported by: | scribu | Owned by: | dd32 |
---|---|---|---|
Milestone: | 3.0 | Priority: | normal |
Severity: | normal | Version: | 2.8.4 |
Component: | Taxonomy | Keywords: | has-patch commit |
Focuses: | Cc: |
Description
Currently, wp_count_terms() only accepts one argument: 'ignore_empty'.
get_terms() has alot more, so why not use it to also count the terms?
As a direct benefit, we can correct the pagination in wp-admin/edit-tags.php?s=something which ignores the search parameter.
Attachments (2)
Change History (8)
Note: See
TracTickets for help on using
tickets.
Seems okay for 3.0.