WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #45178, comment 62


Ignore:
Timestamp:
11/22/2018 09:44:08 PM (7 months ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #45178, comment 62

    initial v1  
    11In 45178.14.diff: do not show the message at the top and the "Keep it Classic" section when the Classic Editor plugin is already installed.
    22
    3 Note: this assumes the plugin will not be included with the update, it simply checks `! file_exists( WP_PLUGIN_DIR . '/classic-editor/classic-editor.php' )`. If it is included, we will need to change that to `is_plugin_active()` and some of the text in the "Keep it Classic" section to refer to "activate" instead of "install".
     3Note: this assumes the plugin will not be included with the update, it simply checks `! file_exists( WP_PLUGIN_DIR . '/classic-editor/classic-editor.php' )`.
     4
     5If the plugin is included we will need to change that to `is_plugin_active()` and some of the text in the "Keep it Classic" section to refer to "activate" instead of "install".