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 "
"; + /* translators: %s: Upload error message. */ printf( esc_html__( 'There was an error uploading your file: %s', 'zero-bs-crm' ), esc_html( $upload['error'] ) ); echo '
'; $error_while_adding = true; diff --git a/projects/plugins/crm/admin/system/system-status.page.php b/projects/plugins/crm/admin/system/system-status.page.php index 9f08e7e03d92..8c2f829d84d5 100644 --- a/projects/plugins/crm/admin/system/system-status.page.php +++ b/projects/plugins/crm/admin/system/system-status.page.php @@ -41,11 +41,11 @@ 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 :) - 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; diff --git a/projects/plugins/crm/changelog/fix-crm-autoformat_goofs_and_tweaks b/projects/plugins/crm/changelog/fix-crm-autoformat_goofs_and_tweaks new file mode 100644 index 000000000000..8217bf03dc75 --- /dev/null +++ b/projects/plugins/crm/changelog/fix-crm-autoformat_goofs_and_tweaks @@ -0,0 +1,5 @@ +Significance: patch +Type: fixed +Comment: Fix some unreleased regressions introduced in #46809. + + diff --git a/projects/plugins/crm/includes/ZeroBSCRM.List.php b/projects/plugins/crm/includes/ZeroBSCRM.List.php index 675fd2fdc028..a9c871d33a1f 100644 --- a/projects/plugins/crm/includes/ZeroBSCRM.List.php +++ b/projects/plugins/crm/includes/ZeroBSCRM.List.php @@ -542,7 +542,7 @@ public function drawListView() { var zbsDrawListViewColUpdateBlocker = false; var zbsDrawListViewColUpdateAJAXBlocker = false; - var zbsObjectEmailLinkPrefix = ''; + var zbsObjectEmailLinkPrefix = ''; var zbsObjectViewLinkPrefixCustomer = ''; var zbsObjectViewLinkPrefixCompany = ''; var zbsObjectViewLinkPrefixQuote = ''; 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 ) {
- data-action=" - - " data-url=" - - " + data-action="url" data-url=""
- +

- + " /> + + " + /> +
- " /> + + " + /> + diff --git a/projects/plugins/crm/modules/woo-sync/admin/settings/connection_edit.page.php b/projects/plugins/crm/modules/woo-sync/admin/settings/connection_edit.page.php index f4ebfd1c1104..fdb84274ee5e 100644 --- a/projects/plugins/crm/modules/woo-sync/admin/settings/connection_edit.page.php +++ b/projects/plugins/crm/modules/woo-sync/admin/settings/connection_edit.page.php @@ -141,18 +141,8 @@ function jpcrm_settings_page_html_woosync_connection_edit() { ?> - - + + @@ -165,21 +155,29 @@ function jpcrm_settings_page_html_woosync_connection_edit() { ?> - + + + - + + + - + + +