diff --git a/public_html/wp-content/themes/wporg-pattern-directory-2024/inc/block-config.php b/public_html/wp-content/themes/wporg-pattern-directory-2024/inc/block-config.php index 4d89cb47..39a787f7 100644 --- a/public_html/wp-content/themes/wporg-pattern-directory-2024/inc/block-config.php +++ b/public_html/wp-content/themes/wporg-pattern-directory-2024/inc/block-config.php @@ -306,7 +306,7 @@ function add_site_navigation_menus( $menus ) { $menu[] = array( 'label' => __( 'My favorites', 'wporg-patterns' ), 'url' => '/favorites/', - 'className' => 'has-separator' + 'className' => 'has-separator', ); if ( is_user_logged_in() ) { $menu[] = array( @@ -315,7 +315,6 @@ function add_site_navigation_menus( $menus ) { ); } - $current_status = isset( $wp_query->query['status'] ) ? $wp_query->query['status'] : false; $statuses = array( array(