Preferred Languages 2.4.2

Does Preferred Languages work with WordPress 7.0.3 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
No PHP errors, warnings or notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Looks good! No problems were detected.
Performance

Memory usage: 69.58 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 version7.0.3
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 2,000+
WordPress.org page https://wordpress.org/plugins/preferred-languages/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 2

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=preferred-languages%2Fpreferred-languages.php&plugin_status=all&paged=1&s&_wpnonce=d4317ed89e
Aspect after-activation
HTTP status 200
Load time 0.593 s
Memory usage 3.95 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.261 s
Memory usage 4.28 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.869 s0.574 s-0.295 s3.92 MiB4 MiB+ 78.42 KiB
/wp-admin/edit.php0.598 s0.965 s+0.367 s3.98 MiB4.06 MiB+ 78.42 KiB
/wp-admin/post-new.php2.579 s1.925 s-0.654 s6.56 MiB6.64 MiB+ 83.49 KiB
/wp-admin/upload.php1.494 s1.648 s+0.154 s3.89 MiB3.95 MiB+ 59.03 KiB
/wp-admin/options-writing.php0.732 s0.786 s+0.054 s3.86 MiB3.92 MiB+ 63.02 KiB
/wp-admin/media-new.php0.626 s0.603 s-0.023 s3.85 MiB3.92 MiB+ 71.22 KiB
/wp-admin/edit-tags.php?taxonomy=category0.543 s0.606 s+0.063 s3.86 MiB3.94 MiB+ 76.39 KiB
/wp-admin/post-new.php?post_type=page2.742 s2.242 s-0.500 s6.55 MiB6.63 MiB+ 79.33 KiB
/wp-admin/options-discussion.php0.840 s0.765 s-0.075 s3.86 MiB3.92 MiB+ 59.52 KiB
/wp-admin/edit-comments.php0.661 s0.665 s+0.004 s3.88 MiB3.94 MiB+ 61.23 KiB
/0.313 s0.317 s+0.004 s4.23 MiB4.28 MiB+ 55.34 KiB
Average 1.091 s1.009 s-0.082 s4.4 MiB4.47 MiB+ 69.58 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.

PHP
Language % Lines of code Comment lines Files
PHP97.9%7054414
JavaScript1.8%1301
CSS0.3%202
Total 720 441 7

PHP Code Analysis | More results »

Lines of code 696
Total complexity 164
Median class complexity 0.0
Median method complexity 0.0
Most complex class
Most complex function preferred_languages_pre_load_script_translations()
Classes 0
Methods 0
Functions 33

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.

No new entries found.

PHP Error Log

The log file is empty.

See also: All tests for this plugin