WPLegalPages 3.2.0

Does WPLegalPages 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=e07331777a
Aspect after-activation
HTTP status 200
Load time 0.491 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.809 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.490 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.758 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.355 s0.304 s-0.051 s3.47 MiB3.65 MiB+ 184.76 KiB
/wp-admin/edit.php0.224 s0.199 s-0.025 s3.54 MiB3.72 MiB+ 184.58 KiB
/wp-admin/post-new.php0.817 s0.661 s-0.156 s5.75 MiB6.11 MiB+ 364.2 KiB
/wp-admin/upload.php0.691 s0.493 s-0.198 s3.49 MiB3.65 MiB+ 167.48 KiB
/wp-admin/options-writing.php0.225 s0.192 s-0.033 s3.41 MiB3.64 MiB+ 229.98 KiB
/wp-admin/media-new.php0.269 s0.240 s-0.029 s3.4 MiB3.63 MiB+ 243.36 KiB
/wp-admin/edit-tags.php?taxonomy=category0.198 s0.208 s+0.010 s3.47 MiB3.66 MiB+ 190.03 KiB
/wp-admin/post-new.php?post_type=page0.628 s0.636 s+0.008 s5.75 MiB6.09 MiB+ 355.79 KiB
/wp-admin/options-discussion.php0.247 s0.280 s+0.033 s3.41 MiB3.63 MiB+ 231.66 KiB
/wp-admin/edit-comments.php0.238 s0.206 s-0.032 s3.49 MiB3.65 MiB+ 167.16 KiB
/0.327 s0.201 s-0.126 s3.45 MiB3.51 MiB+ 58.94 KiB
Average 0.384 s0.329 s-0.054 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
JavaScript39.7%15,0052,02229
PHP36.5%13,7892,87742
CSS13.2%4,9996517
JSON4.5%1,69201
HTML2.8%1,050041
SVG2.3%865069
PO File1.0%3711911
XML0.0%1801
Total 37,789 5,155 201

PHP Code Analysis | More results »

Lines of code 10,255
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

[24-Jul-2024 04:40:24 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
[24-Jul-2024 04:40:30 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