Changeset 11109 for trunk/wp-admin/includes/dashboard.php
- Timestamp:
- 04/28/2009 05:58:45 AM (17 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/includes/dashboard.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/dashboard.php
r11081 r11109 372 372 <h4 id="quick-post-title"><label for="title"><?php _e('Title') ?></label></h4> 373 373 <div class="input-text-wrap"> 374 <input type="text" name="post_title" id="title" tabindex="1" autocomplete="off" value="<?php echo attr ibute_escape( $post->post_title ); ?>" />374 <input type="text" name="post_title" id="title" tabindex="1" autocomplete="off" value="<?php echo attr( $post->post_title ); ?>" /> 375 375 </div> 376 376 … … 433 433 $url = get_edit_post_link( $draft->ID ); 434 434 $title = _draft_or_post_title( $draft->ID ); 435 $item = "<h4><a href='$url' title='" . sprintf( __( 'Edit "%s"' ), attr ibute_escape( $title ) ) . "'>$title</a> <abbr title='" . get_the_time(__('Y/m/d g:i:s A'), $draft) . "'>" . get_the_time( get_option( 'date_format' ), $draft ) . '</abbr></h4>';435 $item = "<h4><a href='$url' title='" . sprintf( __( 'Edit "%s"' ), attr( $title ) ) . "'>$title</a> <abbr title='" . get_the_time(__('Y/m/d g:i:s A'), $draft) . "'>" . get_the_time( get_option( 'date_format' ), $draft ) . '</abbr></h4>'; 436 436 if ( $the_content = preg_split( '#\s#', strip_tags( $draft->post_content ), 11, PREG_SPLIT_NO_EMPTY ) ) 437 437 $item .= '<p>' . join( ' ', array_slice( $the_content, 0, 10 ) ) . ( 10 < count( $the_content ) ? '…' : '' ) . '</p>'; … … 580 580 <div id="inline-<?php echo $comment->comment_ID; ?>" class="hidden"> 581 581 <textarea class="comment" rows="3" cols="10"><?php echo $comment->comment_content; ?></textarea> 582 <div class="author-email"><?php echo attr ibute_escape( $comment->comment_author_email ); ?></div>583 <div class="author"><?php echo attr ibute_escape( $comment->comment_author ); ?></div>584 <div class="author-url"><?php echo attr ibute_escape( $comment->comment_author_url ); ?></div>582 <div class="author-email"><?php echo attr( $comment->comment_author_email ); ?></div> 583 <div class="author"><?php echo attr( $comment->comment_author ); ?></div> 584 <div class="author-url"><?php echo attr( $comment->comment_author_url ); ?></div> 585 585 <div class="comment_status"><?php echo $comment->comment_approved; ?></div> 586 586 </div>
Note: See TracChangeset
for help on using the changeset viewer.