Skip to content

Commit

Permalink
Sync classes
Browse files Browse the repository at this point in the history
  • Loading branch information
tfirdaus authored and github-actions[bot] committed Jun 23, 2024
1 parent b766932 commit 9b725e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Parser.php
Original file line number Diff line number Diff line change
Expand Up @@ -872,7 +872,7 @@ protected function sanitize_requires_version($version)
// x.y or x.y.z
! preg_match('!^\d+\.\d(\.\d+)?$!', $version) ||
// Allow plugins to mark themselves as requireing Stable+0.1 (trunk/master) but not higher
( defined('WP_CORE_STABLE_BRANCH') && ( (float) $version > (float) WP_CORE_STABLE_BRANCH + 0.1 ) )
defined('WP_CORE_STABLE_BRANCH') && ( (float) $version > (float) WP_CORE_STABLE_BRANCH + 0.1 )
) {
$this->warnings['requires_header_ignored'] = true;
// Ignore the readme value.
Expand Down

0 comments on commit 9b725e3

Please sign in to comment.