diff --git a/wp-includes/query.php b/wp-includes/query.php index 693019f659..5c61004c09 100644 --- a/wp-includes/query.php +++ b/wp-includes/query.php @@ -982,7 +982,7 @@ function wp_old_slug_redirect() { * * @since 4.9.3 * - * @param string $id The redirect post ID. + * @param int $id The redirect post ID. */ $id = apply_filters( 'old_slug_redirect_post_id', $id ); @@ -1064,7 +1064,6 @@ function _find_post_by_old_slug( $post_type ) { * @param string $post_type The current post type based on the query vars. * @return int $id The Post ID. */ - function _find_post_by_old_date( $post_type ) { global $wpdb; diff --git a/wp-includes/version.php b/wp-includes/version.php index 129d4f06e1..0a0b803cdc 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '5.0-alpha-42721'; +$wp_version = '5.0-alpha-42722'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.