Make WordPress Core


Ignore:
Timestamp:
05/05/2009 07:43:53 PM (16 years ago)
Author:
markjaquith
Message:

_a(), _ea(), _xa(), attr() are now esc_attr(), esc_attr_e(), esc_attr_x(), esc_attr() -- still short, but less cryptic. see #9650

File:
1 edited

Legend:

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

    r11186 r11204  
    11171117 */
    11181118function settings_fields($option_group) {
    1119     echo "<input type='hidden' name='option_page' value='" . attr($option_group) . "' />";
     1119    echo "<input type='hidden' name='option_page' value='" . esc_attr($option_group) . "' />";
    11201120    echo '<input type="hidden" name="action" value="update" />';
    11211121    wp_nonce_field("$option_group-options");
Note: See TracChangeset for help on using the changeset viewer.