Skip to content

Commit

Permalink
Update wp-editor.php
Browse files Browse the repository at this point in the history
  • Loading branch information
rvdforst committed Nov 28, 2023
1 parent 4c070cc commit c571424
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/Settings/templates/options/wp-editor.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
defined('ABSPATH') || exit;
?>
<tr valign="top">
<th scope="row" class="titledesc">
<th scope="row" class="rrze-wp-form-label">
<label for="<?php echo $option->getIdAttribute(); ?>" class="<?php echo $option->getLabelClassAttribute(); ?>"><?php echo $option->getLabel(); ?></label>
</th>
<td class="forminp forminp-text">
<td class="rrze-wp-form rrze-wp-form-input">
<?php wp_editor($option->getValueAttribute(), $option->getIdAttribute(), [
'textarea_name' => $option->getNameAttribute(),
'wpautop' => $option->getArg('wpautop', true),
Expand All @@ -27,7 +27,6 @@
<?php if ($description = $option->getArg('description')) { ?>
<p class="description"><?php echo $description; ?></p>
<?php } ?>

<?php if ($error = $option->hasError()) { ?>
<div class="rrze-wp-settings-error"><?php echo $error; ?></div>
<?php } ?>
Expand Down

0 comments on commit c571424

Please sign in to comment.