Preferred Languages 2.3.0

Does Preferred Languages work with WordPress 6.7.2 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.25 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.7.2
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=b06401b7c9
Aspect after-activation
HTTP status 200
Load time 0.240 s
Memory usage 3.55 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.257 s
Memory usage 3.47 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.307 s0.267 s-0.040 s3.48 MiB3.54 MiB+ 62.28 KiB
/wp-admin/edit.php0.191 s0.246 s+0.055 s3.54 MiB3.6 MiB+ 62.28 KiB
/wp-admin/post-new.php0.764 s0.611 s-0.153 s5.93 MiB6.01 MiB+ 88.05 KiB
/wp-admin/upload.php0.533 s0.303 s-0.230 s3.5 MiB3.54 MiB+ 45.19 KiB
/wp-admin/options-writing.php0.205 s0.202 s-0.003 s3.47 MiB3.52 MiB+ 49.18 KiB
/wp-admin/media-new.php0.255 s0.195 s-0.060 s3.46 MiB3.52 MiB+ 57.38 KiB
/wp-admin/edit-tags.php?taxonomy=category0.161 s0.172 s+0.011 s3.48 MiB3.54 MiB+ 68.05 KiB
/wp-admin/post-new.php?post_type=page0.608 s0.743 s+0.135 s5.92 MiB6 MiB+ 83.89 KiB
/wp-admin/options-discussion.php0.261 s0.328 s+0.067 s3.48 MiB3.52 MiB+ 45.68 KiB
/wp-admin/edit-comments.php0.199 s0.221 s+0.022 s3.5 MiB3.54 MiB+ 45.18 KiB
/0.320 s0.190 s-0.130 s3.48 MiB3.47 MiB- 10.41 KiB
Average 0.346 s0.316 s-0.030 s3.93 MiB3.98 MiB+ 54.25 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%7144945
JavaScript1.8%1301
CSS0.3%202
Total 729 494 8

PHP Code Analysis | More results »

Lines of code 704
Total complexity 168
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