From 0d52ba511cfe684713cc4ba84ee8ec6ba0ff8930 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 1 Oct 2020 01:14:04 +0000 Subject: [PATCH] Docs: Add missing `@since` entry for `_should_load_block_editor_scripts_and_styles()`. Follow-up to [49080]. See #51330. Built from https://develop.svn.wordpress.org/trunk@49081 git-svn-id: http://core.svn.wordpress.org/trunk@48843 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/script-loader.php | 5 +++-- wp-includes/version.php | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/wp-includes/script-loader.php b/wp-includes/script-loader.php index 72cc45d8a0..f97cac5d33 100644 --- a/wp-includes/script-loader.php +++ b/wp-includes/script-loader.php @@ -2187,9 +2187,10 @@ function wp_common_block_scripts_and_styles() { * Checks if the editor scripts and styles for all registered block types * should be enqueued on the current screen. * + * @since 5.6.0 * @access private * - * @return boolean + * @return bool */ function _should_load_block_editor_scripts_and_styles() { global $current_screen; @@ -2202,7 +2203,7 @@ function _should_load_block_editor_scripts_and_styles() { * * @since 5.6.0 * - * @param boolean $is_block_editor_screen Current value of the flag + * @param bool $is_block_editor_screen Current value of the flag. */ return apply_filters( 'should_load_block_editor_scripts_and_styles', $is_block_editor_screen ); } diff --git a/wp-includes/version.php b/wp-includes/version.php index 99493cdc0b..a8c5ac9ae9 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.6-alpha-49080'; +$wp_version = '5.6-alpha-49081'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.