Thanks to visit codestin.com
Credit goes to github.com

Skip to content

#56041 site health full page cache#2894

Closed
manuelRod wants to merge 16 commits into
WordPress:trunkfrom
xwp:56041-site-health-full-page-cache
Closed

#56041 site health full page cache#2894
manuelRod wants to merge 16 commits into
WordPress:trunkfrom
xwp:56041-site-health-full-page-cache

Conversation

@manuelRod

Copy link
Copy Markdown

Introducing Full Page Cache check into Site Health

Trac ticket: #56041


This 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.

Comment thread src/wp-admin/includes/class-wp-site-health.php Outdated
Comment thread src/wp-admin/includes/class-wp-site-health.php Outdated
Comment thread src/wp-admin/includes/class-wp-site-health.php
Comment thread src/wp-admin/includes/class-wp-site-health.php
Comment thread src/wp-admin/includes/class-wp-site-health.php Outdated
Comment thread src/wp-admin/includes/class-wp-site-health.php Outdated
Comment thread src/wp-admin/includes/class-wp-site-health.php Outdated
Comment thread src/wp-admin/includes/class-wp-site-health.php

@Clorith Clorith left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had a look over here, and had some feedback, and questions about approaches that I've left in-line.

Comment thread src/wp-admin/includes/class-wp-site-health.php
Comment thread src/wp-admin/includes/class-wp-site-health.php Outdated
Comment thread src/wp-admin/includes/class-wp-site-health.php Outdated
Comment thread src/wp-admin/includes/class-wp-site-health.php
Comment thread src/wp-admin/includes/class-wp-site-health.php Outdated
@manuelRod

manuelRod commented Aug 11, 2022

Copy link
Copy Markdown
Author

@Clorith @swissspidy @spacedmonkey feedback applied.

  1. Consistent and accessible badge color policy.
  2. Fixed translation comments.
  3. Do we need to use wp_safe_remote_get?
  4. Agree on supported by core headers.

@felixarntz felixarntz left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@manuelRod This looks solid to me. Other than the existing feedback, I mostly have some nit-pick comments, which are worth addressing to polish the implementation.

Comment thread src/wp-admin/includes/class-wp-site-health.php Outdated
Comment thread src/wp-admin/includes/class-wp-site-health.php
Comment thread src/wp-admin/includes/class-wp-site-health.php Outdated
Comment thread src/wp-admin/includes/class-wp-site-health.php Outdated
Comment thread src/wp-admin/includes/class-wp-site-health.php Outdated
Comment thread src/wp-admin/includes/class-wp-site-health.php Outdated
Comment thread src/wp-admin/includes/class-wp-site-health.php Outdated
Comment thread src/wp-admin/includes/class-wp-site-health.php Outdated
Comment thread src/wp-admin/includes/class-wp-site-health.php Outdated
Comment thread src/wp-admin/includes/class-wp-site-health.php Outdated

@felixarntz felixarntz left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@manuelRod Just some final nit-picks here, based on the previous comments.

Comment thread src/wp-admin/includes/class-wp-site-health.php Outdated
Comment thread src/wp-admin/includes/class-wp-site-health.php
Comment thread src/wp-admin/includes/class-wp-site-health.php Outdated
Comment thread src/wp-admin/includes/class-wp-site-health.php
Comment thread src/wp-admin/includes/class-wp-site-health.php Outdated
Comment thread src/wp-admin/includes/class-wp-site-health.php
Comment thread src/wp-admin/includes/class-wp-site-health.php Outdated
Comment thread src/wp-admin/includes/class-wp-site-health.php
Comment thread src/wp-includes/rest-api/endpoints/class-wp-rest-site-health-controller.php Outdated
@manuelRod

Copy link
Copy Markdown
Author

@felixarntz thanks for the feedback. I've replaces all "page caching" appearances with "page cache".

# Conflicts:
#	src/wp-admin/includes/class-wp-site-health.php
#	tests/phpunit/tests/site-health.php
@manuelRod

Copy link
Copy Markdown
Author

@felixarntz I've updated the PR with trunk and solved the conflicts. All good!

@felixarntz felixarntz left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent work @manuelRod!

@felixarntz

Copy link
Copy Markdown
Member

@felixarntz felixarntz closed this Aug 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants