WordPress.org

Make WordPress Core

Ticket #53399: 53399.internal.diff

File 53399.internal.diff, 1.1 KB (added by SergeyBiryukov, 3 months ago)
  • src/wp-includes/ms-load.php

     
    130130 * Retrieve the closest matching network for a domain and path.
    131131 *
    132132 * @since 3.9.0
     133 * @since 4.4.0 Converted into a wrapper for WP_Network::get_by_path().
    133134 *
    134  * @internal In 4.4.0, converted to a wrapper for WP_Network::get_by_path()
    135  *
    136135 * @param string   $domain   Domain to check.
    137136 * @param string   $path     Path to check.
    138137 * @param int|null $segments Path segments to use. Defaults to null, or the full path.
     
    549548 * Retrieve an object containing information about the requested network.
    550549 *
    551550 * @since 3.9.0
    552  * @deprecated 4.7.0 Use `get_network()`
     551 * @since 4.6.0 Converted to use get_network().
     552 * @deprecated 4.7.0 Use get_network() instead.
    553553 * @see get_network()
    554554 *
    555  * @internal In 4.6.0, converted to use get_network()
    556  *
    557555 * @param object|int $network The network's database row or ID.
    558556 * @return WP_Network|false Object containing network information if found, false if not.
    559557 */