WP Legal Pages 3.2.1

Does WP Legal Pages work with WordPress 6.6.1 and PHP 8.1.12? A smoke test was performed on .

Summary

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

Memory usage: 216.18 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.6.1
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=464b3370cb
Aspect after-activation
HTTP status 200
Load time 0.455 s
Memory usage 3.67 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.817 s
Memory usage 3.93 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.480 s
Memory usage 3.51 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.209 s
Memory usage 5.94 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.329 s0.309 s-0.020 s3.47 MiB3.65 MiB+ 184.76 KiB
/wp-admin/edit.php0.207 s0.222 s+0.015 s3.54 MiB3.72 MiB+ 184.58 KiB
/wp-admin/post-new.php0.801 s0.926 s+0.125 s5.75 MiB6.11 MiB+ 364.2 KiB
/wp-admin/upload.php0.731 s0.497 s-0.234 s3.49 MiB3.65 MiB+ 167.48 KiB
/wp-admin/options-writing.php0.224 s0.194 s-0.030 s3.41 MiB3.64 MiB+ 229.98 KiB
/wp-admin/media-new.php0.294 s0.239 s-0.055 s3.4 MiB3.63 MiB+ 243.36 KiB
/wp-admin/edit-tags.php?taxonomy=category0.205 s0.193 s-0.012 s3.47 MiB3.66 MiB+ 190.03 KiB
/wp-admin/post-new.php?post_type=page0.608 s0.560 s-0.048 s5.75 MiB6.09 MiB+ 355.79 KiB
/wp-admin/options-discussion.php0.237 s0.294 s+0.057 s3.41 MiB3.63 MiB+ 231.66 KiB
/wp-admin/edit-comments.php0.247 s0.204 s-0.043 s3.49 MiB3.65 MiB+ 167.16 KiB
/0.505 s0.382 s-0.123 s3.45 MiB3.51 MiB+ 58.94 KiB
Average 0.399 s0.365 s-0.033 s3.88 MiB4.09 MiB+ 216.18 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
JavaScript40.0%15,1942,02329
PHP36.3%13,8072,87842
CSS13.2%5,0086517
JSON4.5%1,71801
HTML2.8%1,050041
SVG2.3%865069
PO File1.0%3711911
XML0.0%1801
Total 38,031 5,157 201

PHP Code Analysis | More results »

Lines of code 10,256
Total complexity 1,900
Median class complexity 25.0
Median method complexity 2.5
Most complex class WP_Legal_Pages_Admin
Most complex function WP_Legal_Pages_Wizard_Page::get_page_preview_text()
Classes 18
Methods 238
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 22

Sidebar Widgets 1

ID Name
legal_pagesWPLegalPages

PHP Error Log 2 lines

[26-Jul-2024 06:53:00 UTC] PHP Notice:  Function wp_enqueue_script() was called <strong>incorrectly</strong>. "wp-editor" script should not be enqueued together with the new widgets editor (wp-edit-widgets or wp-customize-widgets). Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.8.0.) in /wp-includes/functions.php on line 6085
[26-Jul-2024 06:53:05 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/wplegalpages/wc-am-client-legalpages.php on line 249
See also: All tests for this plugin, How to Hide WP Legal Pages Admin Menus