Changeset 53857 for trunk/src/wp-includes/rewrite.php
- Timestamp:
- 08/07/2022 11:03:57 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rewrite.php
r52994 r53857 411 411 412 412 // This is the potentially clashing slug. 413 $value = $query_vars[ $compare ]; 413 $value = ''; 414 if ( $compare && array_key_exists( $compare, $query_vars ) ) { 415 $value = $query_vars[ $compare ]; 416 } 414 417 415 418 $post = get_page_by_path( $value, OBJECT, 'post' );
Note: See TracChangeset
for help on using the changeset viewer.