Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Commit

Permalink
Fix linting issue
Browse files Browse the repository at this point in the history
  • Loading branch information
alefesouza authored Nov 16, 2023
1 parent bf1794a commit 4b0de8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Utils/Utils.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class Utils {
* @return bool|int Returns true if the current WordPress version satisfies the comparison, false otherwise.
*/
public static function wp_version_compare( $version, $operator = null ) {
// Replace non-alphanumeric characters with a dot
// Replace non-alphanumeric characters with a dot.
$version = preg_replace( '/[^0-9a-zA-Z\.]+/i', '.', $version );

$current_wp_version = get_bloginfo( 'version' );
Expand Down

0 comments on commit 4b0de8e

Please sign in to comment.