Refactor debug information structure across plugins

Updated the structure of debug information methods by replacing `array_merge` with simpler array extensions and renaming variables for clarity. This ensures consistent handling of role metadata and improves readability and maintainability of code across multiple plugins.
This commit is contained in:
Mykyta Synelnikov
2025-06-24 16:42:20 +03:00
parent c347d8bcf7
commit d2dcfb645a
3 changed files with 1478 additions and 1534 deletions
@@ -1403,6 +1403,7 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
'args' => array(
'textarea_rows' => 6,
),
'conditional' => array( 'account_tab_delete', '=', '1' ),
),
array(
'id' => 'delete_account_no_pass_required_text',
@@ -1412,6 +1413,7 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
'args' => array(
'textarea_rows' => 6,
),
'conditional' => array( 'account_tab_delete', '=', '1' ),
),
),
),