Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion views/backend/tinymce/modal-field-row.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<?php echo esc_attr( $field['label'] ); ?>
</label>
</div>
<div class="right <?php echo esc_attr( $condition ); ?>">
<div class="right<?php echo ! empty( $condition ) ? ' ' . esc_attr( $condition ) : ''; ?>">
<?php
require 'modal-field.php';
?>
Expand Down
1 change: 1 addition & 0 deletions views/backend/tinymce/modal-field.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ class="widefat">
data-shortcode="<?php echo esc_attr( $field_name ); ?>"
placeholder="<?php echo esc_attr( isset( $field['placeholder'] ) ? $field['placeholder'] : '' ); ?>"
<?php echo ( array_key_exists( 'display_if', $field ) ? ' data-display-if="' . esc_attr( $field['display_if']['key'] ) . '" data-display-if-value="' . esc_attr( $field['display_if']['value'] ) . '"' : '' ); ?>
/>
<?php
break;
}
Expand Down