Skip to content

Commit

Permalink
Corrects underpin autoloader
Browse files Browse the repository at this point in the history
  • Loading branch information
alexstandiford committed May 11, 2021
1 parent 6a2f6d9 commit 4ee030b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin-notices.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

// Add this loader.
add_action( 'underpin/before_setup', function ( $file, $class ) {
if ( ! defined( 'UNDERPIN_ADMIN_MENU_ROOT_DIR' ) ) {
if ( ! defined( 'UNDERPIN_ADMIN_NOTICES_ROOT_DIR' ) ) {
define( 'UNDERPIN_ADMIN_NOTICES_ROOT_DIR', plugin_dir_path( __FILE__ ) );
}
require_once( UNDERPIN_ADMIN_NOTICES_ROOT_DIR . 'lib/abstracts/Admin_Notice.php' );
Expand Down

0 comments on commit 4ee030b

Please sign in to comment.