Opened 17 years ago
Closed 16 years ago
#10746 closed defect (bug) (fixed)
wp_count_terms() should call get_terms()
| Reported by: | scribu | Owned by: | dd32 |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.0 |
| Component: | Taxonomy | Version: | 2.8.4 |
| Severity: | normal | Keywords: | has-patch commit |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Seems okay for 3.0.