Changeset 11204 for trunk/wp-admin/sidebar.php
- Timestamp:
- 05/05/2009 07:43:53 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/sidebar.php
r11110 r11204 89 89 <div> 90 90 <input type="hidden" name="action" value="post" /> 91 <input type="hidden" name="user_ID" value="<?php echo attr($user_ID) ?>" />91 <input type="hidden" name="user_ID" value="<?php echo esc_attr($user_ID) ?>" /> 92 92 <input type="hidden" name="mode" value="sidebar" /> 93 <input type="hidden" name="ping_status" value="<?php echo attr($post->ping_status); ?>" />94 <input type="hidden" name="comment_status" value="<?php echo attr($post->comment_status); ?>" />93 <input type="hidden" name="ping_status" value="<?php echo esc_attr($post->ping_status); ?>" /> 94 <input type="hidden" name="comment_status" value="<?php echo esc_attr($post->comment_status); ?>" /> 95 95 <?php wp_nonce_field('add-post'); 96 96 … … 117 117 118 118 <p> 119 <input name="saveasdraft" type="submit" id="saveasdraft" tabindex="9" accesskey="s" class="button" value="<?php _ea('Save as Draft'); ?>" />119 <input name="saveasdraft" type="submit" id="saveasdraft" tabindex="9" accesskey="s" class="button" value="<?php esc_attr_e('Save as Draft'); ?>" /> 120 120 <?php if ( current_user_can('publish_posts') ) : ?> 121 <input name="publish" type="submit" id="publish" tabindex="6" accesskey="p" value="<?php _ea('Publish') ?>" class="button button-highlighted" />121 <input name="publish" type="submit" id="publish" tabindex="6" accesskey="p" value="<?php esc_attr_e('Publish') ?>" class="button button-highlighted" /> 122 122 <?php endif; ?> 123 123 </p>
Note: See TracChangeset
for help on using the changeset viewer.