Skip to content

Conversation

@ilicfilip
Copy link
Collaborator

@ilicfilip ilicfilip commented Dec 30, 2025

Summary

  • Excludes the direct_file_access check from the WordPress.org Plugin Check workflow

Why

Plugin Check 1.8.0 (released Dec 27, 2025) added a new check requiring ABSPATH constant in all PHP files. This affects 164 class files that use namespaces and autoloading and makes the test fail for every PR.

This check didn't exist when the workflow was introduced, so excluding it to restore previous behavior. Can be re-enabled if we decide to add the ABSPATH check to all files.

@github-actions
Copy link
Contributor

github-actions bot commented Dec 30, 2025

Test merged PR on Playground
Test this pull request on the Playground
or download the zip

@github-actions
Copy link
Contributor

github-actions bot commented Dec 30, 2025

✅ Code Coverage Report

Metric Value
Total Coverage 31.53% 📉
Base Coverage 31.53%
Difference 📈 0.00%

⚠️ Coverage below recommended 40% threshold

🎉 Great job maintaining/improving code coverage!

ℹ️ About this report
  • All tests run in a single job with Xdebug coverage
  • Security tests excluded from coverage to prevent output issues
  • Coverage calculated from line coverage percentages

@ilicfilip ilicfilip merged commit da7d5da into develop Dec 30, 2025
20 checks passed
@ilicfilip ilicfilip deleted the filip/exclude-direct-file-access-check branch December 30, 2025 13:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants