Merge pull request #8897 from lucasstark/patch-1

Update class-wc-admin-settings.php
This commit is contained in:
Claudio Sanches 2015-08-19 14:43:58 -03:00
commit 823a71e7e1
1 changed files with 1 additions and 0 deletions

View File

@ -690,6 +690,7 @@ class WC_Admin_Settings {
$value = array_filter( array_map( 'wc_clean', (array) $raw_value ) );
break;
case 'image_width' :
$value = array();
if ( isset( $raw_value['width'] ) ) {
$value['width'] = wc_clean( $raw_value['width'] );
$value['height'] = wc_clean( $raw_value['height'] );