Skip to content

Commit

Permalink
Preparation Elsa
Browse files Browse the repository at this point in the history
  • Loading branch information
circuscode committed Jun 24, 2024
1 parent fcc11f1 commit 0bfb25c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ Release pending.
* Added: Block Editor Support Custom Post Type Pinseldisko
* Added: Block Editor Support Custom Post Type Raketenstaub
* Changed: Maintenance Mode Internal Processing
* Removed: Adding Current Menu Item

### 0.7

Expand Down
3 changes: 2 additions & 1 deletion unmus_menu.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ function unmus_menu_current_item_class( $classes, $item ) {
return $classes;

}
add_filter( 'nav_menu_css_class', 'unmus_menu_current_item_class', 10, 2 );
// This is not working anymore with Block Themes :-(
// add_filter( 'nav_menu_css_class', 'unmus_menu_current_item_class', 10, 2 );

?>

0 comments on commit 0bfb25c

Please sign in to comment.