Skip to content

Add method for finding relative WP major version

Codecov / codecov/patch succeeded Dec 4, 2024 in 1s

63.04% of diff hit (within 50.00% threshold of 71.94%)

View this Pull Request on Codecov

63.04% of diff hit (within 50.00% threshold of 71.94%)

Annotations

Check warning on line 106 in includes/Traits/Version_Utils.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

includes/Traits/Version_Utils.php#L106

Added line #L106 was not covered by tests

Check warning on line 126 in includes/Traits/Version_Utils.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

includes/Traits/Version_Utils.php#L126

Added line #L126 was not covered by tests

Check warning on line 129 in includes/Traits/Version_Utils.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

includes/Traits/Version_Utils.php#L128-L129

Added lines #L128 - L129 were not covered by tests

Check warning on line 133 in includes/Traits/Version_Utils.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

includes/Traits/Version_Utils.php#L131-L133

Added lines #L131 - L133 were not covered by tests

Check warning on line 149 in includes/Traits/Version_Utils.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

includes/Traits/Version_Utils.php#L148-L149

Added lines #L148 - L149 were not covered by tests

Check warning on line 152 in includes/Traits/Version_Utils.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

includes/Traits/Version_Utils.php#L151-L152

Added lines #L151 - L152 were not covered by tests

Check warning on line 155 in includes/Traits/Version_Utils.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

includes/Traits/Version_Utils.php#L155

Added line #L155 was not covered by tests

Check warning on line 166 in includes/Traits/Version_Utils.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

includes/Traits/Version_Utils.php#L165-L166

Added lines #L165 - L166 were not covered by tests

Check warning on line 169 in includes/Traits/Version_Utils.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

includes/Traits/Version_Utils.php#L168-L169

Added lines #L168 - L169 were not covered by tests

Check warning on line 172 in includes/Traits/Version_Utils.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

includes/Traits/Version_Utils.php#L172

Added line #L172 was not covered by tests