Opened 9 years ago
Closed 9 years ago
#42155 closed defect (bug) (fixed)
WP_Site_Query $args documentation incorrect
| Reported by: | welcher | Owned by: | johnbillion |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.9 |
| Component: | Networks and Sites | Version: | |
| Severity: | normal | Keywords: | good-first-bug has-patch |
| Cc: | Focuses: | docs, multisite |
Description
When using get_sites() or WP_Site_Query, the inline documentation for update_site_cache states that the default value is false but it is actually true.
@type bool $update_site_cache Whether to prime the cache for found sites. Default false.
The docs should be updated in both ms-blogs.php and class-wp-site-query.php to reflect that the default is true.
Attachments (1)
Change History (5)
Note:
See TracTickets
for help on using tickets.
Added a patch that fixes the doc in two places.