mirror of
https://github.com/WordPress/WordPress.git
synced 2024-06-29 00:04:58 +02:00
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
This commit is contained in:
parent
96f963a2b9
commit
0d52ba511c
|
@ -2187,9 +2187,10 @@ function wp_common_block_scripts_and_styles() {
|
||||||
* Checks if the editor scripts and styles for all registered block types
|
* Checks if the editor scripts and styles for all registered block types
|
||||||
* should be enqueued on the current screen.
|
* should be enqueued on the current screen.
|
||||||
*
|
*
|
||||||
|
* @since 5.6.0
|
||||||
* @access private
|
* @access private
|
||||||
*
|
*
|
||||||
* @return boolean
|
* @return bool
|
||||||
*/
|
*/
|
||||||
function _should_load_block_editor_scripts_and_styles() {
|
function _should_load_block_editor_scripts_and_styles() {
|
||||||
global $current_screen;
|
global $current_screen;
|
||||||
|
@ -2202,7 +2203,7 @@ function _should_load_block_editor_scripts_and_styles() {
|
||||||
*
|
*
|
||||||
* @since 5.6.0
|
* @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 );
|
return apply_filters( 'should_load_block_editor_scripts_and_styles', $is_block_editor_screen );
|
||||||
}
|
}
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user