Make WordPress Core


Ignore:
Timestamp:
09/06/2022 01:57:23 PM (3 years ago)
Author:
SergeyBiryukov
Message:

Docs: Simplify a comment in WP_Network_Query::get_networks() and WP_Site_Query::get_sites().

This aims to improve readability. The arguments ignored are listed in the line directly below, so there is no need to mention them twice.

Follow-up to [41059], [41063], [53097], [53098], [54080].

See #55646.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-site-query.php

    r53503 r54081  
    351351        $_args = wp_array_slice_assoc( $this->query_vars, array_keys( $this->query_var_defaults ) );
    352352
    353         // Ignore the $fields, $update_site_cache, $update_site_meta_cache argument as the queried result will be the same regardless.
     353        // Ignore these arguments, as the queried result will be the same regardless.
    354354        unset( $_args['fields'], $_args['update_site_cache'], $_args['update_site_meta_cache'] );
    355355
Note: See TracChangeset for help on using the changeset viewer.