Skip to content

Commit

Permalink
typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
aristath committed Nov 18, 2021
1 parent 6024894 commit aa08030
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ private function set_valid_font_style() {
) {
trigger_error( __( 'Webfont font style must be a non-empty string.' ) );

} elseif ( // Bail out if the font-weight is a valid value.
} elseif ( // Bail out if the font-style is a valid value.
in_array( $this->webfont['font-style'], self::VALID_FONT_STYLE, true ) ||
preg_match( '/^oblique\s+(\d+)%/', $this->webfont['font-style'] )
) {
Expand Down

0 comments on commit aa08030

Please sign in to comment.