WordPress.org

Make WordPress Core

Ticket #27025: slash.diff

File slash.diff, 724 bytes (added by VarunAgw, 8 years ago)

Here is a diff file

  • wp-admin/network.php

    commit ce14a0db153690e803ecba2beb0fa7e82c7ce703
    Author: Varun Agrawal <Varun@VarunAgw.com>
    Date:   Thu Feb 6 01:58:40 2014 +0530
    
        Fixed  slash problem
    
    diff --git wp-admin/network.php wp-admin/network.php
    index fe7effe..56d7f09 100644
    function network_step2( $errors = false ) { 
    329329        $rewrite_base      = ! empty( $wp_siteurl_subdir ) ? ltrim( trailingslashit( $wp_siteurl_subdir ), '/' ) : '';
    330330
    331331
    332         $location_of_wp_config = ABSPATH;
     332        $location_of_wp_config = $abspath_fix;
    333333        if ( ! file_exists( ABSPATH . 'wp-config.php' ) && file_exists( dirname( ABSPATH ) . '/wp-config.php' ) )
    334334                $location_of_wp_config = trailingslashit( dirname( ABSPATH ) );
    335335