Make WordPress Core

Ticket #46841: 46841.patch

File 46841.patch, 1013 bytes (added by subrataemfluence, 5 years ago)

Two more places missing (.) in .htaccess.

  • wp-admin/includes/misc.php

    diff --git wp-admin/includes/misc.php wp-admin/includes/misc.php
    index 333d6eb..b40272b 100755
    function insert_with_markers( $filename, $marker, $insertion ) { 
    189189}
    190190
    191191/**
    192  * Updates the htaccess file with the current rules if it is writable.
     192 * Updates the .htaccess file with the current rules if it is writable.
    193193 *
    194194 * Always writes to the file if it exists and is writable to ensure that we
    195195 * blank out old rules.
  • wp-admin/includes/network.php

    
    
    
    diff --git wp-admin/includes/network.php wp-admin/includes/network.php
    index ea6ec24..6ece883 100755
    define('BLOG_ID_CURRENT_SITE', 1); 
    613613                </ol>
    614614
    615615                <?php
    616         else : // end iis7_supports_permalinks(). construct an htaccess file instead:
     616        else : // end iis7_supports_permalinks(). construct an .htaccess file instead:
    617617
    618618                $ms_files_rewriting = '';
    619619                if ( is_multisite() && get_site_option( 'ms_files_rewriting' ) ) {