From d90bd7db0c037b69d00425983d10d39e8fd0e92e Mon Sep 17 00:00:00 2001 From: Greg Rickaby Date: Mon, 24 Feb 2014 21:34:31 -0600 Subject: [PATCH] 'Un-quotes' a quoted wysiwyg string --- helpers/cmb_Meta_Box_types.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpers/cmb_Meta_Box_types.php b/helpers/cmb_Meta_Box_types.php index 5ae8439..cd78e08 100644 --- a/helpers/cmb_Meta_Box_types.php +++ b/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 ); }