Make WordPress Core


Ignore:
Timestamp:
04/28/2009 05:58:45 AM (15 years ago)
Author:
ryan
Message:

s/attribute_escape/attr/. see #9650

File:
1 edited

Legend:

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

    r11046 r11109  
    2828<tr valign="top">
    2929<th scope="row"><label for="upload_path"><?php _e('Store uploads in this folder'); ?></label></th>
    30 <td><input name="upload_path" type="text" id="upload_path" value="<?php echo attribute_escape(str_replace(ABSPATH, '', get_option('upload_path'))); ?>" class="regular-text code" />
     30<td><input name="upload_path" type="text" id="upload_path" value="<?php echo attr(str_replace(ABSPATH, '', get_option('upload_path'))); ?>" class="regular-text code" />
    3131<span class="setting-description"><?php _e('Default is <code>wp-content/uploads</code>'); ?></span>
    3232</td>
     
    3535<tr valign="top">
    3636<th scope="row"><label for="upload_url_path"><?php _e('Full URL path to files'); ?></label></th>
    37 <td><input name="upload_url_path" type="text" id="upload_url_path" value="<?php echo attribute_escape( get_option('upload_url_path')); ?>" class="regular-text code" />
     37<td><input name="upload_url_path" type="text" id="upload_url_path" value="<?php echo attr( get_option('upload_url_path')); ?>" class="regular-text code" />
    3838<span class="setting-description"><?php _e('Configuring this is optional. By default, it should be blank.'); ?></span>
    3939</td>
Note: See TracChangeset for help on using the changeset viewer.