Skip to content

Commit 8990f93

Browse files
authored
Merge pull request #323 from maghffu/patch-1
Fix error require file wp-bootstrap-navwalker
2 parents 8d35396 + 53a3981 commit 8990f93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ if ( ! file_exists( get_template_directory() . '/wp-bootstrap-navwalker.php' ) )
4141
return new WP_Error( 'wp-bootstrap-navwalker-missing', __( 'It appears the wp-bootstrap-navwalker.php file may be missing.', 'wp-bootstrap-navwalker' ) );
4242
} else {
4343
// file exists... require it.
44-
require_once get_template_directory . 'wp-bootstrap-navwalker.php';
44+
require_once get_template_directory() . '/wp-bootstrap-navwalker.php';
4545
}
4646
```
4747

0 commit comments

Comments
 (0)