Does WP JS work with WordPress 6.8.1 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.1 |
---|---|
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=5124187e61 |
Aspect | after-activation |
HTTP status | 200 |
Load time | 0.326 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.154 s |
Memory usage | N/A |
JS errors | None |
Resource errors | None |
URL | / |
---|---|
Aspect | front-page |
HTTP status | 200 |
Load time | 0.203 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.348 s | 0.282 s | -0.066 s | 3.51 MiB | 3.52 MiB | + 9.7 KiB |
/wp-admin/edit.php | 0.203 s | 0.201 s | -0.002 s | 3.57 MiB | 3.58 MiB | + 7.34 KiB |
/wp-admin/post-new.php | 0.789 s | 0.232 s | -0.557 s | 6.06 MiB | ||
/wp-admin/upload.php | 0.589 s | 0.269 s | -0.320 s | 3.52 MiB | 3.51 MiB | - 9.75 KiB |
/wp-admin/options-writing.php | 0.238 s | 0.193 s | -0.045 s | 3.5 MiB | 3.49 MiB | - 6.07 KiB |
/wp-admin/media-new.php | 0.341 s | 0.286 s | -0.055 s | 3.49 MiB | 3.49 MiB | + 2.13 KiB |
/wp-admin/edit-tags.php?taxonomy=category | 0.212 s | 0.270 s | +0.058 s | 3.5 MiB | 3.52 MiB | + 12.8 KiB |
/wp-admin/post-new.php?post_type=page | 0.617 s | 0.266 s | -0.351 s | 6.05 MiB | ||
/wp-admin/options-discussion.php | 0.267 s | 0.196 s | -0.071 s | 3.5 MiB | 3.49 MiB | - 9.57 KiB |
/wp-admin/edit-comments.php | 0.434 s | 0.212 s | -0.222 s | 3.52 MiB | 3.51 MiB | - 10.07 KiB |
/ | 0.300 s | 0.225 s | -0.075 s | 3.43 MiB | 3.44 MiB | + 3.54 KiB |
Average | 0.394 s | 0.239 s | -0.155 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[12-May-2025 14:35:00 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
[12-May-2025 14:35:00 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
[12-May-2025 14:35:01 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
[12-May-2025 14:35:01 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
[12-May-2025 14:35:01 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
[12-May-2025 14:35:01 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
[12-May-2025 14:35:01 UTC] PHP Warning: Undefined array key "wp_js_clear_cache" in /wp-content/plugins/wp-js/wp-js.php on line 107
[12-May-2025 14:35:01 UTC] PHP Warning: Undefined array key "wp_js_edit_expiry" in /wp-content/plugins/wp-js/wp-js.php on line 115
[12-May-2025 14:35:01 UTC] PHP Warning: Undefined array key "wp_js_activation" in /wp-content/plugins/wp-js/wp-js.php on line 119
[12-May-2025 14:35:01 UTC] PHP Warning: Undefined array key "wp_js_within_posts_activation" in /wp-content/plugins/wp-js/wp-js.php on line 122
[12-May-2025 14:35:01 UTC] PHP Warning: Undefined array key "wp_js_edit_expiry" in /wp-content/plugins/wp-js/wp-js-functions.php on line 176
[12-May-2025 14:35:01 UTC] PHP Warning: Undefined array key "wp_js_message" in /wp-content/plugins/wp-js/wp-js.php on line 140
[12-May-2025 14:35:01 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
[12-May-2025 14:35:03 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
[12-May-2025 14:35:03 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
[12-May-2025 14:35:03 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
[12-May-2025 14:35:03 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
[12-May-2025 14:35:04 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
[12-May-2025 14:35:04 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
[12-May-2025 14:35:04 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
[12-May-2025 14:35:04 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
[12-May-2025 14:35:04 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
[12-May-2025 14:35:04 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
[12-May-2025 14:35:04 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
[12-May-2025 14:35:05 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
[12-May-2025 14:35:05 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
[12-May-2025 14:35:05 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
[12-May-2025 14:35:05 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
[12-May-2025 14:35:05 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
[12-May-2025 14:35:05 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
[12-May-2025 14:35:05 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
[12-May-2025 14:35:05 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
[12-May-2025 14:35:05 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
[12-May-2025 14:35: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
[12-May-2025 14:35: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
[12-May-2025 14:35: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
[12-May-2025 14:35: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
[12-May-2025 14:35: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
[12-May-2025 14:35: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
[12-May-2025 14:35: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