[wp-trac] [WordPress Trac] #42156: Adjust the inline docs for get_sites() to avoid WP_Site_Query doc-duplication

WordPress Trac noreply at wordpress.org
Sat Jun 19 20:56:06 UTC 2021


#42156: Adjust the inline docs for get_sites() to avoid WP_Site_Query doc-
duplication
---------------------------------------------+-----------------------------
 Reporter:  birgire                          |       Owner:  SergeyBiryukov
     Type:  enhancement                      |      Status:  closed
 Priority:  normal                           |   Milestone:  5.8
Component:  Networks and Sites               |     Version:  4.6
 Severity:  normal                           |  Resolution:  fixed
 Keywords:  good-first-bug has-patch commit  |     Focuses:  docs,
                                             |  multisite
---------------------------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"51184" 51184]:
 {{{
 #!CommitTicketReference repository="" revision="51184"
 Docs: Add a reference to `WP_Site_Query::__construct()` for information on
 accepted arguments in `get_sites()`.

 Synchronize the documentation between two places, use
 `WP_Site_Query::__construct()` as the canonical source.

 Follow-up to [37616].

 Props birgire, felipeelia, audrasjb.
 Fixes #42156.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/42156#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list