Skip to content

Commit

Permalink
Fix CS issues
Browse files Browse the repository at this point in the history
  • Loading branch information
grappler committed Dec 31, 2018
1 parent 40f3466 commit 5f973c0
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions classes/class-wp-widget-disable.php
Original file line number Diff line number Diff line change
Expand Up @@ -648,10 +648,12 @@ public function render_dashboard_checkboxes() {
?>
</label>
</p>
<?php if (
<?php
if (
version_compare( get_bloginfo( 'version' ), '4.9.8-RC1', '>=' ) &&
version_compare( get_bloginfo( 'version' ), '5.0-alpha-43807', '<' )
) : ?>
) :
?>
<p>
<input type="checkbox" id="try_gutenberg_panel" name="rplus_wp_widget_disable_dashboard_option[try_gutenberg_panel]" value="normal"
<?php checked( 'try_gutenberg_panel', ( array_key_exists( 'try_gutenberg_panel', $options ) ? 'try_gutenberg_panel' : false ) ); ?>>
Expand All @@ -662,7 +664,7 @@ public function render_dashboard_checkboxes() {
?>
</label>
</p>
<?php
<?php
endif;
}

Expand Down

0 comments on commit 5f973c0

Please sign in to comment.