WPLegalPages 3.1.0

Does WPLegalPages work with WordPress 6.5.4 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.98 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.4
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=62d75b7ba7
Aspect after-activation
HTTP status 200
Load time 0.457 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.818 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.652 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.146 s
Memory usage 5.74 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.386 s0.342 s-0.044 s3.44 MiB3.6 MiB+ 167.17 KiB
/wp-admin/edit.php0.217 s0.270 s+0.053 s3.46 MiB3.62 MiB+ 166.52 KiB
/wp-admin/post-new.php0.950 s0.659 s-0.291 s5.59 MiB5.78 MiB+ 198.62 KiB
/wp-admin/upload.php0.558 s0.302 s-0.256 s3.38 MiB3.53 MiB+ 150.17 KiB
/wp-admin/options-writing.php0.250 s0.198 s-0.052 s3.37 MiB3.51 MiB+ 141.82 KiB
/wp-admin/media-new.php0.310 s0.239 s-0.071 s3.35 MiB3.51 MiB+ 162.05 KiB
/wp-admin/edit-tags.php?taxonomy=category0.199 s0.196 s-0.003 s3.37 MiB3.53 MiB+ 167.22 KiB
/wp-admin/post-new.php?post_type=page0.551 s0.817 s+0.266 s5.59 MiB5.77 MiB+ 194.2 KiB
/wp-admin/options-discussion.php0.368 s0.294 s-0.074 s3.36 MiB3.51 MiB+ 150.35 KiB
/wp-admin/edit-comments.php0.237 s0.226 s-0.011 s3.39 MiB3.54 MiB+ 149.89 KiB
/0.309 s0.222 s-0.087 s3.42 MiB3.47 MiB+ 56.76 KiB
Average 0.394 s0.342 s-0.052 s3.79 MiB3.94 MiB+ 154.98 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.3%15,0092,02629
PHP35.7%13,2682,67841
CSS13.4%4,9846517
JSON4.4%1,64801
HTML2.8%1,050041
SVG2.3%865069
PO File1.0%3711911
XML0.0%1801
Total 37,213 4,960 200

PHP Code Analysis | More results »

Lines of code 9,734
Total complexity 1,800
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

[06-Jun-2024 06:00:13 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