We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4bb6161 commit 91ccf4dCopy full SHA for 91ccf4d
includes/Performance.php
@@ -271,18 +271,12 @@ public function admin_bar_menu( \WP_Admin_Bar $wp_admin_bar ) {
271
* @return void
272
*/
273
public function add_management_page() {
274
- $brand = $this->container->get( 'plugin' )['id'];
275
-
276
- // Determine the correct page slug
277
- $page_slug = ( 'bluehost' === $brand )
278
- ? self::PAGE_SLUG
279
- : "$brand#/performance";
280
281
add_management_page(
282
__( 'Performance', 'wp-module-performance' ),
283
284
'manage_options',
285
- $page_slug,
+ self::PAGE_SLUG,
286
array( __CLASS__, 'render_performance_app' )
287
);
288
}
0 commit comments