Make WordPress Core

Ticket #60021: 60021.6.patch

File 60021.6.patch, 1.1 KB (added by upadalavipul, 2 years ago)
  • includes/plugin.php

     
    23852385 * Conditional Tags} article in the Theme Developer Handbook.
    23862386 *
    23872387 * @since 5.2.0
     2388 *
     2389 * @global WP_Paused_Extensions_Storage wp_paused_plugins.
    23882390 *
    23892391 * @param string $plugin Path to the plugin file relative to the plugins directory.
    23902392 * @return bool True, if in the list of paused plugins. False, if not in the list.
     
    24072409 * Gets the error that was recorded for a paused plugin.
    24082410 *
    24092411 * @since 5.2.0
     2412 *
     2413 * @global WP_Paused_Extensions_Storage wp_paused_plugins.
    24102414 *
    24112415 * @param string $plugin Path to the plugin file relative to the plugins directory.
    24122416 * @return array|false Array of error information as returned by `error_get_last()`,
     
    24832487 * @since 5.2.0
    24842488 *
    24852489 * @global string $pagenow The filename of the current screen.
     2490 * @global WP_Paused_Extensions_Storage wp_paused_plugins.
    24862491 */
    24872492function paused_plugins_notice() {
    24882493        if ( 'plugins.php' === $GLOBALS['pagenow'] ) {