You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you encounter errors with the above code use a check like this to return clean errors to help diagnose the problem.
37
37
38
38
```php
39
-
if ( ! file_exists( get_template_directory() . 'wp-bootstrap-navwalker.php' ) ) {
39
+
if ( ! file_exists( get_template_directory() . '/wp-bootstrap-navwalker.php' ) ) {
40
40
// file does not exist... return an error.
41
41
return new WP_Error( 'wp-bootstrap-navwalker-missing', __( 'It appears the wp-bootstrap-navwalker.php file may be missing.', 'wp-bootstrap-navwalker' ) );
0 commit comments