From 062db8120d58a7bc77922c72f14e4c20f4324ea2 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 1 Oct 2020 01:12:16 +0000 Subject: [PATCH] Docs: Add missing `@since` entry for `_should_load_block_editor_scripts_and_styles()`. Follow-up to [49080]. See #51330. git-svn-id: https://develop.svn.wordpress.org/trunk@49081 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/script-loader.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/wp-includes/script-loader.php b/src/wp-includes/script-loader.php index 72cc45d8a0..f97cac5d33 100644 --- a/src/wp-includes/script-loader.php +++ b/src/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 ); }