diff --git a/includes/admin/class-wc-admin-menus.php b/includes/admin/class-wc-admin-menus.php index e15c6b3fe78..cfe052da251 100644 --- a/includes/admin/class-wc-admin-menus.php +++ b/includes/admin/class-wc-admin-menus.php @@ -215,10 +215,11 @@ class WC_Admin_Menus { /** * Custom menu order. * + * @param bool $enabled Whether custom menu ordering is already enabled. * @return bool */ - public function custom_menu_order() { - return current_user_can( 'manage_woocommerce' ); + public function custom_menu_order( $enabled ) { + return $enabled || current_user_can( 'manage_woocommerce' ); } /**