-
Couldn't load subscription status.
- Fork 3.1k
Increase default for wp_omit_loading_attr_threshold to 3
#4428
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
Conversation
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.
@kt-12 The code so far looks good, however there are test failures, see e.g. https://github.com/WordPress/wordpress-develop/actions/runs/4883643267/jobs/8715275896?pr=4428#step:17:300.
I think a simple way to fix them would be to update the relevant tests to use the wp_omit_loading_attr_threshold filter to return 1 like before.
Co-authored-by: Felix Arntz <felixarntz@users.noreply.github.com>
Co-authored-by: Felix Arntz <felixarntz@users.noreply.github.com>
…-develop into enhancement/58213
|
@felixarntz This is good for review. I have fixed both the test error (here) by using |
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.
@kt-12 LGTM!
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.
Left a few follow up comments, no additional feedback beyond what @westonruter and @spacedmonkey pointed out.
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.
Thanks for actioning feedback. Looks go to go.
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.
Thanks @kt-12, LGTM!
|
Committed in https://core.trac.wordpress.org/changeset/55816 🎉 |
Trac ticket: https://core.trac.wordpress.org/ticket/58213
Increase
wp_omit_loading_attr_thresholdthreshold to 3This Pull Request is for code review only. Please keep all other discussion in the Trac ticket. Do not merge this Pull Request. See GitHub Pull Requests for Code Review in the Core Handbook for more details.