WPLegalPages 3.0.0

Does WPLegalPages work with WordPress 6.5.3 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
1PHP notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 154.96 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.5.3
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 10,000+
WordPress.org page https://wordpress.org/plugins/wplegalpages/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 4

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=wplegalpages%2Fwplegalpages.php&plugin_status=all&paged=1&s&_wpnonce=785e730f22
Aspect after-activation
HTTP status 200
Load time 0.439 s
Memory usage 3.57 MiB
JS errors None
Resource errors None

WPLegalPages

Page screenshot: WPLegalPages
URL /wp-admin/admin.php?page=legal-pages
Aspect menu-item
HTTP status 200
Load time 1.802 s
Memory usage 3.88 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.452 s
Memory usage 3.47 MiB
JS errors None
Resource errors None

Widgets ‹ Test site — WordPress

Page screenshot: Widgets ‹ Test site — WordPress
URL /wp-admin/widgets.php
Aspect new-sidebar-widgets
HTTP status 200
Load time 2.283 s
Memory usage 5.73 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.408 s0.324 s-0.084 s3.44 MiB3.6 MiB+ 167.15 KiB
/wp-admin/edit.php0.221 s0.452 s+0.231 s3.46 MiB3.62 MiB+ 166.49 KiB
/wp-admin/post-new.php0.939 s0.649 s-0.290 s5.59 MiB5.78 MiB+ 198.59 KiB
/wp-admin/upload.php0.642 s0.316 s-0.326 s3.38 MiB3.53 MiB+ 150.15 KiB
/wp-admin/options-writing.php0.222 s0.184 s-0.038 s3.37 MiB3.51 MiB+ 141.8 KiB
/wp-admin/media-new.php0.321 s0.245 s-0.076 s3.35 MiB3.51 MiB+ 162.02 KiB
/wp-admin/edit-tags.php?taxonomy=category0.223 s0.185 s-0.038 s3.37 MiB3.53 MiB+ 167.2 KiB
/wp-admin/post-new.php?post_type=page0.593 s0.798 s+0.205 s5.58 MiB5.77 MiB+ 194.18 KiB
/wp-admin/options-discussion.php0.372 s0.304 s-0.068 s3.36 MiB3.5 MiB+ 150.33 KiB
/wp-admin/edit-comments.php0.286 s0.251 s-0.035 s3.39 MiB3.54 MiB+ 149.87 KiB
/0.333 s0.217 s-0.116 s3.42 MiB3.47 MiB+ 56.73 KiB
Average 0.415 s0.357 s-0.058 s3.79 MiB3.94 MiB+ 154.96 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.

JavaScript
PHP
CSS
Language % Lines of code Comment lines Files
JavaScript41.5%15,0922,02529
PHP37.0%13,4682,67341
CSS11.8%4,2836517
JSON4.4%1,61901
HTML2.9%1,050041
SVG1.3%48203
PO File1.0%3711911
XML0.0%1801
Total 36,383 4,954 134

PHP Code Analysis | More results »

Lines of code 9,961
Total complexity 1,798
Median class complexity 20.0
Median method complexity 2.0
Most complex class WP_Legal_Pages_Admin
Most complex function WP_Legal_Pages_Wizard_Page::get_page_preview_text()
Classes 17
Methods 221
Functions 32

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.

Database Tables 2

Options wp_options 19

Sidebar Widgets 1

ID Name
legal_pagesWPLegalPages

PHP Error Log 1 lines

[08-May-2024 04:27:23 UTC] PHP Notice:  Function wp_enqueue_script() was called incorrectly. "wp-editor" script should not be enqueued together with the new widgets editor (wp-edit-widgets or wp-customize-widgets). Please see <a>Debugging in WordPress</a> for more information. (This message was added in version 5.8.0.) in /wp-includes/functions.php on line 6078
See also: All tests for this plugin, How to Hide WP Legal Pages Admin Menus