Skip to content
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

Prevent detection script injection from breaking import maps in classic themes #1084

Merged
merged 24 commits into from
Apr 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
e7c450b
Prevent detection script injection from breaking import maps
westonruter Mar 23, 2024
d17aac8
Use mustache-style placeholder instead of comment
westonruter Apr 4, 2024
537bc19
Use randomized placeholder
westonruter Apr 4, 2024
402e3be
Remove script placeholder when detection script not needed
westonruter Apr 4, 2024
7e45933
Add missing since and access tags
westonruter Apr 4, 2024
ec2a7c9
Locate the get/print functions together
westonruter Apr 4, 2024
b847139
Add tests
westonruter Apr 4, 2024
69f8629
Inject preload links in HEAD and detection script module in BODY via …
westonruter Apr 4, 2024
95b1961
Remove phpstan-ignore-next-line
westonruter Apr 4, 2024
11276c6
Add closing tags in HTML comments to demonstrate successful injection
westonruter Apr 4, 2024
2e247e6
Use internal libxml errors in tests
westonruter Apr 4, 2024
cebb35d
Move ext-dom to require-dev
westonruter Apr 4, 2024
99b4d08
Run composer update
westonruter Apr 4, 2024
7e4cae7
Eliminate use of DOMDocument for PHPUnit equality assertions
westonruter Apr 4, 2024
6b11f45
Update readme
westonruter Apr 5, 2024
7a6debc
Remove redundant anonymous class instantiation
westonruter Apr 5, 2024
03ad8f9
Fix back-compat for WP_HTML_Text_Replacement
westonruter Apr 5, 2024
6eaf68e
Merge branch 'release/3.0.0' into fix/optimization-detective-import-maps
westonruter Apr 5, 2024
46ca5f8
Remove extra slash in path to web-vitals.js
westonruter Apr 5, 2024
b3fbf5c
Use static var to prevent recomputing version needlessly
westonruter Apr 10, 2024
3aefe25
Rename OD_HTML_Tag_Processor to OD_HTML_Tag_Walker
westonruter Apr 10, 2024
a715290
Split anonymous class into OD_HTML_Tag_Processor
westonruter Apr 11, 2024
75a048e
Refine phpdoc
westonruter Apr 11, 2024
6c4580e
Merge branch 'release/3.0.0' of https://github.com/WordPress/performa…
westonruter Apr 11, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
},
"require": {
"composer/installers": "~1.0",
"ext-dom": "*",
"ext-json": "*",
"php": ">=7|^8"
},
Expand Down
135 changes: 70 additions & 65 deletions composer.lock

Large diffs are not rendered by default.

Loading
Loading