Skip to content
Snippets Groups Projects
Commit 814b276b authored by Grzegorz Rola's avatar Grzegorz Rola
Browse files

Code review

parent 1e71d0a8
No related branches found
No related tags found
1 merge request!2Unslashes
Pipeline #2829 passed
## [1.0.`] - 2020-02-20
### Fixed
- slashes in inputs
## [1.0.0] - 2020-02-18
### Added
- init
......@@ -83,7 +83,7 @@ trait ShippingMethodRenderSettingsTrait {
*/
public function validate_sender_addresses_field( $key, $value ) {
$settings_field = new SettingsField( $key );
return $settings_field->get_field_posted_value_as_json( $value );
return $settings_field->get_field_posted_value_as_json( wp_unslash( $value ) );
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment