Completed
Pull Request — master (#304)
by
unknown
01:28
created
wp-bootstrap-navwalker.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
 			 * menu item. To prevent errors we use the strcasecmp() function to so a
70 70
 			 * comparison that is not case sensitive. The strcasecmp() function returns
71 71
 			 * a 0 if the strings are equal.
72
-                        */
72
+			 */
73 73
 			if ( 0 === strcasecmp( $item->attr_title, 'divider' ) && 1 === $depth ) {
74 74
 				$output .= $indent . '<li role="presentation" class="divider">';
75 75
 			} elseif ( 0 === strcasecmp( $item->title, 'divider' ) && 1 === $depth ) {
@@ -106,11 +106,11 @@  discard block
 block discarded – undo
106 106
 				$atts['rel']    = ! empty( $item->xfn )		? $item->xfn	: '';
107 107
 				// If item has_children add atts to a.
108 108
 				if ( $args->has_children ) {
109
-                $atts['href']           = '#';
110
-                $atts['data-toggle']    = 'dropdown';
111
-                $atts['class']          = 'dropdown-toggle';
112
-                $atts['aria-haspopup']  = 'true';
113
-            } else {
109
+				$atts['href']           = '#';
110
+				$atts['data-toggle']    = 'dropdown';
111
+				$atts['class']          = 'dropdown-toggle';
112
+				$atts['aria-haspopup']  = 'true';
113
+			} else {
114 114
 					$atts['href'] = ! empty( $item->url ) ? $item->url : '';
115 115
 				}
116 116
 				$atts = apply_filters( 'nav_menu_link_attributes', $atts, $item, $args );
Please login to merge, or discard this patch.