WordPress.org

Make WordPress Core

Ticket #26985: 26985.patch

File 26985.patch, 527 bytes (added by nofearinc, 7 years ago)

replace site_url with network_site_url

  • wp-includes/link-template.php

     
    21062106 * @return string Includes url link with optional path appended.
    21072107*/
    21082108function includes_url( $path = '', $scheme = null ) {
    2109         $url = site_url( '/' . WPINC . '/', $scheme );
     2109        $url = network_site_url( '/' . WPINC . '/', $scheme );
    21102110
    21112111        if ( $path && is_string( $path ) )
    21122112                $url .= ltrim($path, '/');