@@ -63,13 +63,13 @@ |
||
63 | 63 | $indent = ( $depth ) ? str_repeat( "\t", $depth ) : ''; |
64 | 64 | |
65 | 65 | /** |
66 | - * Dividers, Headers or Disabled |
|
67 | - * ============================= |
|
68 | - * Determine whether the item is a Divider, Header, Disabled or regular |
|
69 | - * menu item. To prevent errors we use the strcasecmp() function to so a |
|
70 | - * comparison that is not case sensitive. The strcasecmp() function returns |
|
71 | - * a 0 if the strings are equal. |
|
72 | - */ |
|
66 | + * Dividers, Headers or Disabled |
|
67 | + * ============================= |
|
68 | + * Determine whether the item is a Divider, Header, Disabled or regular |
|
69 | + * menu item. To prevent errors we use the strcasecmp() function to so a |
|
70 | + * comparison that is not case sensitive. The strcasecmp() function returns |
|
71 | + * a 0 if the strings are equal. |
|
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 ) { |