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:
parent
7f7480cb2a
commit
6da93732e7
|
@ -16,7 +16,7 @@ if ( ! defined( 'WP_ADMIN' ) ) {
|
||||||
*
|
*
|
||||||
* @global string $title
|
* @global string $title
|
||||||
* @global string $hook_suffix
|
* @global string $hook_suffix
|
||||||
* @global WP_Screen $current_screen
|
* @global WP_Screen $current_screen WordPress current screen object.
|
||||||
* @global WP_Locale $wp_locale WordPress date and time locale object.
|
* @global WP_Locale $wp_locale WordPress date and time locale object.
|
||||||
* @global string $pagenow
|
* @global string $pagenow
|
||||||
* @global string $update_title
|
* @global string $update_title
|
||||||
|
|
|
@ -392,7 +392,7 @@ final class WP_Screen {
|
||||||
* @see set_current_screen()
|
* @see set_current_screen()
|
||||||
* @since 3.3.0
|
* @since 3.3.0
|
||||||
*
|
*
|
||||||
* @global WP_Screen $current_screen
|
* @global WP_Screen $current_screen WordPress current screen object.
|
||||||
* @global string $taxnow
|
* @global string $taxnow
|
||||||
* @global string $typenow
|
* @global string $typenow
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -215,7 +215,7 @@ function add_screen_option( $option, $args = array() ) {
|
||||||
*
|
*
|
||||||
* @since 3.1.0
|
* @since 3.1.0
|
||||||
*
|
*
|
||||||
* @global WP_Screen $current_screen
|
* @global WP_Screen $current_screen WordPress current screen object.
|
||||||
*
|
*
|
||||||
* @return WP_Screen|null Current screen object or null when screen not defined.
|
* @return WP_Screen|null Current screen object or null when screen not defined.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -985,7 +985,7 @@ function wp_clone( $object ) {
|
||||||
*
|
*
|
||||||
* @since 1.5.1
|
* @since 1.5.1
|
||||||
*
|
*
|
||||||
* @global WP_Screen $current_screen
|
* @global WP_Screen $current_screen WordPress current screen object.
|
||||||
*
|
*
|
||||||
* @return bool True if inside WordPress administration interface, false otherwise.
|
* @return bool True if inside WordPress administration interface, false otherwise.
|
||||||
*/
|
*/
|
||||||
|
@ -1009,7 +1009,7 @@ function is_admin() {
|
||||||
*
|
*
|
||||||
* @since 3.1.0
|
* @since 3.1.0
|
||||||
*
|
*
|
||||||
* @global WP_Screen $current_screen
|
* @global WP_Screen $current_screen WordPress current screen object.
|
||||||
*
|
*
|
||||||
* @return bool True if inside WordPress blog administration pages.
|
* @return bool True if inside WordPress blog administration pages.
|
||||||
*/
|
*/
|
||||||
|
@ -1036,7 +1036,7 @@ function is_blog_admin() {
|
||||||
*
|
*
|
||||||
* @since 3.1.0
|
* @since 3.1.0
|
||||||
*
|
*
|
||||||
* @global WP_Screen $current_screen
|
* @global WP_Screen $current_screen WordPress current screen object.
|
||||||
*
|
*
|
||||||
* @return bool True if inside WordPress network administration pages.
|
* @return bool True if inside WordPress network administration pages.
|
||||||
*/
|
*/
|
||||||
|
@ -1060,7 +1060,7 @@ function is_network_admin() {
|
||||||
*
|
*
|
||||||
* @since 3.1.0
|
* @since 3.1.0
|
||||||
*
|
*
|
||||||
* @global WP_Screen $current_screen
|
* @global WP_Screen $current_screen WordPress current screen object.
|
||||||
*
|
*
|
||||||
* @return bool True if inside WordPress user administration pages.
|
* @return bool True if inside WordPress user administration pages.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -2708,7 +2708,7 @@ function script_concat_settings() {
|
||||||
*
|
*
|
||||||
* @since 5.0.0
|
* @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() {
|
function wp_common_block_scripts_and_styles() {
|
||||||
global $current_screen;
|
global $current_screen;
|
||||||
|
@ -2742,7 +2742,7 @@ function wp_common_block_scripts_and_styles() {
|
||||||
*
|
*
|
||||||
* @since 5.0.0
|
* @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() {
|
function wp_enqueue_registered_block_scripts_and_styles() {
|
||||||
global $current_screen;
|
global $current_screen;
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.3-alpha-45739';
|
$wp_version = '5.3-alpha-45740';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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