Skip to content

Commit

Permalink
chore: fix condition on default
Browse files Browse the repository at this point in the history
  • Loading branch information
preda-bogdan committed Jul 20, 2023
1 parent 3ed89db commit 7991f0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/views/pluggable/metabox_settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ public function editor_content_width() {

$editor_title_opacity = 1;
$tile_disabled = $this->get_title_disabled();
if ( $tile_disabled ) {
if ( $tile_disabled === 'on' ) {
$editor_title_opacity = 0.5;
}

Expand Down

0 comments on commit 7991f0a

Please sign in to comment.