invalid return

This commit is contained in:
Mike Jolley 2017-08-23 14:27:30 +01:00
parent c60859bf3c
commit 9483a7ec19
1 changed files with 0 additions and 1 deletions

View File

@ -205,7 +205,6 @@ abstract class WC_REST_Controller extends WP_REST_Controller {
public function validate_setting_text_field( $value, $setting ) {
$value = is_null( $value ) ? '' : $value;
return wp_kses_post( trim( stripslashes( $value ) ) );
return $value;
}
/**