From da3e29eebad390fc3756b6fcf97f0349a91ccf4b Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 21 Sep 2017 10:00:48 +0000 Subject: [PATCH] Docs: Use correct order of arguments in the DocBlock for `WP_Hook::has_filter()`. Props munyagu. Fixes #41941. Built from https://develop.svn.wordpress.org/trunk@41551 git-svn-id: http://core.svn.wordpress.org/trunk@41384 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-wp-hook.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/class-wp-hook.php b/wp-includes/class-wp-hook.php index f70be1a251..3f797098b8 100644 --- a/wp-includes/class-wp-hook.php +++ b/wp-includes/class-wp-hook.php @@ -189,9 +189,9 @@ final class WP_Hook implements Iterator, ArrayAccess { * * @since 4.7.0 * - * @param callable|bool $function_to_check Optional. The callback to check for. Default false. * @param string $tag Optional. The name of the filter hook. Used for building * the callback ID when SPL is not available. Default empty. + * @param callable|bool $function_to_check Optional. The callback to check for. Default false. * @return bool|int The priority of that hook is returned, or false if the function is not attached. */ public function has_filter( $tag = '', $function_to_check = false ) { diff --git a/wp-includes/version.php b/wp-includes/version.php index 10ec500778..1e90b0ec5f 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.9-alpha-41550'; +$wp_version = '4.9-alpha-41551'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.