Skip to content

Commit bca30ca

Browse files
authored
fixx class check for short inits
1 parent 3ccd582 commit bca30ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wp_bem_menu.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*/
77

88
// Skip loading the walker if not in a WordPress context
9-
if ( ! defined('WPINC') ) {
9+
if ( ! defined('WPINC') || ! class_exists( 'Walker_Nav_Menu' ) ) {
1010
return;
1111
}
1212

0 commit comments

Comments
 (0)