Ticket #27345: 27345.patch
File 27345.patch, 730 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( 548 'post_parent' => $post->ID , 549 'post_type' => 'page' 550 ); 551 $page_children = get_children($args); 552 if(count($page_children)>0){ 553 $classes .= ' page_has_children'; 554 } 555 547 556 $lock_holder = wp_check_post_lock( $post->ID ); 548 557 if ( $lock_holder ) { 549 558 $classes .= ' wp-locked';