-
Notifications
You must be signed in to change notification settings - Fork 19
Release v1.47.0 #1834
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
Release v1.47.0 #1834
Changes from all commits
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
ae4a32a
Enhance link validation to trim whitespace and normalize href checks
SteveJonesDev 8aa48bc
Fix cached table name reuse in validator
SteveJonesDev 183fd07
Initial plan
Copilot 573af34
Initial plan
Copilot 4c65878
Skip 1x1 tracking pixels with empty alt in img_alt_empty_check
Copilot fcd7033
Fix: use correct ID when site homepage is set to latest posts
SteveJonesDev f3637f6
Address code review feedback on PRO-726 homepage scan fix
SteveJonesDev 6f8f7df
Fix test assertion for wp_localize_script boolean serialization
SteveJonesDev 1dd16ab
Fix home URL assertions for WP < 6.9 JSON slash escaping
SteveJonesDev 4771d9e
Address code review feedback: use trimmedHref for empty check and add…
SteveJonesDev 79f4f9c
Update composer.lock to pull in PHPUnit 9.6.34 (fixes CVE-2026-24765)
SteveJonesDev bf1952c
Apply suggestions from code review
SteveJonesDev 0e491be
chore: initial plan
Copilot faecdc9
feat: cache is_domain_loopback DNS lookup in a short-lived transient
Copilot b757770
feat: remove is_domain_loopback — unused function with no production …
Copilot fdf6db2
Merge branch 'develop' into copilot/cache-domain-loopback-check
SteveJonesDev 1f771dc
Add programmatic label to Simplified Summary textarea
claude 109bfeb
Add white contrast ring around highlighted element outline
claude a9196c9
Merge pull request #1831 from equalizedigital/release/1.46.0
pattonwebz 42e5f49
fix: render SVG code snippets in the Accessibility Analysis panel as …
pattonwebz be59792
fix: harden edac_svg_markup_to_data_uri() against non-string input, t…
pattonwebz 09ec082
docs: document the esc_url() protocols requirement for the SVG data URI
pattonwebz 6149777
Merge branch 'develop' into steve/pro-997-simplified-summary-text-are…
pattonwebz 930856e
Merge pull request #1823 from equalizedigital/steve/pro-997-simplifie…
pattonwebz 3f47a69
Merge pull request #1832 from equalizedigital/william/render-svg-issu…
pattonwebz b334071
fix: adjust outline offset and box-shadow for selected elements
SteveJonesDev 495908b
Merge pull request #1824 from equalizedigital/claude/accessibility-ch…
SteveJonesDev 0164425
Merge branch 'develop' into copilot/skip-1x1-images-empty-alt
SteveJonesDev 1fe86b6
fix: update test case for image with empty alt attribute to include s…
SteveJonesDev 2c4d280
docs: tighten verbose comments on the homepage scan fix
pattonwebz 7235c55
Merge pull request #1661 from equalizedigital/copilot/skip-1x1-images…
SteveJonesDev 0f5e9ae
Merge remote-tracking branch 'refs/remotes/origin/develop' into steve…
pattonwebz 2e5e557
Merge pull request #1437 from equalizedigital/copilot/cache-domain-lo…
SteveJonesDev e19e7af
Merge pull request #1429 from equalizedigital/codex/fix-valid-table-n…
SteveJonesDev ae89430
Merge pull request #1389 from equalizedigital/steve/no-issues/link-im…
SteveJonesDev 8681cd1
Merge pull request #1727 from equalizedigital/steve/pro-726-when-site…
pattonwebz b7f0e59
Bump version * Version: 1.46.0 -> 1.47.0
pattonwebz 6d566ff
Update @since placeholders to 1.47.0
pattonwebz bcffe72
Add changelog for v1.47.0
pattonwebz 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
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
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
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
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
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
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
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
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
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
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
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -24,6 +24,11 @@ export default { | |||||||||||||||||||||
| return true; | ||||||||||||||||||||||
| } | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| // Skip 1x1 tracking pixels (any src or base64) | ||||||||||||||||||||||
| if ( hasEmptyAlt && isTrackingPixel( node ) ) { | ||||||||||||||||||||||
| return true; | ||||||||||||||||||||||
| } | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| // Return false if alt is empty and none of the exceptions apply | ||||||||||||||||||||||
| return ! hasEmptyAlt; | ||||||||||||||||||||||
| }, | ||||||||||||||||||||||
|
|
@@ -84,6 +89,33 @@ function isInsideValidCaption( node ) { | |||||||||||||||||||||
| return false; | ||||||||||||||||||||||
| } | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| /** | ||||||||||||||||||||||
| * Check if image is a 1x1 tracking pixel. | ||||||||||||||||||||||
| * Checks both HTML attributes and computed natural dimensions. | ||||||||||||||||||||||
| * @param {HTMLElement} node - The node to check | ||||||||||||||||||||||
| * @return {boolean} True if image is a 1x1 tracking pixel | ||||||||||||||||||||||
| */ | ||||||||||||||||||||||
| function isTrackingPixel( node ) { | ||||||||||||||||||||||
| // Check HTML width/height attributes | ||||||||||||||||||||||
| const widthAttr = node.getAttribute( 'width' ); | ||||||||||||||||||||||
| const heightAttr = node.getAttribute( 'height' ); | ||||||||||||||||||||||
| if ( widthAttr === '1' && heightAttr === '1' ) { | ||||||||||||||||||||||
| return true; | ||||||||||||||||||||||
| } | ||||||||||||||||||||||
|
Comment on lines
+100
to
+104
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Using strict string equality (
Suggested change
|
||||||||||||||||||||||
|
|
||||||||||||||||||||||
| // Check computed natural dimensions (e.g. for base64 or loaded images without explicit attributes) | ||||||||||||||||||||||
| if ( | ||||||||||||||||||||||
| typeof node.naturalWidth === 'number' && | ||||||||||||||||||||||
| typeof node.naturalHeight === 'number' && | ||||||||||||||||||||||
| node.naturalWidth === 1 && | ||||||||||||||||||||||
| node.naturalHeight === 1 | ||||||||||||||||||||||
| ) { | ||||||||||||||||||||||
| return true; | ||||||||||||||||||||||
| } | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| return false; | ||||||||||||||||||||||
| } | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| /** | ||||||||||||||||||||||
| * Check if image should be ignored due to plugin-specific cases | ||||||||||||||||||||||
| * @param {HTMLElement} node - The node to check | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
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
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
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.
According to the general rules, the use of
!importantis acceptable only when accompanied by an explanatory comment. Please add a comment explaining why!importantis required for this box-shadow rule.References