Opened 3 years ago
Closed 3 years ago
#42155 closed defect (bug) (fixed)
WP_Site_Query $args documentation incorrect
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 4.9 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Networks and Sites | Keywords: | good-first-bug has-patch |
Focuses: | docs, multisite | Cc: |
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.