- added fix for options if they contains spaces in the start and the end of option (added trim);

This commit is contained in:
nikitasinelnikov
2020-01-21 15:13:33 +02:00
parent 7841911413
commit 6a93771511
4 changed files with 9 additions and 7 deletions
+3 -1
View File
@@ -951,7 +951,9 @@ if ( ! class_exists( 'um\admin\core\Admin_Builder' ) ) {
<input type="hidden" name="_position" id="_position" value="<?php echo $metabox->edit_array['position']; ?>" />
<?php if ( isset( $args['mce_content'] ) ) { ?><div class="dynamic-mce-content"><?php echo $metabox->edit_array['content']; ?></div><?php } ?>
<?php if ( isset( $args['mce_content'] ) ) { ?>
<div class="dynamic-mce-content"><?php echo ! empty( $metabox->edit_array['content'] ) ? $metabox->edit_array['content'] : ''; ?></div>
<?php } ?>
<?php $this->modal_header(); ?>