WordPress.org

Make WordPress Core

Ticket #22639: 22639.patch

File 22639.patch, 1.5 KB (added by evansolomon, 5 years ago)
  • wp-admin/network.php

     
    454454EOF;
    455455
    456456        ?>
    457                 <li><p><?php printf( __( 'Add the following to your <code>web.config</code> file in <code>%s</code>, replacing other WordPress rules:' ), trailingslashit( str_replace( trailingslashit( $wp_siteurl_subdir ), '', ABSPATH ) ) ); ?></p>
     457                <li><p><?php printf( __( 'Add the following to your <code>web.config</code> file in <code>%s</code>, replacing other WordPress rules:' ), trailingslashit( str_replace( $wp_dir_from_root, '', ABSPATH ) ) ); ?></p>
    458458                <?php
    459459                if ( ! $subdomain_install && WP_CONTENT_DIR != ABSPATH . 'wp-content' )
    460460                        echo '<p><strong>' . __('Warning:') . ' ' . __( 'Subdirectory networks may not be fully compatible with custom wp-content directories.' ) . '</strong></p>';
     
    488488EOF;
    489489
    490490                ?>
    491                 <li><p><?php printf( __( 'Add the following to your <code>.htaccess</code> file in <code>%s</code>, replacing other WordPress rules:' ), ABSPATH ); ?></p>
     491                <li><p><?php printf( __( 'Add the following to your <code>.htaccess</code> file in <code>%s</code>, replacing other WordPress rules:' ), trailingslashit( str_replace( $wp_dir_from_root, '', ABSPATH ) ) ); ?></p>
    492492                <?php
    493493                if ( ! $subdomain_install && WP_CONTENT_DIR != ABSPATH . 'wp-content' )
    494494                        echo '<p><strong>' . __('Warning:') . ' ' . __( 'Subdirectory networks may not be fully compatible with custom wp-content directories.' ) . '</strong></p>';