Preferred Languages 2.2.2

Does Preferred Languages work with WordPress 6.5.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.01 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.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=bde46a00c1
Aspect after-activation
HTTP status 200
Load time 0.258 s
Memory usage 3.44 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.188 s
Memory usage 3.43 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.374 s0.334 s-0.040 s3.44 MiB3.5 MiB+ 62.16 KiB
/wp-admin/edit.php0.214 s0.197 s-0.017 s3.46 MiB3.52 MiB+ 62.89 KiB
/wp-admin/post-new.php0.966 s0.609 s-0.357 s5.59 MiB5.68 MiB+ 87.87 KiB
/wp-admin/upload.php0.532 s0.456 s-0.076 s3.38 MiB3.42 MiB+ 44.02 KiB
/wp-admin/options-writing.php0.208 s0.216 s+0.008 s3.37 MiB3.41 MiB+ 35.95 KiB
/wp-admin/media-new.php0.291 s0.272 s-0.019 s3.35 MiB3.41 MiB+ 58.41 KiB
/wp-admin/edit-tags.php?taxonomy=category0.188 s0.204 s+0.016 s3.37 MiB3.43 MiB+ 61.38 KiB
/wp-admin/post-new.php?post_type=page0.557 s0.609 s+0.052 s5.59 MiB5.67 MiB+ 83.45 KiB
/wp-admin/options-discussion.php0.391 s0.463 s+0.072 s3.36 MiB3.4 MiB+ 44.48 KiB
/wp-admin/edit-comments.php0.251 s0.255 s+0.004 s3.39 MiB3.44 MiB+ 44.74 KiB
/0.309 s0.203 s-0.106 s3.42 MiB3.43 MiB+ 8.75 KiB
Average 0.389 s0.347 s-0.042 s3.79 MiB3.84 MiB+ 54.01 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%7154945
JavaScript1.8%1301
CSS0.3%202
Total 730 494 8

PHP Code Analysis | More results »

Lines of code 705
Total complexity 169
Median class complexity 0.0
Median method complexity 0.0
Most complex class Preferred_Languages_Noop_Translations
Most complex function preferred_languages_pre_load_script_translations()
Classes 1
Methods 0
Functions 37

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