diff --git a/includes/Performance.php b/includes/Performance.php index c3c9253..c58fda6 100644 --- a/includes/Performance.php +++ b/includes/Performance.php @@ -239,12 +239,13 @@ public function adminBarMenu( \WP_Admin_Bar $wp_admin_bar ) { ); } + $brand = $this->container->get( 'plugin' )['id']; $wp_admin_bar->add_node( array( 'id' => 'nfd_purge_menu-cache_settings', 'title' => __( 'Cache Settings', 'newfold-module-performance' ), 'parent' => 'nfd_purge_menu', - 'href' => admin_url( 'options-general.php#' . Performance::SETTINGS_ID ), + 'href' => admin_url( "admin.php?page=$brand#/performance" ), ) ); }