Skip to content

Commit a91a9d2

Browse files
github-36: fix typo; put back the lost submit button
1 parent 7f8e498 commit a91a9d2

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/Settings.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,10 @@ function optionsPage()
264264
?>
265265
</div>
266266

267+
<?php
268+
\submit_button();
269+
?>
270+
267271
<button
268272
type="button"
269273
class="button button-secondary"
@@ -282,7 +286,7 @@ private function parseOptionDetails($option)
282286

283287
$option_pos = stripos($readme, '<dt>' . $option);
284288

285-
if ($optionPos !== false) {
289+
if ($option_pos !== false) {
286290

287291
$desc_pos = stripos($readme, '<dd>', $option_pos) + strlen('<dd>');
288292

src/UI.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public static function phpEditor($name, $value, $description)
7979
?>
8080
<div
8181
id="rollbar_wp_<?php echo $name; ?>_editor"
82-
style="height: 300px; width: 800px; "><?php echo \esc_attr(trim($value)); ?></div>
82+
style="height: 300px;"><?php echo \esc_attr(trim($value)); ?></div>
8383
<script>
8484
var editor_<?php echo $name; ?> = ace.edit("rollbar_wp_<?php echo $name; ?>_editor");
8585
editor_<?php echo $name; ?>.setTheme("ace/theme/chrome");

0 commit comments

Comments
 (0)