feature/online-consultant psr2 restailing
This commit is contained in:
parent
71a51e2f9b
commit
b24325fb67
1 changed files with 1 additions and 0 deletions
|
@ -573,6 +573,7 @@ abstract class WC_Retailcrm_Abstracts_Settings extends WC_Integration
|
|||
public function validate_online_assistant_field($key, $value)
|
||||
{
|
||||
$onlineAssistant = $_POST['woocommerce_integration-retailcrm_online_assistant'];
|
||||
|
||||
if (!empty($onlineAssistant) && is_string($onlineAssistant)) {
|
||||
return wp_unslash($onlineAssistant);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue