Does WP JS work with WordPress 6.8.3 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.3 |
|---|---|
| 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=80ea8c98f3 |
| Aspect | after-activation |
| HTTP status | 200 |
| Load time | 0.236 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.139 s |
| Memory usage | N/A |
| JS errors | None |
| Resource errors | None |
| URL | / |
|---|---|
| Aspect | front-page |
| HTTP status | 200 |
| Load time | 0.215 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.342 s | 0.271 s | -0.071 s | 3.51 MiB | 3.51 MiB | + 9.7 KiB |
| /wp-admin/edit.php | 0.194 s | 0.191 s | -0.003 s | 3.57 MiB | 3.58 MiB | + 7.34 KiB |
| /wp-admin/post-new.php | 0.744 s | 0.220 s | -0.524 s | 6.06 MiB | ||
| /wp-admin/upload.php | 0.735 s | 0.281 s | -0.454 s | 3.52 MiB | 3.51 MiB | - 9.75 KiB |
| /wp-admin/options-writing.php | 0.200 s | 0.187 s | -0.013 s | 3.5 MiB | 3.49 MiB | - 6.07 KiB |
| /wp-admin/media-new.php | 0.259 s | 0.231 s | -0.028 s | 3.49 MiB | 3.49 MiB | + 2.13 KiB |
| /wp-admin/edit-tags.php?taxonomy=category | 0.202 s | 0.185 s | -0.017 s | 3.5 MiB | 3.52 MiB | + 12.8 KiB |
| /wp-admin/post-new.php?post_type=page | 0.608 s | 0.209 s | -0.399 s | 6.05 MiB | ||
| /wp-admin/options-discussion.php | 0.488 s | 0.191 s | -0.297 s | 3.5 MiB | 3.49 MiB | - 9.57 KiB |
| /wp-admin/edit-comments.php | 0.197 s | 0.179 s | -0.018 s | 3.52 MiB | 3.51 MiB | - 10.07 KiB |
| / | 0.306 s | 0.263 s | -0.043 s | 3.43 MiB | 3.44 MiB | + 3.54 KiB |
| Average | 0.389 s | 0.219 s | -0.170 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[13-Oct-2025 03:07:59 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
[13-Oct-2025 03:07:59 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
[13-Oct-2025 03:08: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
[13-Oct-2025 03:08: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
[13-Oct-2025 03:08: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
[13-Oct-2025 03:08: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
[13-Oct-2025 03:08:01 UTC] PHP Warning: Undefined array key "wp_js_clear_cache" in /wp-content/plugins/wp-js/wp-js.php on line 107
[13-Oct-2025 03:08:01 UTC] PHP Warning: Undefined array key "wp_js_edit_expiry" in /wp-content/plugins/wp-js/wp-js.php on line 115
[13-Oct-2025 03:08:01 UTC] PHP Warning: Undefined array key "wp_js_activation" in /wp-content/plugins/wp-js/wp-js.php on line 119
[13-Oct-2025 03:08:01 UTC] PHP Warning: Undefined array key "wp_js_within_posts_activation" in /wp-content/plugins/wp-js/wp-js.php on line 122
[13-Oct-2025 03:08:01 UTC] PHP Warning: Undefined array key "wp_js_edit_expiry" in /wp-content/plugins/wp-js/wp-js-functions.php on line 176
[13-Oct-2025 03:08:01 UTC] PHP Warning: Undefined array key "wp_js_message" in /wp-content/plugins/wp-js/wp-js.php on line 140
[13-Oct-2025 03:08: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
[13-Oct-2025 03:08: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
[13-Oct-2025 03:08: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
[13-Oct-2025 03:08: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
[13-Oct-2025 03:08: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
[13-Oct-2025 03:08: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
[13-Oct-2025 03:08: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
[13-Oct-2025 03:08:03 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
[13-Oct-2025 03:08: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
[13-Oct-2025 03:08: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
[13-Oct-2025 03:08: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
[13-Oct-2025 03:08: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
[13-Oct-2025 03:08: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
[13-Oct-2025 03:08: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
[13-Oct-2025 03:08: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
[13-Oct-2025 03:08: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
[13-Oct-2025 03:08: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
[13-Oct-2025 03:08: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
[13-Oct-2025 03:08: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
[13-Oct-2025 03:08: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
[13-Oct-2025 03:08: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
[13-Oct-2025 03:08: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
[13-Oct-2025 03:08: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
[13-Oct-2025 03:08: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
[13-Oct-2025 03:08: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
[13-Oct-2025 03:08: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
[13-Oct-2025 03:08: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
[13-Oct-2025 03:08: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