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

Integrate with Site Health Check #2199

Closed
westonruter opened this issue Apr 25, 2019 · 9 comments · Fixed by #3886
Closed

Integrate with Site Health Check #2199

westonruter opened this issue Apr 25, 2019 · 9 comments · Fixed by #3886
Labels
Integration: WP Core QA passed Has passed QA and is done
Milestone

Comments

@westonruter
Copy link
Member

westonruter commented Apr 25, 2019

There are some opportunities for the AMP plugin to integrate with the Site Health Check in 5.2, including both status and info:

We should include as much information as is helpful to debug issues that are reported on the forums.

@swissspidy
Copy link
Collaborator

Detect whether loopback requests are working.

Site Health does that by default because of cron. Perhaps that check is already enough.

@westonruter
Copy link
Member Author

See also #2006 (Add warning when a site is not served via HTTPS)

@westonruter
Copy link
Member Author

Every warning that we're showing in the plugin admin screen should also be shown in Site Health.

@kienstra
Copy link
Contributor

Request To Work On This

Hi @westonruter,
Hope your day's off to a great start.

Could I work on this? Thanks!

@westonruter
Copy link
Member Author

Yes, please.

@kienstra kienstra self-assigned this Nov 20, 2019
@westonruter
Copy link
Member Author

Something that has come up twice recently (1, 2, 3) is a deprecation notice:

PHP Deprecated: idn_to_utf8(): INTL_IDNA_VARIANT_2003 is deprecated in ...amp/includes/class-amp-http.php on line 233

We may want to consider adding a Site Health check for outdated ICU version. /cc @schlessera

It was noted by @swissspidy that:

This typically happens when the version of PHP has been compiled with an older version of ICU.

@westonruter
Copy link
Member Author

Something else which may end up needing to be tested for is whether zlib output compression is enabled, as apparently this breaks the output buffer processing. Awaiting to confirm. See https://wordpress.org/support/topic/links-and-buttons-are-disabled/#post-12161184

@westonruter westonruter added this to the v1.5 milestone Dec 19, 2019
@kienstra
Copy link
Contributor

Testing Steps

  1. Go to, /wp-admin/site-health.php, and ensure the 'Status' tab is showing
  2. Expected: there should be 3 AMP pillboxes:

status-here

In the 'Passed tests' section:
passed-tests

  1. Click the 'Info' tab at the top, or go to /wp-admin/site-health.php?tab=debug
  2. Expected: Something like this should display:

templates-here

  1. Make some changes to the 'AMP Settings' page. For example, disable Pages:

pages-here

  1. Go back to the Site Health 'Info' tab in Step 3
  2. Expected: the change is reflected there. For example:

page-here

8. Repeat steps 5-7 for several different settings

@csossi
Copy link

csossi commented Feb 13, 2020

Verified in QA

@csossi csossi added the QA passed Has passed QA and is done label Feb 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Integration: WP Core QA passed Has passed QA and is done
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants