Changeset 59788
- Timestamp:
- 02/08/2025 03:30:08 PM (13 months ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/class-wp-query.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-query.php
r59771 r59788 4534 4534 continue; 4535 4535 } 4536 4536 4537 $pagepath_obj = get_page_by_path( $pagepath ); 4537 4538 4538 if ( $pagepath_obj && ( $pagepath_obj->ID == $page_obj->ID ) ) {4539 if ( $pagepath_obj && ( $pagepath_obj->ID === $page_obj->ID ) ) { 4539 4540 return true; 4540 4541 } … … 4644 4645 continue; 4645 4646 } 4647 4646 4648 $postpath_obj = get_page_by_path( $postpath, OBJECT, $post_obj->post_type ); 4647 4649 4648 if ( $postpath_obj && ( $postpath_obj->ID == $post_obj->ID ) ) {4650 if ( $postpath_obj && ( $postpath_obj->ID === $post_obj->ID ) ) { 4649 4651 return true; 4650 4652 }
Note: See TracChangeset
for help on using the changeset viewer.