Make WordPress Core

Changeset 45740


Ignore:
Timestamp:
08/04/2019 02:02:10 AM (5 years ago)
Author:
SergeyBiryukov
Message:

Docs: Add missing description for $current_screen global.

Props mukesh27.
Fixes #45604. See #47110.

Location:
trunk/src
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/admin-header.php

    r45737 r45740  
    1717 * @global string    $title
    1818 * @global string    $hook_suffix
    19  * @global WP_Screen $current_screen
     19 * @global WP_Screen $current_screen     WordPress current screen object.
    2020 * @global WP_Locale $wp_locale          WordPress date and time locale object.
    2121 * @global string    $pagenow
  • trunk/src/wp-admin/includes/class-wp-screen.php

    r45583 r45740  
    393393     * @since 3.3.0
    394394     *
    395      * @global WP_Screen $current_screen
     395     * @global WP_Screen $current_screen WordPress current screen object.
    396396     * @global string    $taxnow
    397397     * @global string    $typenow
  • trunk/src/wp-admin/includes/screen.php

    r42343 r45740  
    216216 * @since 3.1.0
    217217 *
    218  * @global WP_Screen $current_screen
     218 * @global WP_Screen $current_screen WordPress current screen object.
    219219 *
    220220 * @return WP_Screen|null Current screen object or null when screen not defined.
  • trunk/src/wp-includes/load.php

    r45737 r45740  
    986986 * @since 1.5.1
    987987 *
    988  * @global WP_Screen $current_screen
     988 * @global WP_Screen $current_screen WordPress current screen object.
    989989 *
    990990 * @return bool True if inside WordPress administration interface, false otherwise.
     
    10101010 * @since 3.1.0
    10111011 *
    1012  * @global WP_Screen $current_screen
     1012 * @global WP_Screen $current_screen WordPress current screen object.
    10131013 *
    10141014 * @return bool True if inside WordPress blog administration pages.
     
    10371037 * @since 3.1.0
    10381038 *
    1039  * @global WP_Screen $current_screen
     1039 * @global WP_Screen $current_screen WordPress current screen object.
    10401040 *
    10411041 * @return bool True if inside WordPress network administration pages.
     
    10611061 * @since 3.1.0
    10621062 *
    1063  * @global WP_Screen $current_screen
     1063 * @global WP_Screen $current_screen WordPress current screen object.
    10641064 *
    10651065 * @return bool True if inside WordPress user administration pages.
  • trunk/src/wp-includes/script-loader.php

    r45737 r45740  
    27092709 * @since 5.0.0
    27102710 *
    2711  * @global WP_Screen $current_screen
     2711 * @global WP_Screen $current_screen WordPress current screen object.
    27122712 */
    27132713function wp_common_block_scripts_and_styles() {
     
    27432743 * @since 5.0.0
    27442744 *
    2745  * @global WP_Screen $current_screen
     2745 * @global WP_Screen $current_screen WordPress current screen object.
    27462746 */
    27472747function wp_enqueue_registered_block_scripts_and_styles() {
Note: See TracChangeset for help on using the changeset viewer.