diff --git src/wp-includes/query.php src/wp-includes/query.php
index 693019f659..5c61004c09 100644
|
|
|
function wp_old_slug_redirect() { |
| 982 | 982 | * |
| 983 | 983 | * @since 4.9.3 |
| 984 | 984 | * |
| 985 | | * @param string $id The redirect post ID. |
| | 985 | * @param int $id The redirect post ID. |
| 986 | 986 | */ |
| 987 | 987 | $id = apply_filters( 'old_slug_redirect_post_id', $id ); |
| 988 | 988 | |
| … |
… |
function _find_post_by_old_slug( $post_type ) { |
| 1064 | 1064 | * @param string $post_type The current post type based on the query vars. |
| 1065 | 1065 | * @return int $id The Post ID. |
| 1066 | 1066 | */ |
| 1067 | | |
| 1068 | 1067 | function _find_post_by_old_date( $post_type ) { |
| 1069 | 1068 | global $wpdb; |
| 1070 | 1069 | |