Skip to content

Commit 4ee030b

Browse files
Corrects underpin autoloader
1 parent 6a2f6d9 commit 4ee030b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

admin-notices.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
// Add this loader.
77
add_action( 'underpin/before_setup', function ( $file, $class ) {
8-
if ( ! defined( 'UNDERPIN_ADMIN_MENU_ROOT_DIR' ) ) {
8+
if ( ! defined( 'UNDERPIN_ADMIN_NOTICES_ROOT_DIR' ) ) {
99
define( 'UNDERPIN_ADMIN_NOTICES_ROOT_DIR', plugin_dir_path( __FILE__ ) );
1010
}
1111
require_once( UNDERPIN_ADMIN_NOTICES_ROOT_DIR . 'lib/abstracts/Admin_Notice.php' );

0 commit comments

Comments
 (0)