Permalink
Browse files

Merge pull request #465 from gregrickaby/trunk

'Un-quotes' a quoted wysiwyg string. Props @gregrickaby
  • Loading branch information...
2 parents 69c4bbc + d90bd7d commit abdbd46cd0c8ae12b3f74e53d89841a0e86b613e @jtsternberg jtsternberg committed Feb 25, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 helpers/cmb_Meta_Box_types.php
View
2 helpers/cmb_Meta_Box_types.php
@@ -452,7 +452,7 @@ public static function title( $field, $meta, $object_id, $object_type ) {
}
public static function wysiwyg( $field, $meta ) {
- wp_editor( html_entity_decode( self::esc( $meta, 'esc_html' ) ), $field['id'], isset( $field['options'] ) ? $field['options'] : array() );
+ wp_editor( stripslashes( html_entity_decode( self::esc( $meta, 'esc_html' ) ) ), $field['id'], isset( $field['options'] ) ? $field['options'] : array() );
echo self::desc( true );
}

0 comments on commit abdbd46

Please sign in to comment.