Add to home screen WP 1.9

Does Add to home screen WP work with WordPress 6.4.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
3PHP fatal errors
2PHP deprecation warnings
No JavaScript exceptions
1Page failed to load
  • 1 500 Internal Server Error
No resource errors
Performance

Memory usage: 12.19 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.

Environment
WordPress version6.4.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 1,000+
WordPress.org page https://wordpress.org/plugins/add-to-home-screen-wp/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 3

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?plugin_status=all&paged=1&s
Requested URL /wp-admin/plugins.php?action=activate&plugin=add-to-home-screen-wp%2Findex.php&plugin_status=all&paged=1&s&_wpnonce=6e42eb6ce0
Aspect after-activation
HTTP status 200
Load time 0.436 s
Memory usage 3.33 MiB
JS errors None
Resource errors None

Settings → ATHS Options

Page screenshot: Settings → ATHS Options
URL /wp-admin/options-general.php?page=add_to_home_screen_options
Aspect menu-item
HTTP status 200
Load time 0.420 s
Memory usage N/A
JS errors None
Resource errors None

Test site – Just another WordPress site

Page screenshot: Test site – Just another WordPress site
URL /
Aspect front-page
HTTP status 500
Load time 0.098 s
Memory usage N/A
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.396 s0.329 s-0.067 s3.38 MiB3.4 MiB+ 19.59 KiB
/wp-admin/edit.php0.226 s0.200 s-0.026 s3.4 MiB3.42 MiB+ 19.65 KiB
/wp-admin/post-new.php1.065 s0.653 s-0.412 s5.46 MiB5.48 MiB+ 23.48 KiB
/wp-admin/upload.php0.735 s0.501 s-0.234 s3.32 MiB3.32 MiB+ 2.24 KiB
/wp-admin/options-writing.php0.259 s0.240 s-0.019 s3.32 MiB3.31 MiB- 5.17 KiB
/wp-admin/media-new.php0.328 s0.278 s-0.050 s3.29 MiB3.31 MiB+ 14.43 KiB
/wp-admin/edit-tags.php?taxonomy=category0.226 s0.206 s-0.020 s3.31 MiB3.33 MiB+ 19.6 KiB
/wp-admin/post-new.php?post_type=page0.636 s0.625 s-0.011 s5.45 MiB5.47 MiB+ 23.06 KiB
/wp-admin/options-discussion.php0.360 s0.349 s-0.011 s3.3 MiB3.3 MiB+ 2.73 KiB
/wp-admin/edit-comments.php0.270 s0.250 s-0.020 s3.33 MiB3.34 MiB+ 2.23 KiB
Average 0.450 s0.363 s-0.087 s3.76 MiB3.77 MiB+ 12.19 KiB

Code Statistics

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.

PO File
PHP
JavaScript
CSS
Language % Lines of code Comment lines Files
PO File44.9%7141,1013
PHP29.5%470732
JavaScript17.1%272161
CSS8.5%135401
Total 1,591 1,230 7

PHP Code Analysis | More results »

Lines of code 256
Total complexity 30
Median class complexity 5.0
Median method complexity 1.0
Most complex class adhsOptions
Most complex function addmetawebcapable()
Classes 1
Methods 4
Functions 8

Additions

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.

No new entries found.

PHP Error Log 42 lines

[10-Nov-2023 09:53:23 UTC] PHP Deprecated:  Function screen_icon is deprecated since version 3.8.0 with no alternative available. in /wp-includes/functions.php on line 6031
[10-Nov-2023 09:53:23 UTC] PHP Deprecated:  Function get_screen_icon is deprecated since version 3.8.0 with no alternative available. in /wp-includes/functions.php on line 6031
[10-Nov-2023 09:53:23 UTC] PHP Fatal error:  Uncaught Error: Undefined constant "drop" in /wp-content/plugins/add-to-home-screen-wp/options.php:116
Stack trace:
#0 /wp-content/plugins/add-to-home-screen-wp/index.php(80): include()
#1 /wp-includes/class-wp-hook.php(324): adhsOptions::options_page()
#2 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(517): WP_Hook->do_action()
#4 /wp-admin/admin.php(259): do_action()
#5 /wp-admin/options-general.php(10): require_once('...')
#6 {main}
  thrown in /wp-content/plugins/add-to-home-screen-wp/options.php on line 116
[10-Nov-2023 09:53:24 UTC] PHP Fatal error:  Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, function "addmetawebcapablelinks" not found or invalid function name in /wp-includes/class-wp-hook.php:324
Stack trace:
#0 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#1 /wp-includes/plugin.php(517): WP_Hook->do_action()
#2 /wp-includes/general-template.php(3052): do_action()
#3 /wp-content/themes/twentyseventeen/header.php(22): wp_head()
#4 /wp-includes/template.php(790): require_once('...')
#5 /wp-includes/template.php(725): load_template()
#6 /wp-includes/general-template.php(48): locate_template()
#7 /wp-content/themes/twentyseventeen/index.php(18): get_header()
#8 /wp-includes/template-loader.php(106): include('...')
#9 /wp-blog-header.php(19): require_once('...')
#10 /index.php(17): require('...')
#11 {main}
  thrown in /wp-includes/class-wp-hook.php on line 324
[10-Nov-2023 09:53:34 UTC] PHP Fatal error:  Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, function "addmetawebcapablelinks" not found or invalid function name in /wp-includes/class-wp-hook.php:324
Stack trace:
#0 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#1 /wp-includes/plugin.php(517): WP_Hook->do_action()
#2 /wp-includes/general-template.php(3052): do_action()
#3 /wp-content/themes/twentyseventeen/header.php(22): wp_head()
#4 /wp-includes/template.php(790): require_once('...')
#5 /wp-includes/template.php(725): load_template()
#6 /wp-includes/general-template.php(48): locate_template()
#7 /wp-content/themes/twentyseventeen/index.php(18): get_header()
#8 /wp-includes/template-loader.php(106): include('...')
#9 /wp-blog-header.php(19): require_once('...')
#10 /index.php(17): require('...')
#11 {main}
  thrown in /wp-includes/class-wp-hook.php on line 324
See also: All tests for this plugin, How to Hide the "Add to Home Screen" Admin Menu