Make WordPress Core

Ticket #41238: 41238.3.patch

File 41238.3.patch, 489 bytes (added by afzalmultani, 9 years ago)

global wpdb is used in get_network_ids() function but it is not mentioned in the documentation of the function.

  • class-wp-network-query.php

     
    281281         * @since 4.6.0
    282282         * @access protected
    283283         *
     284         * @global wpdb $wpdb WordPress database abstraction object.
    284285         * @return int|array A single count of network IDs if a count query. An array of network IDs if a full query.
    285286         */
    286287        protected function get_network_ids() {