#44061 closed defect (bug) (fixed)
Incorrect `WP_Taxonomy::$cap` docs
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 5.1 | Priority: | normal |
Severity: | normal | Version: | 4.7 |
Component: | Taxonomy | Keywords: | has-patch |
Focuses: | docs | Cc: |
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.
In 43247: