Skip to content
This repository has been archived by the owner on Dec 17, 2018. It is now read-only.

Commit

Permalink
Merge pull request #465 from gregrickaby/trunk
Browse files Browse the repository at this point in the history
'Un-quotes' a quoted wysiwyg string. Props @gregrickaby
  • Loading branch information
jtsternberg committed Feb 25, 2014
2 parents 69c4bbc + d90bd7d commit abdbd46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helpers/cmb_Meta_Box_types.php
Expand Up @@ -452,7 +452,7 @@ public static function title( $field, $meta, $object_id, $object_type ) {
} }


public static function wysiwyg( $field, $meta ) { 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 ); echo self::desc( true );
} }


Expand Down

0 comments on commit abdbd46

Please sign in to comment.