Does WP JS work with WordPress 6.8.2 and PHP 8.1.12? A smoke test was performed on .
3 | PHP fatal errors |
6 | PHP warnings |
31 | PHP deprecation warnings |
No JavaScript exceptions | |
All test pages loaded successfully | |
No resource errors |
Memory usage: 5.33 bytes
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.8.2 |
---|---|
PHP version | 8.1.12 |
MySQL version | 10.6.10 |
PHP memory limit | 512M |
Last updated | |
---|---|
Active installs | 100+ |
WordPress.org page | https://wordpress.org/plugins/wp-js/ |
Badges |
|
URL | /wp-admin/plugins.php?plugin_status=all&paged=1&s |
---|---|
Requested URL | /wp-admin/plugins.php?action=activate&plugin=wp-js%2Fwp-js.php&plugin_status=all&paged=1&s&_wpnonce=24c3d88d59 |
Aspect | after-activation |
HTTP status | 200 |
Load time | 0.242 s |
Memory usage | 3.52 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/options-general.php?page=wp-js%2Fwp-js.php |
---|---|
Requested URL | /wp-admin/options-general.php?page=wp-js/wp-js.php |
Aspect | menu-item |
HTTP status | 200 |
Load time | 0.134 s |
Memory usage | N/A |
JS errors | None |
Resource errors | None |
URL | / |
---|---|
Aspect | front-page |
HTTP status | 200 |
Load time | 0.173 s |
Memory usage | 3.44 MiB |
JS errors | None |
Resource errors | None |
URL | Load time | Memory usage | ||||
---|---|---|---|---|---|---|
Inactive | Active | Change | Inactive | Active | Change | |
/wp-admin/index.php | 0.330 s | 0.272 s | -0.058 s | 3.51 MiB | 3.51 MiB | + 9.7 KiB |
/wp-admin/edit.php | 0.190 s | 0.172 s | -0.018 s | 3.57 MiB | 3.58 MiB | + 7.34 KiB |
/wp-admin/post-new.php | 0.740 s | 0.219 s | -0.521 s | 6.06 MiB | ||
/wp-admin/upload.php | 0.558 s | 0.255 s | -0.303 s | 3.52 MiB | 3.51 MiB | - 9.75 KiB |
/wp-admin/options-writing.php | 0.217 s | 0.172 s | -0.045 s | 3.5 MiB | 3.49 MiB | - 6.07 KiB |
/wp-admin/media-new.php | 0.269 s | 0.506 s | +0.237 s | 3.49 MiB | 3.49 MiB | + 2.13 KiB |
/wp-admin/edit-tags.php?taxonomy=category | 0.205 s | 0.183 s | -0.022 s | 3.5 MiB | 3.52 MiB | + 12.8 KiB |
/wp-admin/post-new.php?post_type=page | 0.588 s | 0.198 s | -0.390 s | 6.05 MiB | ||
/wp-admin/options-discussion.php | 0.434 s | 0.167 s | -0.267 s | 3.5 MiB | 3.49 MiB | - 9.57 KiB |
/wp-admin/edit-comments.php | 0.239 s | 0.176 s | -0.063 s | 3.52 MiB | 3.51 MiB | - 10.07 KiB |
/ | 0.290 s | 0.159 s | -0.131 s | 3.43 MiB | 3.44 MiB | + 3.54 KiB |
Average | 0.369 s | 0.225 s | -0.144 s | 3.97 MiB | 3.51 MiB | + 5.33 bytes |
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 | 100.0% | 875 | 109 | 6 | |
Total | 875 | 109 | 6 |
Lines of code | 893 |
---|---|
Total complexity | 165 |
Median class complexity | 68.0 |
Median method complexity | 7.0 |
Most complex class | JSMin |
Most complex function | JSMin::min() |
Classes | 1 |
---|---|
Methods | 7 |
Functions | 25 |
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
3[28-Jul-2025 06:11:06 UTC] PHP Deprecated: Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[28-Jul-2025 06:11:06 UTC] PHP Deprecated: Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[28-Jul-2025 06:11:07 UTC] PHP Deprecated: Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[28-Jul-2025 06:11:07 UTC] PHP Deprecated: Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[28-Jul-2025 06:11:07 UTC] PHP Deprecated: Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[28-Jul-2025 06:11:07 UTC] PHP Deprecated: Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[28-Jul-2025 06:11:07 UTC] PHP Warning: Undefined array key "wp_js_clear_cache" in /wp-content/plugins/wp-js/wp-js.php on line 107
[28-Jul-2025 06:11:07 UTC] PHP Warning: Undefined array key "wp_js_edit_expiry" in /wp-content/plugins/wp-js/wp-js.php on line 115
[28-Jul-2025 06:11:07 UTC] PHP Warning: Undefined array key "wp_js_activation" in /wp-content/plugins/wp-js/wp-js.php on line 119
[28-Jul-2025 06:11:07 UTC] PHP Warning: Undefined array key "wp_js_within_posts_activation" in /wp-content/plugins/wp-js/wp-js.php on line 122
[28-Jul-2025 06:11:07 UTC] PHP Warning: Undefined array key "wp_js_edit_expiry" in /wp-content/plugins/wp-js/wp-js-functions.php on line 176
[28-Jul-2025 06:11:07 UTC] PHP Warning: Undefined array key "wp_js_message" in /wp-content/plugins/wp-js/wp-js.php on line 140
[28-Jul-2025 06:11:07 UTC] PHP Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /wp-content/plugins/wp-js/wp-js.php:80
Stack trace:
#0 /wp-content/plugins/wp-js/wp-js.php(214): wp_js_file_structure()
#1 /wp-includes/class-wp-hook.php(324): wp_js_admin()
#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(260): do_action()
#5 /wp-admin/options-general.php(10): require_once('...')
#6 {main}
thrown in /wp-content/plugins/wp-js/wp-js.php on line 80
[28-Jul-2025 06:11:09 UTC] PHP Deprecated: Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[28-Jul-2025 06:11:09 UTC] PHP Deprecated: Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[28-Jul-2025 06:11:09 UTC] PHP Deprecated: Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[28-Jul-2025 06:11:09 UTC] PHP Deprecated: Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[28-Jul-2025 06:11:10 UTC] PHP Deprecated: Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[28-Jul-2025 06:11:10 UTC] PHP Deprecated: Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[28-Jul-2025 06:11:10 UTC] PHP Fatal error: Uncaught Error: Call to undefined function eregi() in /wp-content/plugins/wp-js/wp-js-functions.php:133
Stack trace:
#0 /wp-content/plugins/wp-js/wp-js-files-list.php(284): wp_js_directory_map()
#1 /wp-content/plugins/wp-js/wp-js-files-list.php(218): wp_js_files()
#2 /wp-includes/class-wp-hook.php(324): wp_js_files_display()
#3 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#4 /wp-includes/plugin.php(517): WP_Hook->do_action()
#5 /wp-admin/includes/post.php(2560): do_action()
#6 /wp-admin/includes/post.php(2382): the_block_editor_meta_box_post_form_hidden_fields()
#7 /wp-admin/edit-form-blocks.php(383): the_block_editor_meta_boxes()
#8 /wp-admin/post-new.php(72): require('...')
#9 {main}
thrown in /wp-content/plugins/wp-js/wp-js-functions.php on line 133
[28-Jul-2025 06:11:10 UTC] PHP Deprecated: Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[28-Jul-2025 06:11:10 UTC] PHP Deprecated: Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[28-Jul-2025 06:11:10 UTC] PHP Deprecated: Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[28-Jul-2025 06:11:10 UTC] PHP Deprecated: Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[28-Jul-2025 06:11:10 UTC] PHP Deprecated: Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[28-Jul-2025 06:11:10 UTC] PHP Deprecated: Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[28-Jul-2025 06:11:11 UTC] PHP Deprecated: Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[28-Jul-2025 06:11:11 UTC] PHP Deprecated: Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[28-Jul-2025 06:11:11 UTC] PHP Deprecated: Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[28-Jul-2025 06:11:11 UTC] PHP Deprecated: Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[28-Jul-2025 06:11:11 UTC] PHP Fatal error: Uncaught Error: Call to undefined function eregi() in /wp-content/plugins/wp-js/wp-js-functions.php:133
Stack trace:
#0 /wp-content/plugins/wp-js/wp-js-files-list.php(284): wp_js_directory_map()
#1 /wp-content/plugins/wp-js/wp-js-files-list.php(218): wp_js_files()
#2 /wp-includes/class-wp-hook.php(324): wp_js_files_display()
#3 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#4 /wp-includes/plugin.php(517): WP_Hook->do_action()
#5 /wp-admin/includes/post.php(2560): do_action()
#6 /wp-admin/includes/post.php(2382): the_block_editor_meta_box_post_form_hidden_fields()
#7 /wp-admin/edit-form-blocks.php(383): the_block_editor_meta_boxes()
#8 /wp-admin/post-new.php(72): require('...')
#9 {main}
thrown in /wp-content/plugins/wp-js/wp-js-functions.php on line 133
[28-Jul-2025 06:11:11 UTC] PHP Deprecated: Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[28-Jul-2025 06:11:11 UTC] PHP Deprecated: Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[28-Jul-2025 06:11:12 UTC] PHP Deprecated: Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[28-Jul-2025 06:11:12 UTC] PHP Deprecated: Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[28-Jul-2025 06:11:12 UTC] PHP Deprecated: Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[28-Jul-2025 06:11:12 UTC] PHP Deprecated: Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[28-Jul-2025 06:11:12 UTC] PHP Deprecated: Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[28-Jul-2025 06:11:12 UTC] PHP Deprecated: Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[28-Jul-2025 06:11:13 UTC] PHP Deprecated: Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121