Changeset 23351
- Timestamp:
- 01/28/2013 02:55:06 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/template.php
r22948 r23351 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
Note: See TracChangeset
for help on using the changeset viewer.