[wp-trac] [WordPress Trac] #42155: WP_Site_Query $args documentation incorrect
WordPress Trac
noreply at wordpress.org
Mon Oct 9 13:43:10 UTC 2017
#42155: WP_Site_Query $args documentation incorrect
--------------------------------+----------------------------------------
Reporter: welcher | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Networks and Sites | Version:
Severity: normal | Keywords: needs-patch good-first-bug
Focuses: docs, multisite |
--------------------------------+----------------------------------------
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.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42155>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list