WP JS 2.0.6

Does WP JS work with WordPress 5.4.1 and PHP 7.2.16? A smoke test was performed on .

Summary

Errors
2PHP fatal errors
1PHP warnings
6PHP notices
29PHP deprecation warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 11 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 version5.4.1
PHP version7.2.16
MySQL version8.0.15
PHP memory limit256M
Plugin Info
Last updated
Active installs 100+
WordPress.org page https://wordpress.org/plugins/wp-js/
Badges

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=wp-js%2Fwp-js.php&plugin_status=all&paged=1&s&_wpnonce=0247da0147
Aspect after-activation
HTTP status 200
Load time 0.366 s
Memory usage 3.58 MiB
JS errors None
Resource errors None

Settings → WP JS

Page screenshot: Settings → WP JS
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.179 s
Memory usage 3.55 MiB
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 200
Load time 0.215 s
Memory usage 3.33 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.320 s0.225 s-0.095 s3.64 MiB3.64 MiB+ 5.2 KiB
/wp-admin/edit.php0.208 s0.205 s-0.003 s3.66 MiB3.67 MiB+ 5.18 KiB
/wp-admin/post-new.php1.199 s0.315 s-0.884 s5.43 MiB
/wp-admin/upload.php0.418 s0.340 s-0.078 s3.5 MiB3.57 MiB+ 68.52 KiB
/wp-admin/options-writing.php0.165 s0.249 s+0.084 s3.58 MiB3.56 MiB- 24.55 KiB
/wp-admin/media-new.php0.201 s0.181 s-0.020 s3.48 MiB3.55 MiB+ 69.05 KiB
/wp-admin/edit-tags.php?taxonomy=category0.400 s0.169 s-0.231 s3.58 MiB3.59 MiB+ 5.96 KiB
/wp-admin/post-new.php?post_type=page1.100 s0.281 s-0.819 s5.42 MiB
/wp-admin/options-discussion.php0.221 s0.158 s-0.063 s3.48 MiB3.55 MiB+ 69.37 KiB
/wp-admin/edit-comments.php0.274 s0.192 s-0.082 s3.59 MiB3.59 MiB+ 4.27 KiB
/0.320 s0.254 s-0.066 s3.43 MiB3.33 MiB- 104.02 KiB
Average 0.439 s0.234 s-0.205 s3.89 MiB3.56 MiB+ 11 KiB

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.

Options wp_options 4

PHP Error Log 56 lines

[09-May-2020 12:35:01 UTC] PHP Deprecated:  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 4997
[09-May-2020 12:35:02 UTC] PHP Deprecated:  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 4997
[09-May-2020 12:35:02 UTC] PHP Deprecated:  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 4997
[09-May-2020 12:35:02 UTC] PHP Deprecated:  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 4997
[09-May-2020 12:35:02 UTC] PHP Deprecated:  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 4997
[09-May-2020 12:35:02 UTC] PHP Deprecated:  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 4997
[09-May-2020 12:35:02 UTC] PHP Notice:  Undefined index: wp_js_clear_cache in /wp-content/plugins/wp-js/wp-js.php on line 107
[09-May-2020 12:35:02 UTC] PHP Notice:  Undefined index: wp_js_edit_expiry in /wp-content/plugins/wp-js/wp-js.php on line 115
[09-May-2020 12:35:02 UTC] PHP Notice:  Undefined index: wp_js_activation in /wp-content/plugins/wp-js/wp-js.php on line 119
[09-May-2020 12:35:02 UTC] PHP Notice:  Undefined index: wp_js_within_posts_activation in /wp-content/plugins/wp-js/wp-js.php on line 122
[09-May-2020 12:35:02 UTC] PHP Notice:  Undefined index: wp_js_edit_expiry in /wp-content/plugins/wp-js/wp-js-functions.php on line 176
[09-May-2020 12:35:02 UTC] PHP Notice:  Undefined index: wp_js_message in /wp-content/plugins/wp-js/wp-js.php on line 140
[09-May-2020 12:35:02 UTC] PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /wp-content/plugins/wp-js/wp-js.php on line 80
[09-May-2020 12:35:03 UTC] PHP Deprecated:  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 4997
[09-May-2020 12:35:03 UTC] PHP Deprecated:  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 4997
[09-May-2020 12:35:04 UTC] PHP Deprecated:  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 4997
[09-May-2020 12:35:04 UTC] PHP Deprecated:  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 4997
[09-May-2020 12:35:04 UTC] PHP Deprecated:  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 4997
[09-May-2020 12: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('/opt/bitnami/ap...', '.js$', false)
#1 /wp-content/plugins/wp-js/wp-js-files-list.php(218): wp_js_files(50, false)
#2 /wp-includes/class-wp-hook.php(287): wp_js_files_display(Object(WP_Post))
#3 /wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
#4 /wp-includes/plugin.php(478): WP_Hook->do_action(Array)
#5 /wp-admin/includes/post.php(2401): do_action('edit_form_advan...', Object(WP_Post))
#6 /wp-admin/includes/post.php(2270): the_block_editor_meta_box_post_form_hidden_fields(Object(WP_Post))
#7 /w in /wp-content/plugins/wp-js/wp-js-functions.php on line 133
[09-May-2020 12:35:04 UTC] PHP Deprecated:  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 4997
[09-May-2020 12:35:04 UTC] PHP Deprecated:  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 4997
[09-May-2020 12:35:04 UTC] PHP Deprecated:  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 4997
[09-May-2020 12:35:04 UTC] PHP Deprecated:  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 4997
[09-May-2020 12:35:05 UTC] PHP Deprecated:  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 4997
[09-May-2020 12:35:05 UTC] PHP Deprecated:  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 4997
[09-May-2020 12:35:05 UTC] PHP Deprecated:  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 4997
[09-May-2020 12:35:05 UTC] PHP Deprecated:  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 4997
[09-May-2020 12:35:05 UTC] PHP Deprecated:  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 4997
[09-May-2020 12: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('/opt/bitnami/ap...', '.js$', false)
#1 /wp-content/plugins/wp-js/wp-js-files-list.php(218): wp_js_files(51, false)
#2 /wp-includes/class-wp-hook.php(287): wp_js_files_display(Object(WP_Post))
#3 /wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
#4 /wp-includes/plugin.php(478): WP_Hook->do_action(Array)
#5 /wp-admin/includes/post.php(2401): do_action('edit_form_advan...', Object(WP_Post))
#6 /wp-admin/includes/post.php(2270): the_block_editor_meta_box_post_form_hidden_fields(Object(WP_Post))
#7 /w in /wp-content/plugins/wp-js/wp-js-functions.php on line 133
[09-May-2020 12:35:05 UTC] PHP Deprecated:  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 4997
[09-May-2020 12:35:05 UTC] PHP Deprecated:  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 4997
[09-May-2020 12:35:06 UTC] PHP Deprecated:  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 4997
[09-May-2020 12:35:06 UTC] PHP Deprecated:  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 4997
[09-May-2020 12:35:06 UTC] PHP Deprecated:  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 4997
[09-May-2020 12:35:06 UTC] PHP Deprecated:  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 4997
[09-May-2020 12:35:06 UTC] PHP Deprecated:  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 4997
[09-May-2020 12:35:06 UTC] PHP Deprecated:  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 4997
[09-May-2020 12:35:07 UTC] PHP Deprecated:  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 4997
See also: All tests for this plugin