Preferred Languages 2.4.0

Does Preferred Languages work with WordPress 6.8.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: 54.14 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.8.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=6f53690641
Aspect after-activation
HTTP status 200
Load time 0.301 s
Memory usage 3.57 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.196 s
Memory usage 3.49 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.340 s0.346 s+0.006 s3.51 MiB3.56 MiB+ 55.02 KiB
/wp-admin/edit.php0.204 s0.185 s-0.019 s3.57 MiB3.63 MiB+ 55.75 KiB
/wp-admin/post-new.php0.763 s0.631 s-0.132 s6.06 MiB6.14 MiB+ 81.23 KiB
/wp-admin/upload.php0.598 s0.337 s-0.261 s3.52 MiB3.56 MiB+ 38.66 KiB
/wp-admin/options-writing.php0.224 s0.180 s-0.044 s3.5 MiB3.54 MiB+ 42.65 KiB
/wp-admin/media-new.php0.318 s0.256 s-0.062 s3.49 MiB3.54 MiB+ 50.84 KiB
/wp-admin/edit-tags.php?taxonomy=category0.236 s0.193 s-0.043 s3.5 MiB3.56 MiB+ 61.52 KiB
/wp-admin/post-new.php?post_type=page0.640 s0.629 s-0.011 s6.05 MiB6.13 MiB+ 77.07 KiB
/wp-admin/options-discussion.php0.267 s0.242 s-0.025 s3.5 MiB3.54 MiB+ 39.15 KiB
/wp-admin/edit-comments.php0.222 s0.206 s-0.016 s3.52 MiB3.56 MiB+ 38.65 KiB
/0.301 s0.201 s-0.100 s3.43 MiB3.49 MiB+ 54.97 KiB
Average 0.374 s0.310 s-0.064 s3.97 MiB4.02 MiB+ 54.14 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%6964404
JavaScript1.8%1301
CSS0.3%202
Total 711 440 7

PHP Code Analysis | More results »

Lines of code 687
Total complexity 161
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