Remove unused variable declaration

This commit is contained in:
Shiva Poudel 2015-11-10 16:53:45 +05:45
parent 9a926aef4f
commit d31859ab6c
1 changed files with 0 additions and 1 deletions

View File

@ -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;