- Timestamp:
- 01/14/2015 10:13:03 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-media-list-table.php
r31162 r31181 269 269 270 270 add_filter( 'the_title','esc_html' ); 271 $alt = '';272 271 273 272 while ( have_posts() ) : the_post(); … … 278 277 continue; 279 278 280 $alt = ( 'alternate' == $alt ) ? '' : 'alternate';281 279 $post_owner = ( get_current_user_id() == $post->post_author ) ? 'self' : 'other'; 282 280 $att_title = _draft_or_post_title(); 283 281 ?> 284 <tr id="post-<?php echo $post->ID; ?>" class="<?php echo trim( $alt .' author-' . $post_owner . ' status-' . $post->post_status ); ?>">282 <tr id="post-<?php echo $post->ID; ?>" class="<?php echo trim( ' author-' . $post_owner . ' status-' . $post->post_status ); ?>"> 285 283 <?php 286 284
Note: See TracChangeset
for help on using the changeset viewer.