From c534f0fd1abeebc7dd32f0e53d974ba3ced31da4 Mon Sep 17 00:00:00 2001 From: tbradsha <32492176+tbradsha@users.noreply.github.com> Date: Fri, 13 Mar 2026 13:23:57 -0600 Subject: [PATCH 1/7] Add translators message --- projects/plugins/crm/admin/contact/add-file.page.php | 1 + 1 file changed, 1 insertion(+) diff --git a/projects/plugins/crm/admin/contact/add-file.page.php b/projects/plugins/crm/admin/contact/add-file.page.php index 1f5e16fb7b7c..bc50d4c18213 100644 --- a/projects/plugins/crm/admin/contact/add-file.page.php +++ b/projects/plugins/crm/admin/contact/add-file.page.php @@ -105,6 +105,7 @@ function zeroBSCRM_render_add_or_edit_file() { if ( isset( $upload['error'] ) && $upload['error'] != 0 ) { echo "
'; $error_while_adding = true; From d1c18dafaf876efd942b5a9f2a2bfa86278b7eb3 Mon Sep 17 00:00:00 2001 From: tbradsha <32492176+tbradsha@users.noreply.github.com> Date: Fri, 13 Mar 2026 13:24:31 -0600 Subject: [PATCH 2/7] Remove global redeclaration --- projects/plugins/crm/admin/system/system-status.page.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/plugins/crm/admin/system/system-status.page.php b/projects/plugins/crm/admin/system/system-status.page.php index 9f08e7e03d92..62e3f2978113 100644 --- a/projects/plugins/crm/admin/system/system-status.page.php +++ b/projects/plugins/crm/admin/system/system-status.page.php @@ -41,7 +41,7 @@ function zeroBSCRM_render_systemstatus_page() { // hard-check database tables & report - global $ZBSCRM_t, $wpdb; + global $ZBSCRM_t; $missingTables = array(); // then we cycle through our tables :) - means all keys NEED to be kept up to date :) From ea47d07808b623e1709d75e14faf1a7175759720 Mon Sep 17 00:00:00 2001 From: tbradsha <32492176+tbradsha@users.noreply.github.com> Date: Fri, 13 Mar 2026 13:25:24 -0600 Subject: [PATCH 3/7] Remove unused var --- projects/plugins/crm/admin/system/system-status.page.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/plugins/crm/admin/system/system-status.page.php b/projects/plugins/crm/admin/system/system-status.page.php index 62e3f2978113..8c2f829d84d5 100644 --- a/projects/plugins/crm/admin/system/system-status.page.php +++ b/projects/plugins/crm/admin/system/system-status.page.php @@ -45,7 +45,7 @@ function zeroBSCRM_render_systemstatus_page() { $missingTables = array(); // then we cycle through our tables :) - means all keys NEED to be kept up to date :) - foreach ( $ZBSCRM_t as $tableKey => $tableName ) { + foreach ( $ZBSCRM_t as $tableName ) { $tablesExist = $wpdb->get_results( "SHOW TABLES LIKE '" . $tableName . "'" ); if ( count( $tablesExist ) < 1 ) { $missingTables[] = $tableName; From 9e7f45d26a526da9992eea9c01e811b8a41909b7 Mon Sep 17 00:00:00 2001 From: tbradsha <32492176+tbradsha@users.noreply.github.com> Date: Fri, 13 Mar 2026 13:34:17 -0600 Subject: [PATCH 4/7] Add translators message --- projects/plugins/crm/includes/class-encryption.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/projects/plugins/crm/includes/class-encryption.php b/projects/plugins/crm/includes/class-encryption.php index eeb4ad548658..c74472b063e6 100644 --- a/projects/plugins/crm/includes/class-encryption.php +++ b/projects/plugins/crm/includes/class-encryption.php @@ -43,6 +43,7 @@ public function check_cipher_and_fallback() { $this->ready_to_encrypt = false; // error loading encryption + /* translators: %s: Encryption cipher method name. */ echo zeroBSCRM_UI2_messageHTML( 'warning', __( 'Unable to load encryption method', 'zero-bs-crm' ), sprintf( __( 'CRM was unable to load the required encryption method (%s). Until this is method is available to your PHP your sensitive data may not be encrypted properly.', 'zero-bs-crm' ), $this->cipher ) ); return; @@ -82,6 +83,7 @@ public function check_cipher_and_fallback() { $zbs->settings->update( 'enc_fallback_blocked', 1 ); // error loading encryption + /* translators: %s: Encryption cipher method name. */ echo zeroBSCRM_UI2_messageHTML( 'warning', __( 'Unable to load encryption method', 'zero-bs-crm' ), sprintf( __( 'CRM was unable to load the required encryption method (%s). Until this is method is available to your PHP your sensitive data may not be encrypted properly.', 'zero-bs-crm' ), $this->cipher ) ); } From a48b1d688d81faea1a1917703346df16573f76d7 Mon Sep 17 00:00:00 2001 From: tbradsha <32492176+tbradsha@users.noreply.github.com> Date: Fri, 13 Mar 2026 14:33:15 -0600 Subject: [PATCH 5/7] Fix attribute whitespace bugs --- .../ZeroBSCRM.MetaBoxes3.Contacts.php | 33 ++++------ .../includes/ZeroBSCRM.MetaBoxes3.Quotes.php | 7 +-- .../mailpoet/admin/settings/main.page.php | 32 ++++++---- .../admin/settings/connection_edit.page.php | 62 ++++++++++--------- 4 files changed, 65 insertions(+), 69 deletions(-) diff --git a/projects/plugins/crm/includes/ZeroBSCRM.MetaBoxes3.Contacts.php b/projects/plugins/crm/includes/ZeroBSCRM.MetaBoxes3.Contacts.php index c8432e6894b8..3a196c9f2df8 100644 --- a/projects/plugins/crm/includes/ZeroBSCRM.MetaBoxes3.Contacts.php +++ b/projects/plugins/crm/includes/ZeroBSCRM.MetaBoxes3.Contacts.php @@ -739,21 +739,9 @@ public function html( $contact, $metabox ) {