Changeset 41918
- Timestamp:
- 10/18/2017 06:12:20 PM (8 years ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 2 edited
-
class-wp-network-query.php (modified) (2 diffs)
-
ms-blogs.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-network-query.php
r41686 r41918 171 171 * 172 172 * @param string|array $query Array or URL query string of parameters. 173 * @return array|int List of networks, or number of networks when 'count' is passed as a query var. 173 * @return array|int List of WP_Network objects, a list of network ids when 'fields' is set to 'ids', 174 * or the number of networks when 'count' is passed as a query var. 174 175 */ 175 176 public function query( $query ) { … … 183 184 * @since 4.6.0 184 185 * 185 * @return int|array The list of networks. 186 * @return array|int List of WP_Network objects, a list of network ids when 'fields' is set to 'ids', 187 * or the number of networks when 'count' is passed as a query var. 186 188 */ 187 189 public function get_networks() { -
trunk/src/wp-includes/ms-blogs.php
r41912 r41918 1117 1117 * @param string|array $args Optional. Array or string of arguments. See WP_Network_Query::parse_query() 1118 1118 * for information on accepted arguments. Default empty array. 1119 * @return int|array List of networks or number of found networks if `$count` argument is true. 1119 * @return array|int List of WP_Network objects, a list of network ids when 'fields' is set to 'ids', 1120 * or the number of networks when 'count' is passed as a query var. 1120 1121 */ 1121 1122 function get_networks( $args = array() ) {
Note: See TracChangeset
for help on using the changeset viewer.