Does AMP work with WordPress 6.2.2 and PHP 8.1.12? A smoke test was performed on .
5 | PHP deprecation warnings |
No JavaScript exceptions | |
All test pages loaded successfully | |
No resource errors |
Memory usage: 542.34 KiB
The average PHP memory usage increased by this amount after activating by the plugin.
Page speed impact:
insignificant.
The plugin didn't make the site noticeably slower.
WordPress version | 6.2.2 |
---|---|
PHP version | 8.1.12 |
MySQL version | 10.6.10 |
PHP memory limit | 512M |
Last updated | |
---|---|
Active installs | 400,000+ |
WordPress.org page | https://wordpress.org/plugins/amp/ |
Badges |
|
URL | /wp-admin/plugins.php?plugin_status=all&paged=1&s |
---|---|
Requested URL | /wp-admin/plugins.php?action=activate&plugin=amp%2Famp.php&plugin_status=all&paged=1&s&_wpnonce=edf1516a9a |
Aspect | after-activation |
HTTP status | 200 |
Load time | 1.048 s |
Memory usage | 8.2 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/admin.php?page=amp-options |
---|---|
Aspect | menu-item |
HTTP status | 200 |
Load time | 3.744 s |
Memory usage | 5.29 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/admin.php?page=amp-support |
---|---|
Aspect | menu-item |
HTTP status | 200 |
Load time | 0.368 s |
Memory usage | 7.36 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/edit.php?post_type=amp_validated_url |
---|---|
Aspect | menu-item |
HTTP status | 200 |
Load time | 0.314 s |
Memory usage | 8.77 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/edit-tags.php?taxonomy=amp_validation_error&post_type=amp_validated_url |
---|---|
Aspect | menu-item |
HTTP status | 200 |
Load time | 0.215 s |
Memory usage | 4.91 MiB |
JS errors | None |
Resource errors | None |
URL | / |
---|---|
Aspect | front-page |
HTTP status | 200 |
Load time | 0.319 s |
Memory usage | 3.41 MiB |
JS errors | None |
Resource errors | None |
URL | Load time | Memory usage | ||||
---|---|---|---|---|---|---|
Inactive | Active | Change | Inactive | Active | Change | |
/wp-admin/index.php | 0.287 s | 0.289 s | +0.002 s | 3.07 MiB | 3.59 MiB | + 532 KiB |
/wp-admin/edit.php | 0.193 s | 0.193 s | +0.000 s | 3.1 MiB | 3.69 MiB | + 603.66 KiB |
/wp-admin/post-new.php | 0.760 s | 0.997 s | +0.237 s | 5.02 MiB | 5.65 MiB | + 640.89 KiB |
/wp-admin/upload.php | 0.559 s | 0.494 s | -0.065 s | 3.02 MiB | 3.52 MiB | + 513.07 KiB |
/wp-admin/options-writing.php | 0.177 s | 0.157 s | -0.020 s | 3.01 MiB | 3.5 MiB | + 502.07 KiB |
/wp-admin/media-new.php | 0.360 s | 0.252 s | -0.108 s | 2.99 MiB | 3.5 MiB | + 525.2 KiB |
/wp-admin/edit-tags.php?taxonomy=category | 0.191 s | 0.191 s | +0.000 s | 3.01 MiB | 3.53 MiB | + 532.63 KiB |
/wp-admin/post-new.php?post_type=page | 0.603 s | 0.663 s | +0.060 s | 5.01 MiB | 5.63 MiB | + 634.79 KiB |
/wp-admin/options-discussion.php | 0.242 s | 0.297 s | +0.055 s | 3 MiB | 3.5 MiB | + 514.34 KiB |
/wp-admin/edit-comments.php | 0.221 s | 0.207 s | -0.014 s | 3.03 MiB | 3.53 MiB | + 514.21 KiB |
/ | 0.319 s | 0.382 s | +0.063 s | 2.97 MiB | 3.41 MiB | + 452.87 KiB |
Average | 0.356 s | 0.375 s | +0.019 s | 3.38 MiB | 3.91 MiB | + 542.34 KiB |
Note: Third-party libraries and minified JS/CSS files are excluded from these statistics where possible, so the numbers you see here may be lower than those reported by other tools.
Language | % | Lines of code | Comment lines | Files | |
---|---|---|---|---|---|
PHP | 99.6% | 62,456 | 22,884 | 269 | |
JavaScript | 0.2% | 121 | 21 | 29 | |
SVG | 0.2% | 100 | 0 | 17 | |
CSS | 0.1% | 42 | 0 | 40 | |
Total | 62,719 | 22,905 | 355 |
Lines of code | 59,406 |
---|---|
Total complexity | 7,352 |
Median class complexity | 14.5 |
Median method complexity | 2.0 |
Most complex class | AMP_Validation_Error_Taxonomy |
Most complex function | AMP_Validation_Error_Taxonomy::get_error_title_from_code() |
Classes | 186 |
---|---|
Methods | 1,524 |
Functions | 92 |
Things that the plugin adds to the site. This section is not intended to be comprehensive. The test tool only looks for a few specific types of added content.
wp_options
1ID | Name |
---|---|
amp_validated_url | AMP Validated URLs |
{
"amp_validated_url": {
"amp_validation_status": {
"title": "Status",
"context": "side"
},
"amp_stylesheets": {
"title": "Stylesheets",
"context": "normal"
}
}
}
[20-May-2023 07:56:45 UTC] PHP Deprecated: strstr(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 1143
[20-May-2023 07:56:45 UTC] PHP Deprecated: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 1150
[20-May-2023 07:56:45 UTC] PHP Deprecated: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 1153
[20-May-2023 07:56:45 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 1160
[20-May-2023 07:56:45 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 1163