Make WordPress Core


Ignore:
Timestamp:
10/18/2017 10:03:39 AM (8 years ago)
Author:
pento
Message:

Dashboard: Introduce a "Try Gutenberg" callout.

To encourage more people to try Gutenberg, this new Dashboard box allows site users to easily install and try out Gutenberg.

Props pento, melchoyce, joen, karmatosed.
Fixes #41316.

File:
1 edited

Legend:

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

    r41584 r41895  
    6666            } else if ( isset($_GET['from']) && 'press-this' == $_GET['from'] ) {
    6767                wp_redirect( self_admin_url( "press-this.php") );
     68            } else if ( isset($_GET['from']) && 'try-gutenberg' == $_GET['from'] ) {
     69                wp_redirect( self_admin_url( "admin.php?page=gutenberg-demo") );
    6870            } else {
    6971                wp_redirect( self_admin_url("plugins.php?activate=true&plugin_status=$status&paged=$page&s=$s") ); // overrides the ?error=true one above
Note: See TracChangeset for help on using the changeset viewer.