WordPress.org

Make WordPress Core

Ticket #51380: 51380.patch

File 51380.patch, 473 bytes (added by anonymized_18274256, 14 months ago)

Attached patch for this issue

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

    index: /src/wp-includes/ms-load.php
    ========================================
    a b function get_network_by_path( $domain, $path, $segments = null ) { 
    155155 * @since 3.9.0
    156156 * @since 4.7.0 Updated to always return a `WP_Site` object.
    157157 *
    158  * @global wpdb $wpdb WordPress database abstraction object.
    159158 *
    160159 * @param string   $domain   Domain to check.
    161160 * @param string   $path     Path to check.