WP Legal Pages 3.2.2

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: 221.66 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.113 seconds
The average page load time increased by this amount after activating the plugin.

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=736e5b90d8
Aspect after-activation
HTTP status 200
Load time 0.580 s
Memory usage 3.68 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 2.200 s
Memory usage 3.94 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.610 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.331 s
Memory usage 5.95 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.385 s0.624 s+0.239 s3.47 MiB3.66 MiB+ 190.56 KiB
/wp-admin/edit.php0.226 s0.289 s+0.063 s3.54 MiB3.72 MiB+ 189.64 KiB
/wp-admin/post-new.php0.844 s1.346 s+0.502 s5.75 MiB6.11 MiB+ 370.27 KiB
/wp-admin/upload.php0.598 s0.585 s-0.013 s3.49 MiB3.66 MiB+ 172.6 KiB
/wp-admin/options-writing.php0.216 s0.255 s+0.039 s3.41 MiB3.64 MiB+ 235.09 KiB
/wp-admin/media-new.php0.264 s0.310 s+0.046 s3.4 MiB3.64 MiB+ 248.48 KiB
/wp-admin/edit-tags.php?taxonomy=category0.200 s0.236 s+0.036 s3.47 MiB3.66 MiB+ 195.15 KiB
/wp-admin/post-new.php?post_type=page0.629 s0.795 s+0.166 s5.75 MiB6.1 MiB+ 366.27 KiB
/wp-admin/options-discussion.php0.246 s0.307 s+0.061 s3.41 MiB3.64 MiB+ 236.78 KiB
/wp-admin/edit-comments.php0.261 s0.489 s+0.228 s3.49 MiB3.66 MiB+ 172.28 KiB
/0.355 s0.229 s-0.126 s3.45 MiB3.51 MiB+ 61.19 KiB
Average 0.384 s0.497 s+0.113 s3.88 MiB4.09 MiB+ 221.66 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
JavaScript39.8%15,1962,02329
PHP36.3%13,8692,88942
CSS13.3%5,0806618
JSON4.5%1,71801
HTML2.8%1,050041
SVG2.3%865069
PO File1.0%3711911
XML0.0%1801
Total 38,167 5,169 202

PHP Code Analysis | More results »

Lines of code 10,319
Total complexity 1,912
Median class complexity 25.0
Median method complexity 3.0
Most complex class WP_Legal_Pages_Admin
Most complex function WP_Legal_Pages_Wizard_Page::get_page_preview_text()
Classes 18
Methods 240
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 23

Sidebar Widgets 1

ID Name
legal_pagesWPLegalPages

PHP Error Log 2 lines

[19-Aug-2024 09:33:30 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
[19-Aug-2024 09:33:36 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