File tree Expand file tree Collapse file tree 2 files changed +3
-8
lines changed Expand file tree Collapse file tree 2 files changed +3
-8
lines changed Original file line number Diff line number Diff line change 41
41
module-repo : ${{ github.repository }}
42
42
module-branch : ${{ needs.setup.outputs.branch }}
43
43
plugin-repo : ' newfold-labs/wp-plugin-hostgator'
44
+ plugin-branch : ' update/plugin-parity'
44
45
secrets : inherit
45
46
46
47
web :
61
62
module-repo : ${{ github.repository }}
62
63
module-branch : ${{ needs.setup.outputs.branch }}
63
64
plugin-repo : ' newfold-labs/wp-plugin-crazy-domains'
65
+ plugin-branch : ' update/plugin-parity'
64
66
secrets : inherit
65
67
66
68
mojo :
Original file line number Diff line number Diff line change @@ -253,7 +253,6 @@ public function admin_bar_menu( \WP_Admin_Bar $wp_admin_bar ) {
253
253
}
254
254
}
255
255
256
- $ brand = $ this ->container ->get ( 'plugin ' )['id ' ];
257
256
$ wp_admin_bar ->add_node (
258
257
array (
259
258
'id ' => 'nfd_purge_menu-cache_settings ' ,
@@ -271,18 +270,12 @@ public function admin_bar_menu( \WP_Admin_Bar $wp_admin_bar ) {
271
270
* @return void
272
271
*/
273
272
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
273
281
274
add_management_page (
282
275
__ ( 'Performance ' , 'wp-module-performance ' ),
283
276
__ ( 'Performance ' , 'wp-module-performance ' ),
284
277
'manage_options ' ,
285
- $ page_slug ,
278
+ self :: PAGE_SLUG ,
286
279
array ( __CLASS__ , 'render_performance_app ' )
287
280
);
288
281
}
You can’t perform that action at this time.
0 commit comments