Ticket #27345: 27345-2.diff
File 27345-2.diff, 724 bytes (added by , 11 years ago) |
---|
-
class-wp-posts-list-table.php
544 544 $alternate = 'alternate' == $alternate ? '' : 'alternate'; 545 545 $classes = $alternate . ' iedit author-' . ( get_current_user_id() == $post->post_author ? 'self' : 'other' ); 546 546 547 $args = array( 'post_parent' => $post->ID , 548 'post_type' => 'page' 549 ); 550 $page_children = get_children($args); 551 if(count($page_children)>0){ 552 $classes .= ' page-has-children'; 553 } 554 547 555 $lock_holder = wp_check_post_lock( $post->ID ); 548 556 if ( $lock_holder ) { 549 557 $classes .= ' wp-locked';