Skip to content

Commit

Permalink
🔧 maintenance
Browse files Browse the repository at this point in the history
  • Loading branch information
geminorum committed Dec 13, 2023
1 parent 5d98019 commit b74d9c7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions inc/Misc/gTheme_Walker_Page.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,9 @@ public function start_el( &$output, $page, $depth = 0, $args = [], $current_page
$css_class[] = 'current_page_parent';
}

} else if ( $page->ID == get_option('page_for_posts') ) {
} else if ( $page->ID == get_option( 'page_for_posts' ) ) {

$css_class[] = 'current_page_parent';
$css_class[] = 'active';
}

$css_classes = implode( ' ', apply_filters( 'page_css_class', $css_class, $page, $depth, $args, $current_page ) );
Expand Down

0 comments on commit b74d9c7

Please sign in to comment.