Docs: Add missing description for $current_screen global.
Props mukesh27. Fixes #45604. See #47110. Built from https://develop.svn.wordpress.org/trunk@45740 git-svn-id: http://core.svn.wordpress.org/trunk@45551 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -2708,7 +2708,7 @@ function script_concat_settings() {
|
||||
*
|
||||
* @since 5.0.0
|
||||
*
|
||||
* @global WP_Screen $current_screen
|
||||
* @global WP_Screen $current_screen WordPress current screen object.
|
||||
*/
|
||||
function wp_common_block_scripts_and_styles() {
|
||||
global $current_screen;
|
||||
@@ -2742,7 +2742,7 @@ function wp_common_block_scripts_and_styles() {
|
||||
*
|
||||
* @since 5.0.0
|
||||
*
|
||||
* @global WP_Screen $current_screen
|
||||
* @global WP_Screen $current_screen WordPress current screen object.
|
||||
*/
|
||||
function wp_enqueue_registered_block_scripts_and_styles() {
|
||||
global $current_screen;
|
||||
|
||||
Reference in New Issue
Block a user