Changeset 11110 for trunk/wp-admin/sidebar.php
- Timestamp:
- 04/28/2009 06:37:51 AM (17 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/sidebar.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/sidebar.php
r8834 r11110 89 89 <div> 90 90 <input type="hidden" name="action" value="post" /> 91 <input type="hidden" name="user_ID" value="<?php echo $user_ID?>" />91 <input type="hidden" name="user_ID" value="<?php echo attr($user_ID) ?>" /> 92 92 <input type="hidden" name="mode" value="sidebar" /> 93 <input type="hidden" name="ping_status" value="<?php echo $post->ping_status; ?>" />94 <input type="hidden" name="comment_status" value="<?php echo $post->comment_status; ?>" />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); ?>" /> 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 _e ('Save as Draft'); ?>" />119 <input name="saveasdraft" type="submit" id="saveasdraft" tabindex="9" accesskey="s" class="button" value="<?php _ea('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 _e ('Publish') ?>" class="button button-highlighted" />121 <input name="publish" type="submit" id="publish" tabindex="6" accesskey="p" value="<?php _ea('Publish') ?>" class="button button-highlighted" /> 122 122 <?php endif; ?> 123 123 </p>
Note: See TracChangeset
for help on using the changeset viewer.