[wp-trac] [WordPress Trac] #44635: Getting an error after installing Gutenberg after Classic Editor.

WordPress Trac noreply at wordpress.org
Tue Jul 24 19:56:41 UTC 2018


#44635: Getting an error after installing Gutenberg after Classic Editor.
--------------------------+------------------------------
 Reporter:  chetan200891  |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Editor        |     Version:  trunk
 Severity:  major         |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+------------------------------

Comment (by audrasjb):

 Hey,

 In `wp-admin/plugins.php`, L.69:
 When I replace:

 {{{#!php
                                 if ( 'gutenberg/gutenberg.php' === $plugin
 ) {
                                         wp_redirect( self_admin_url(
 "admin.php?page=gutenberg" ) );
                                 } else {
                                         wp_redirect( self_admin_url() );
                                 }
 }}}

 With:
 {{{#!php
                         } else if ( isset( $_GET['from'] ) && 'try-
 gutenberg' == $_GET['from'] ) {
                                 wp_redirect( self_admin_url() );
 }}}

 It works fine on my side.

 Cheers,

 Jb

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/44635#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list