- 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-posts-list-table.php
r31165 r31181 289 289 290 290 protected function get_table_classes() { 291 return array( 'widefat', 'fixed', is_post_type_hierarchical( $this->screen->post_type ) ? 'pages' : 'posts' );291 return array( 'widefat', 'fixed', 'striped', is_post_type_hierarchical( $this->screen->post_type ) ? 'pages' : 'posts' ); 292 292 } 293 293 … … 573 573 /** 574 574 * @global string $mode 575 * @staticvar string $alternate576 575 * @param WP_Post $post 577 576 * @param int $level … … 579 578 public function single_row( $post, $level = 0 ) { 580 579 global $mode; 581 static $alternate;582 580 583 581 $global_post = get_post(); … … 590 588 $can_edit_post = current_user_can( 'edit_post', $post->ID ); 591 589 592 $alternate = 'alternate' == $alternate ? '' : 'alternate'; 593 $classes = $alternate . ' iedit author-' . ( get_current_user_id() == $post->post_author ? 'self' : 'other' ); 590 $classes = 'iedit author-' . ( get_current_user_id() == $post->post_author ? 'self' : 'other' ); 594 591 595 592 $lock_holder = wp_check_post_lock( $post->ID );
Note: See TracChangeset
for help on using the changeset viewer.