Repository navigation
Stop fatal errors when the SCSS or CSS folder is not readable - #279
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Collaborator
Author
|
@codex review |
Merged
shadoath
added a commit
that referenced
this pull request
Nov 3, 2026
* Version bump to 5.1.0 Ships the Compile Now button and deploy webhook (#281), the WP_SCSS_OPTIONS wp-config override (#282), the File sourcemap fix (#280) and the unreadable-directory fatal fix (#279). Updates the version in wp-scss.php, the readme.txt Stable tag, and adds the 5.1.0 changelog entry to readme.txt and readme.md. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Remove the looking-for-a-maintainer notice from both readmes Issue #242 is closed; the plugin is actively maintained again. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fatal error: Uncaught UnexpectedValueExceptionon both; this branch doesn't.DirectoryIteratorandRecursiveDirectoryIteratorthrow when they can't open a folder, and nothing catches it, so one bad permission took down every page. The existing "directory exists" checks now also check that the folder is readable. The recursive change scan now skips unreadable subfolders (CATCH_GET_CHILD) and passesSKIP_DOTSto the right constructor; before, it was passed as the iterator mode.🤖 Generated with Claude Code