Skip to content

Commit

Permalink
Moved require statement.
Browse files Browse the repository at this point in the history
  • Loading branch information
zArubaru authored Feb 2, 2017
1 parent b771497 commit 3b847c8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@

namespace DustPress\Components;

require_once('component.php');
require_once( ABSPATH . 'wp-admin/includes/plugin.php' );
require_once( 'component.php' );

class Components {
private static $components;
Expand Down Expand Up @@ -249,4 +250,4 @@ private function __construct() {}

if ( is_plugin_active( 'advanced-custom-fields-pro/acf.php' ) ) {
Components::execute();
}
}

0 comments on commit 3b847c8

Please sign in to comment.