Skip to content

Commit

Permalink
add id attribute to settings debug checkbox
Browse files Browse the repository at this point in the history
just for easier automation
  • Loading branch information
maxicus authored and bwmarkle committed Mar 21, 2019
1 parent 09a6eda commit 064fc97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Base_Page_Settings.php
Expand Up @@ -155,8 +155,8 @@ protected function checkbox_debug( $option_id ) {
echo '<input type="hidden" name="' . $name . '" value="0" />';

echo '<label>';
echo '<input class="enabled" type="checkbox" name="' . $name .
'" value="1" ';
echo '<input class="enabled" type="checkbox" id="' . $name .
'" name="' . $name . '" value="1" ';
checked( $this->_config->get_boolean( $option_id ), true );

if ( $disabled )
Expand Down

0 comments on commit 064fc97

Please sign in to comment.