Docs: Correct $id parameter type for old_slug_redirect_post_id filter.

Props dlh.
Merges [42722] to the 4.9 branch.
Fixes #43375.
Built from https://develop.svn.wordpress.org/branches/4.9@43026


git-svn-id: http://core.svn.wordpress.org/branches/4.9@42855 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2018-04-29 22:37:28 +00:00
parent 65a757621d
commit 13b6280373
2 changed files with 2 additions and 3 deletions

View File

@ -880,7 +880,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 );
@ -962,7 +962,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;

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.9.5';
$wp_version = '4.9.6-alpha-43026';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.