diff --git a/wp-includes/http.php b/wp-includes/http.php index 2c8c3125ae..0ef297921d 100644 --- a/wp-includes/http.php +++ b/wp-includes/http.php @@ -448,7 +448,7 @@ function get_allowed_http_origins() { * * @since 3.4.0 * - * @param null|string $origin Origin URL. If not provided, the value of get_http_origin() is used. + * @param string|null $origin Origin URL. If not provided, the value of get_http_origin() is used. * @return string Origin URL if allowed, empty string if not. */ function is_allowed_http_origin( $origin = null ) { diff --git a/wp-includes/plugin.php b/wp-includes/plugin.php index bd28be7899..5e9ccf08ca 100644 --- a/wp-includes/plugin.php +++ b/wp-includes/plugin.php @@ -363,7 +363,7 @@ function current_filter() { * @see did_action() * @global string[] $wp_current_filter Current filter. * - * @param null|string $hook_name Optional. Filter hook to check. Defaults to null, + * @param string|null $hook_name Optional. Filter hook to check. Defaults to null, * which checks if any filter is currently being run. * @return bool Whether the filter is currently in the stack. */ diff --git a/wp-includes/revision.php b/wp-includes/revision.php index a039c706fe..7874a897fb 100644 --- a/wp-includes/revision.php +++ b/wp-includes/revision.php @@ -584,7 +584,7 @@ function wp_get_last_revision_id_and_total_count( $post = 0 ) { * @since 5.9.0 * * @param int|WP_Post $post Optional. Post ID or WP_Post object. Default is global `$post`. - * @return null|string The URL for editing revisions on the given post, otherwise null. + * @return string|null The URL for editing revisions on the given post, otherwise null. */ function wp_get_post_revisions_url( $post = 0 ) { $post = get_post( $post ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 6321aef658..63d76a5260 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.1-alpha-53769'; +$wp_version = '6.1-alpha-53770'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.