Make WordPress Core


Ignore:
Timestamp:
11/21/2018 04:34:28 PM (6 years ago)
Author:
mcsf
Message:

Warn users of Gutenberg plugin of its deactivation upon 5.0 upgrade.

Fixes #45073.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/5.0/src/wp-admin/includes/upgrade.php

    r43912 r43921  
    18251825            return;
    18261826        }
     1827
     1828        $was_active = is_plugin_active( 'gutenberg/gutenberg.php' );
     1829        if ( $was_active ) {
     1830            // FIXME: Leave until 501 or 510 to clean up.
     1831            update_site_option( 'upgrade_500_was_gutenberg_active', '1' );
     1832        }
     1833
    18271834        deactivate_plugins( array( 'gutenberg/gutenberg.php' ), true );
    18281835    }
Note: See TracChangeset for help on using the changeset viewer.