Make WordPress Core

Changeset 45390


Ignore:
Timestamp:
05/23/2019 11:27:57 PM (6 years ago)
Author:
SergeyBiryukov
Message:

Networks and Sites: Remove extra whitespace in .htaccess rules on Network Setup page.

Props riddhiehta02 for initial patch, sebastienserre, masterforwordpress.
Fixes #47062.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/network.php

    r44460 r45390  
    609609        }
    610610        ?>
    611     <textarea class="code" readonly="readonly" cols="100" rows="20"><?php echo esc_textarea( $web_config_file ); ?>
    612         </textarea></li>
    613         </ol>
     611        <textarea class="code" readonly="readonly" cols="100" rows="20"><?php echo esc_textarea( $web_config_file ); ?></textarea>
     612        </li>
     613    </ol>
    614614
    615615        <?php
     
    651651        }
    652652        ?>
    653         <textarea class="code" readonly="readonly" cols="100" rows="<?php echo substr_count( $htaccess_file, "\n" ) + 1; ?>">
    654         <?php echo esc_textarea( $htaccess_file ); ?></textarea></li>
    655         </ol>
     653        <textarea class="code" readonly="readonly" cols="100" rows="<?php echo substr_count( $htaccess_file, "\n" ) + 1; ?>"><?php echo esc_textarea( $htaccess_file ); ?></textarea>
     654        </li>
     655    </ol>
    656656
    657657        <?php
Note: See TracChangeset for help on using the changeset viewer.