1
0
Fork 0
mirror of synced 2025-04-03 22:03:34 +03:00

fix comment

This commit is contained in:
Uryvskiy Dima 2023-12-06 18:10:32 +03:00
parent 2b873deef6
commit 04ec8cf3ef

View file

@ -144,7 +144,6 @@ abstract class WC_Retailcrm_Abstracts_Settings extends WC_Integration
),
];
// Used to select product statuses
foreach (get_post_statuses() as $statusKey => $statusValue) {
$this->form_fields['p_' . $statusKey] = [
'title' => $statusValue,
@ -875,7 +874,6 @@ abstract class WC_Retailcrm_Abstracts_Settings extends WC_Integration
*/
public function validate_whatsapp_number_field($key, $value)
{
// Checking the activity of the option for validating a phone number.
$post = $this->get_post_data();
if (!empty($post['woocommerce_integration-retailcrm_whatsapp_active'])) {