Opened 14 years ago
Closed 14 years ago
#21888 closed defect (bug) (fixed)
Correct wp_count_terms() @return value
| Reported by: | SergeyBiryukov | Owned by: | nacin |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.5 |
| Component: | Inline Docs | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
Description
wp_count_terms() calls get_terms(), which returns a WP_Error object on failure:
http://core.trac.wordpress.org/browser/tags/3.4.2/wp-includes/taxonomy.php#L1163
Attachments (1)
Change History (2)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
In [21843]: