Changeset 11109 for trunk/wp-admin/edit-page-form.php
- Timestamp:
- 04/28/2009 05:58:45 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-page-form.php
r11104 r11109 19 19 if ( isset($_GET['message']) ) 20 20 $_GET['message'] = absint( $_GET['message'] ); 21 $messages[1] = sprintf( __( 'Page updated. Continue editing below or <a href="%s">go back</a>.' ), attr ibute_escape( stripslashes( ( isset( $_GET['_wp_original_http_referer'] ) ? $_GET['_wp_original_http_referer'] : '') ) ) );21 $messages[1] = sprintf( __( 'Page updated. Continue editing below or <a href="%s">go back</a>.' ), attr( stripslashes( ( isset( $_GET['_wp_original_http_referer'] ) ? $_GET['_wp_original_http_referer'] : '') ) ) ); 22 22 $messages[2] = __('Custom field updated.'); 23 23 $messages[3] = __('Custom field deleted.'); … … 74 74 <div id="save-action"> 75 75 <?php if ( 'publish' != $post->post_status && 'future' != $post->post_status && 'pending' != $post->post_status ) { ?> 76 <input <?php if ( 'private' == $post->post_status ) { ?>style="display:none"<?php } ?> type="submit" name="save" id="save-post" value="<?php echo attr ibute_escape( __('Save Draft') ); ?>" tabindex="4" class="button button-highlighted" />76 <input <?php if ( 'private' == $post->post_status ) { ?>style="display:none"<?php } ?> type="submit" name="save" id="save-post" value="<?php echo attr( __('Save Draft') ); ?>" tabindex="4" class="button button-highlighted" /> 77 77 <?php } elseif ( 'pending' == $post->post_status && $can_publish ) { ?> 78 <input type="submit" name="save" id="save-post" value="<?php echo attr ibute_escape( __('Save as Pending') ); ?>" tabindex="4" class="button button-highlighted" />78 <input type="submit" name="save" id="save-post" value="<?php echo attr( __('Save as Pending') ); ?>" tabindex="4" class="button button-highlighted" /> 79 79 <?php } ?> 80 80 </div> … … 163 163 164 164 <div id="post-visibility-select" class="hide-if-js"> 165 <input type="hidden" name="hidden_post_password" id="hidden-post-password" value="<?php echo attr ibute_escape($post->post_password); ?>" />166 <input type="hidden" name="hidden_post_visibility" id="hidden-post-visibility" value="<?php echo attr ibute_escape( $visibility ); ?>" />165 <input type="hidden" name="hidden_post_password" id="hidden-post-password" value="<?php echo attr($post->post_password); ?>" /> 166 <input type="hidden" name="hidden_post_visibility" id="hidden-post-visibility" value="<?php echo attr( $visibility ); ?>" /> 167 167 168 168 169 169 <input type="radio" name="visibility" id="visibility-radio-public" value="public" <?php checked( $visibility, 'public' ); ?> /> <label for="visibility-radio-public" class="selectit"><?php _e('Public'); ?></label><br /> 170 170 <input type="radio" name="visibility" id="visibility-radio-password" value="password" <?php checked( $visibility, 'password' ); ?> /> <label for="visibility-radio-password" class="selectit"><?php _e('Password protected'); ?></label><br /> 171 <span id="password-span"><label for="post_password"><?php _e('Password:'); ?></label> <input type="text" name="post_password" id="post_password" value="<?php echo attr ibute_escape($post->post_password); ?>" /><br /></span>171 <span id="password-span"><label for="post_password"><?php _e('Password:'); ?></label> <input type="text" name="post_password" id="post_password" value="<?php echo attr($post->post_password); ?>" /><br /></span> 172 172 <input type="radio" name="visibility" id="visibility-radio-private" value="private" <?php checked( $visibility, 'private' ); ?> /> <label for="visibility-radio-private" class="selectit"><?php _e('Private'); ?></label><br /> 173 173 … … 350 350 function page_slug_meta_box($post){ 351 351 ?> 352 <label class="hidden" for="post_name"><?php _e('Page Slug') ?></label><input name="post_name" type="text" size="13" id="post_name" value="<?php echo attr ibute_escape( $post->post_name ); ?>" />352 <label class="hidden" for="post_name"><?php _e('Page Slug') ?></label><input name="post_name" type="text" size="13" id="post_name" value="<?php echo attr( $post->post_name ); ?>" /> 353 353 <?php 354 354 } … … 420 420 <input type="hidden" id="hiddenaction" name="action" value='<?php echo $form_action ?>' /> 421 421 <input type="hidden" id="originalaction" name="originalaction" value="<?php echo $form_action ?>" /> 422 <input type="hidden" id="post_author" name="post_author" value="<?php echo attr ibute_escape( $post->post_author ); ?>" />422 <input type="hidden" id="post_author" name="post_author" value="<?php echo attr( $post->post_author ); ?>" /> 423 423 <?php echo $form_extra ?> 424 424 <input type="hidden" id="post_type" name="post_type" value="<?php echo $post->post_type ?>" /> … … 443 443 <div id="titlediv"> 444 444 <div id="titlewrap"> 445 <input type="text" name="post_title" size="30" tabindex="1" value="<?php echo attr ibute_escape( htmlspecialchars( $post->post_title ) ); ?>" id="title" autocomplete="off" />445 <input type="text" name="post_title" size="30" tabindex="1" value="<?php echo attr( htmlspecialchars( $post->post_title ) ); ?>" id="title" autocomplete="off" /> 446 446 </div> 447 447 <div class="inside">
Note: See TracChangeset
for help on using the changeset viewer.