Skip to content

Commit 2bb3e58

Browse files
authored
1 parent 26a280a commit 2bb3e58

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

class-wp-bootstrap-navwalker.php

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
<?php
22
/**
3-
* WP Bootstrap Navwalker
3+
* WP Bootstrap Navwalker.
44
*
55
* @package WP-Bootstrap-Navwalker
6-
*/
7-
8-
/*
9-
* Class Name: WP_Bootstrap_Navwalker
6+
*
7+
* @wordpress-plugin
108
* Plugin Name: WP Bootstrap Navwalker
119
* Plugin URI: https://github.com/wp-bootstrap/wp-bootstrap-navwalker
1210
* Description: A custom WordPress nav walker class to implement the Bootstrap 4 navigation style in a custom theme using the WordPress built in menu manager.
@@ -20,7 +18,7 @@
2018
*/
2119

2220
/* Check if Class Exists. */
23-
if ( ! class_exists( 'WP_Bootstrap_Navwalker' ) ) {
21+
if ( ! class_exists( 'WP_Bootstrap_Navwalker' ) ) :
2422
/**
2523
* WP_Bootstrap_Navwalker class.
2624
*
@@ -552,4 +550,4 @@ private function linkmod_element_close( $linkmod_type ) {
552550
return $output;
553551
}
554552
}
555-
}
553+
endif;

0 commit comments

Comments
 (0)