#44061 closed defect (bug) (fixed)
Incorrect `WP_Taxonomy::$cap` docs
| Reported by: | dlh | Owned by: | SergeyBiryukov |
|---|---|---|---|
| Priority: | normal | Milestone: | 5.1 |
| Component: | Taxonomy | Version: | 4.7 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: | docs |
Description
The $cap property is documented as an array, but it's an object: https://github.com/WordPress/wordpress-develop/blob/4773a48012303dc7ae76ad9a2b3205c99bbcbc13/src/wp-includes/class-wp-taxonomy.php#L343.
Attachments (1)
Change History (4)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
In 43247: