-
-
Notifications
You must be signed in to change notification settings - Fork 70
Fix template switching showing too many templates and improve error handling #323
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
51f58cd
Add more error case for addons login
superdav42 c22e008
fix warnings in php 8.5
superdav42 e596f44
Fix fatal loading user page
superdav42 d8c7b27
Actually process site creation immediately and asynchronously
superdav42 7f90d52
Add configurable password strength settings with Super Strong level
superdav42 0732a0e
Simplify JS localization by reading i18n object directly
superdav42 cbe4598
Add opt-in telemetry tracking, WooCommerce Subscriptions compat, and …
superdav42 d471b2f
Address CodeRabbit review feedback and bump version to 2.4.10
superdav42 20b56e5
Fix template switching showing too many templates and improve error h…
superdav42 8e17768
Allow hiding logo in email template
superdav42 e8bc4ff
fix fatal in blocks
superdav42 825d250
Fix pre-commit hook to retain PHP checks alongside JS/CSS linting
superdav42 9164ff1
Add meta key constants to model classes to prevent typo bugs
superdav42 678d1e7
Add notice to ask nicely for a review
superdav42 ba70b62
Enable tax rates page if taxes are disabled
superdav42 24a35c4
Add tracking
superdav42 e9f8a31
Use the correct path
superdav42 469e3d9
Fix warnings
superdav42 3ac470b
Add tracking information
superdav42 ba9acc6
Allow source files
superdav42 b53dced
Add new element for createing a magic login link
superdav42 1ca40bc
Add nav menu subsite links with magic link support
superdav42 5abab18
Fix WooCommerce Subscriptions compat and username spaces
superdav42 e70a827
Improve site locking hook timing and REST API support
superdav42 9711fb2
Add error handling to template switching
superdav42 4328334
Update translation strings
superdav42 850efe6
Update inc/class-tracker.php
superdav42 73c16a9
Update inc/debug/class-debug.php
superdav42 8b10f68
tweaks
superdav42 f5f1ba9
Merge remote-tracking branch 'origin/fix/322-change-templates-filter-…
superdav42 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🏁 Script executed:
Repository: Multisite-Ultimate/ultimate-multisite
Length of output: 6114
🏁 Script executed:
Repository: Multisite-Ultimate/ultimate-multisite
Length of output: 63
Use quoted variable expansion and bash arrays for safer filename handling.
The unquoted
$STAGED_PHP_FILESand$STAGED_JS_CSS_FILESvariables in for loops (lines 40, 54, 73, 88, 95) will split on whitespace. While your repository currently has no tracked files with whitespace, this remains a best practice issue for robustness. Consider using NUL-delimited lists with arrays as shown in the proposed fix to handle any filenames safely.🤖 Prompt for AI Agents