WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/18/2009 03:11:07 PM (11 years ago)
Author:
markjaquith
Message:

deprecate wp_specialchars() in favor of esc_html(). Encode quotes for esc_html() as in esc_attr(), to improve plugin security.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/export.php

    r11204 r11380  
    2525<div class="wrap">
    2626<?php screen_icon(); ?>
    27 <h2><?php echo wp_specialchars( $title ); ?></h2>
     27<h2><?php echo esc_html( $title ); ?></h2>
    2828
    2929<p><?php _e('When you click the button below WordPress will create an XML file for you to save to your computer.'); ?></p>
Note: See TracChangeset for help on using the changeset viewer.