Skip to content

Commit

Permalink
Add missing requires for plugin API and gutenberg plugin file
Browse files Browse the repository at this point in the history
  • Loading branch information
westonruter committed Jun 3, 2017
1 parent 317c663 commit e949610
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,9 @@
*/

_deprecated_file( __FILE__, '0.1.0' );

require_once ABSPATH . 'wp-admin/includes/plugin.php';
deactivate_plugins( array( 'gutenberg/index.php' ) );
activate_plugins( array( 'gutenberg/gutenberg.php' ) );

require_once dirname( __FILE__ ) . '/gutenberg.php';

0 comments on commit e949610

Please sign in to comment.