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 22b1496 commit f0619a0Copy full SHA for f0619a0
projects/packages/jetpack-mu-wpcom/src/features/wpcom-admin-menu/wpcom-admin-menu.php
@@ -485,10 +485,8 @@ function add_submenu_jetpack_forms() {
485
return;
486
}
487
488
- // @phan-suppress-next-line PhanRedundantCondition
489
- $handler = $has_switch_class
490
- ? ( new Dashboard_View_Switch() )->get_forms_admin_url()
491
- : 'edit.php?post_type=feedback';
+ // This is so we don't just hardcode get_admin_url() . 'admin.php?page=jetpack-forms-admin', should we?
+ $handler = ( new Dashboard_View_Switch() )->get_forms_admin_url();
492
493
add_submenu_page(
494
'jetpack',
0 commit comments