Remove unused variable declaration
This commit is contained in:
parent
9a926aef4f
commit
d31859ab6c
|
@ -846,7 +846,6 @@ abstract class WC_Settings_API {
|
|||
* @return string
|
||||
*/
|
||||
public function validate_password_field( $key ) {
|
||||
$text = $this->get_option( $key );
|
||||
$field = $this->get_field_key( $key );
|
||||
$value = wp_kses_post( trim( stripslashes( $_POST[ $field ] ) ) );
|
||||
return $value;
|
||||
|
|
Loading…
Reference in New Issue