Changeset 11204 for trunk/wp-admin/options-misc.php
- Timestamp:
- 05/05/2009 07:43:53 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/options-misc.php
r11133 r11204 28 28 <tr valign="top"> 29 29 <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 attr(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 esc_attr(str_replace(ABSPATH, '', get_option('upload_path'))); ?>" class="regular-text code" /> 31 31 <span class="description"><?php _e('Default is <code>wp-content/uploads</code>'); ?></span> 32 32 </td> … … 35 35 <tr valign="top"> 36 36 <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 attr( 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 esc_attr( get_option('upload_url_path')); ?>" class="regular-text code" /> 38 38 <span class="description"><?php _e('Configuring this is optional. By default, it should be blank.'); ?></span> 39 39 </td> … … 68 68 69 69 <p class="submit"> 70 <input type="submit" name="Submit" class="button-primary" value="<?php _ea('Save Changes') ?>" />70 <input type="submit" name="Submit" class="button-primary" value="<?php esc_attr_e('Save Changes') ?>" /> 71 71 </p> 72 72
Note: See TracChangeset
for help on using the changeset viewer.