Make WordPress Core

Changeset 57772

Timestamp:
03/05/2024 11:41:53 AM (5 months ago)
Author:
SergeyBiryukov
Message:

Docs: Document the usage of $_paused_plugins and $_paused_themes globals.

Follow-up to [44973].

Props upadalavipul, sabernhardt.
See #60021.

Location:
trunk/src
Files:
3 edited

Legend:

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

    r57770 r57772  
    24572457 *
    24582458 * @since 5.2.0
     2459
     2460
    24592461 *
    24602462 * @param string $plugin Path to the plugin file relative to the plugins directory.
     
    24792481 *
    24802482 * @since 5.2.0
     2483
     2484
    24812485 *
    24822486 * @param string $plugin Path to the plugin file relative to the plugins directory.
     
    25542558 * @since 5.2.0
    25552559 *
    2556  * @global string $pagenow The filename of the current screen.
     2560 * @global string                       $pagenow         The filename of the current screen.
     2561 * @global WP_Paused_Extensions_Storage $_paused_plugins
    25572562 */
    25582563function paused_plugins_notice() {
  • trunk/src/wp-admin/includes/theme.php

    r57685 r57772  
    11111111 *
    11121112 * @since 5.2.0
     1113
     1114
    11131115 *
    11141116 * @param string $theme Path to the theme directory relative to the themes directory.
     
    11311133 *
    11321134 * @since 5.2.0
     1135
     1136
    11331137 *
    11341138 * @param string $theme Path to the theme directory relative to the themes
     
    12221226 * @since 5.2.0
    12231227 *
    1224  * @global string $pagenow The filename of the current screen.
     1228 * @global string                       $pagenow        The filename of the current screen.
     1229 * @global WP_Paused_Extensions_Storage $_paused_themes
    12251230 */
    12261231function paused_themes_notice() {
  • trunk/src/wp-includes/load.php

    r57685 r57772  
    10141014 *
    10151015 * @since 5.2.0
     1016
     1017
    10161018 *
    10171019 * @param string[] $plugins Array of absolute plugin main file paths.
     
    10881090 *
    10891091 * @since 5.2.0
     1092
     1093
    10901094 *
    10911095 * @param string[] $themes Array of absolute theme directory paths.
Note: See TracChangeset for help on using the changeset viewer.