Changeset 53060
- Timestamp:
- 04/04/2022 06:24:18 PM (3 years ago)
- Location:
- trunk/src
- Files:
-
- 22 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/admin-header.php
r52285 r53060 19 19 * @global WP_Screen $current_screen WordPress current screen object. 20 20 * @global WP_Locale $wp_locale WordPress date and time locale object. 21 * @global string $pagenow 21 * @global string $pagenow The filename of the current screen. 22 22 * @global string $update_title 23 23 * @global int $total_update_count -
trunk/src/wp-admin/admin.php
r51475 r53060 117 117 118 118 /** 119 * $pagenow is set in vars.php 120 * $wp_importers is sometimes set in wp-admin/includes/import.php 121 * The remaining variables are imported as globals elsewhere, declared as globals here 122 * 123 * @global string $pagenow 119 * $pagenow is set in vars.php. 120 * $wp_importers is sometimes set in wp-admin/includes/import.php. 121 * The remaining variables are imported as globals elsewhere, declared as globals here. 122 * 123 * @global string $pagenow The filename of the current screen. 124 124 * @global array $wp_importers 125 125 * @global string $hook_suffix … … 377 377 * 378 378 * The dynamic portion of the hook name, `$pagenow`, is a global variable 379 * referring to the filename of the current page, such as 'admin.php',379 * referring to the filename of the current screen, such as 'admin.php', 380 380 * 'post-new.php' etc. A complete hook for the latter would be 381 381 * 'load-post-new.php'. -
trunk/src/wp-admin/includes/bookmark.php
r52659 r53060 328 328 * @access private 329 329 * 330 * @global string $pagenow 330 * @global string $pagenow The filename of the current screen. 331 331 */ 332 332 function wp_link_manager_disabled_message() { -
trunk/src/wp-admin/includes/file.php
r52978 r53060 2147 2147 * @since 4.6.0 The `$context` parameter default changed from `false` to an empty string. 2148 2148 * 2149 * @global string $pagenow 2149 * @global string $pagenow The filename of the current screen. 2150 2150 * 2151 2151 * @param string $form_post The URL to post the form to. -
trunk/src/wp-admin/includes/misc.php
r52732 r53060 1277 1277 * @since 3.8.0 1278 1278 * 1279 * @global string $pagenow 1279 * @global string $pagenow The filename of the current screen. 1280 1280 * 1281 1281 * @param array $settings An array of Heartbeat settings. -
trunk/src/wp-admin/includes/ms.php
r52332 r53060 693 693 * 694 694 * @global int $wp_db_version WordPress database version. 695 * @global string $pagenow 695 * @global string $pagenow The filename of the current screen. 696 696 * 697 697 * @return void|false Void on success. False if the current user is not a super admin. … … 1030 1030 * @since 4.6.0 1031 1031 * 1032 * @global string $pagenow 1032 * @global string $pagenow The filename of the current screen. 1033 1033 * 1034 1034 * @param array $args { -
trunk/src/wp-admin/includes/plugin.php
r52934 r53060 1859 1859 * @global array $menu 1860 1860 * @global array $submenu 1861 * @global string $pagenow 1861 * @global string $pagenow The filename of the current screen. 1862 1862 * @global string $typenow 1863 1863 * @global string $plugin_page … … 1950 1950 * @global array $menu 1951 1951 * @global array $submenu 1952 * @global string $pagenow 1952 * @global string $pagenow The filename of the current screen. 1953 1953 * @global string $plugin_page 1954 1954 * @global string $typenow … … 2085 2085 * @since 1.5.0 2086 2086 * 2087 * @global string $pagenow 2087 * @global string $pagenow The filename of the current screen. 2088 2088 * @global array $menu 2089 2089 * @global array $submenu … … 2468 2468 * @since 5.2.0 2469 2469 * 2470 * @global string $pagenow 2470 * @global string $pagenow The filename of the current screen. 2471 2471 */ 2472 2472 function paused_plugins_notice() { … … 2501 2501 * @access private 2502 2502 * 2503 * @global string $pagenow 2504 * @global string $wp_version 2503 * @global string $pagenow The filename of the current screen. 2504 * @global string $wp_version The WordPress version string. 2505 2505 */ 2506 2506 function deactivated_plugins_notice() { -
trunk/src/wp-admin/includes/theme.php
r53002 r53060 1186 1186 * @since 5.2.0 1187 1187 * 1188 * @global string $pagenow 1188 * @global string $pagenow The filename of the current screen. 1189 1189 */ 1190 1190 function paused_themes_notice() { -
trunk/src/wp-admin/includes/update-core.php
r52640 r53060 1555 1555 * 1556 1556 * @global string $wp_version The WordPress version string. 1557 * @global string $pagenow 1557 * @global string $pagenow The filename of the current screen. 1558 1558 * @global string $action 1559 1559 * -
trunk/src/wp-admin/includes/update.php
r52978 r53060 278 278 * @since 2.3.0 279 279 * 280 * @global string $pagenow 280 * @global string $pagenow The filename of the current screen. 281 281 * @return void|false 282 282 */ 283 283 function update_nag() { 284 global $pagenow; 285 284 286 if ( is_multisite() && ! current_user_can( 'update_core' ) ) { 285 287 return false; 286 288 } 287 288 global $pagenow;289 289 290 290 if ( 'update-core.php' === $pagenow ) { -
trunk/src/wp-admin/includes/user.php
r52978 r53060 511 511 * @since 2.8.0 512 512 * 513 * @global string $pagenow 513 * @global string $pagenow The filename of the current screen. 514 514 */ 515 515 function default_password_nag() { 516 516 global $pagenow; 517 517 518 // Short-circuit it. 518 519 if ( 'profile.php' === $pagenow || ! get_user_option( 'default_password_nag' ) ) { -
trunk/src/wp-includes/admin-bar.php
r52414 r53060 1234 1234 * 1235 1235 * @global bool $show_admin_bar 1236 * @global string $pagenow 1236 * @global string $pagenow The filename of the current screen. 1237 1237 * 1238 1238 * @return bool Whether the admin bar should be showing. -
trunk/src/wp-includes/class-wp-customize-manager.php
r53059 r53060 501 501 * @since 3.4.0 502 502 * 503 * @global string $pagenow 503 * @global string $pagenow The filename of the current screen. 504 504 */ 505 505 public function setup_theme() { … … 608 608 * @since 4.9.0 609 609 * 610 * @global string $pagenow 610 * @global string $pagenow The filename of the current screen. 611 611 */ 612 612 public function establish_loaded_changeset() { … … 3286 3286 * @since 4.9.0 3287 3287 * 3288 * @global string $pagenow 3288 * @global string $pagenow The filename of the current screen. 3289 3289 * 3290 3290 * @param array $settings Current settings to filter. -
trunk/src/wp-includes/class-wp-recovery-mode-link-service.php
r50407 r53060 66 66 * @since 5.2.0 67 67 * 68 * @global string $pagenow 68 * @global string $pagenow The filename of the current screen. 69 69 * 70 70 * @param int $ttl Number of seconds the link should be valid for. -
trunk/src/wp-includes/functions.php
r53045 r53060 8400 8400 * @since 5.2.0 8401 8401 * 8402 * @global string $wp_version WordPress version.8402 * @global string $wp_version The WordPress version string. 8403 8403 * 8404 8404 * @param string $required Minimum required WordPress version. -
trunk/src/wp-includes/functions.wp-scripts.php
r53053 r53060 259 259 * @since 2.1.0 260 260 * 261 * @global string $pagenow 261 * @global string $pagenow The filename of the current screen. 262 262 * 263 263 * @param string $handle Name of the script to be removed. -
trunk/src/wp-includes/l10n.php
r52933 r53060 115 115 * @since 5.0.0 116 116 * 117 * @global string $pagenow 117 * @global string $pagenow The filename of the current screen. 118 118 * 119 119 * @return string The determined locale. -
trunk/src/wp-includes/load.php
r52398 r53060 887 887 * @access private 888 888 * 889 * @global string $pagenow The filename of the current screen. 890 * 889 891 * @return string[] Array of absolute paths to theme directories. 890 892 */ … … 967 969 * @since 5.2.0 968 970 * 969 * @global string $pagenow 971 * @global string $pagenow The filename of the current screen. 970 972 * 971 973 * @return bool True if the current endpoint should be protected. … … 1747 1749 * @since 5.6.1 1748 1750 * 1749 * @global string $pagenow The current page.1751 * @global string $pagenow The filename of the current screen. 1750 1752 * 1751 1753 * @param string $context The context to check for protection. Accepts 'login', 'admin', and 'front'. -
trunk/src/wp-includes/post.php
r53058 r53060 6578 6578 * @since 2.1.0 6579 6579 * 6580 * @global string $pagenow 6580 * @global string $pagenow The filename of the current screen. 6581 6581 * 6582 6582 * @param int $attachment_id Optional. Attachment post ID. Defaults to global $post. -
trunk/src/wp-includes/script-loader.php
r53025 r53060 2848 2848 * 2849 2849 * @since 5.8.0 2850 * 2851 * @global string $pagenow The filename of the current screen. 2850 2852 */ 2851 2853 function wp_add_iframed_editor_assets_html() { -
trunk/src/wp-includes/user.php
r53018 r53060 3713 3713 * @since 4.9.0 This function was moved from wp-admin/includes/ms.php so it's no longer Multisite specific. 3714 3714 * 3715 * @global string $pagenow 3715 * @global string $pagenow The filename of the current screen. 3716 3716 */ 3717 3717 function new_user_email_admin_notice() { -
trunk/src/wp-includes/vars.php
r52825 r53060 3 3 * Creates common globals for the rest of WordPress 4 4 * 5 * Sets $pagenow global which is the current page. Checks6 * for the browser to set which one is currently being used.5 * Sets $pagenow global which is the filename of the current screen. 6 * Checks for the browser to set which one is currently being used. 7 7 * 8 8 * Detects which user environment WordPress is being used on.
Note: See TracChangeset
for help on using the changeset viewer.