Ticket #23026: 23026.patch
File 23026.patch, 491 bytes (added by , 12 years ago) |
---|
-
wp-admin/includes/template.php
680 680 if ( $items ) { 681 681 foreach ( $items as $item ) { 682 682 // A page cannot be its own parent. 683 if ( $post ->ID && $item->ID == $post->ID )683 if ( $post && $post->ID && $item->ID == $post->ID ) 684 684 continue; 685 685 686 686 $pad = str_repeat( ' ', $level * 3 );