Make WordPress Core

Changeset 4681


Ignore:
Timestamp:
01/05/2007 09:27:22 AM (17 years ago)
Author:
markjaquith
Message:

Ensure XHTML validity when presenting mod_rewrite rules for copy-paste. Props JeremyVisser. fixes #3523

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/options-permalink.php

    r4656 r4681  
    170170<?php wp_nonce_field('update-permalink') ?>
    171171   <p>
    172 <textarea rows="5" style="width: 98%;" name="rules"><?php echo $wp_rewrite->mod_rewrite_rules(); ?>
     172<textarea rows="5" style="width: 98%;" name="rules"><?php echo wp_specialchars($wp_rewrite->mod_rewrite_rules()); ?>
    173173</textarea>
    174174    </p>
Note: See TracChangeset for help on using the changeset viewer.