WordPress.org

Make WordPress Core

Ticket #27003: 27003-docs-fix.patch

File 27003-docs-fix.patch, 584 bytes (added by TobiasBg, 6 years ago)

Fix docs for wp_get_network()

  • src/wp-includes/ms-load.php

     
    204204 *
    205205 * @since 3.9.0
    206206 *
    207  * @param int $network_id The network's DB row or ID.
    208  * @return mixed Object containing network information if found, false if not.
     207 * @param object|int $network The network's DB row or ID.
     208 * @return object|bool Object containing network information if found, false if not.
    209209 */
    210210function wp_get_network( $network ) {
    211211        global $wpdb;