Language Switcher 3.7.2

Does Language Switcher work with WordPress 6.2.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: 210.36 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.2.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 1,000+
WordPress.org page https://wordpress.org/plugins/language-switcher/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 6

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=language-switcher%2Flanguage-switcher.php&plugin_status=all&paged=1&s&_wpnonce=bced8b3ca9
Aspect after-activation
HTTP status 200
Load time 0.234 s
Memory usage 3.22 MiB
JS errors None
Resource errors None

Languages

Page screenshot: Languages
URL /wp-admin/admin.php?page=language-switcher
Aspect menu-item
HTTP status 200
Load time 0.555 s
Memory usage 3.29 MiB
JS errors None
Resource errors None

Languages → Settings

Page screenshot: Languages → Settings
URL /wp-admin/admin.php?page=language-switcher&tab=settings
Aspect menu-item-tab
HTTP status 200
Load time 0.163 s
Memory usage 3.22 MiB
JS errors None
Resource errors None

Languages → Addons

Page screenshot: Languages → Addons
URL /wp-admin/admin.php?page=language-switcher&tab=addons
Aspect menu-item-tab
HTTP status 200
Load time 0.557 s
Memory usage 3.19 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.218 s
Memory usage 3.24 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 0.967 s
Memory usage 5.19 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.743 s0.254 s-0.489 s3.07 MiB3.28 MiB+ 212.29 KiB
/wp-admin/edit.php0.168 s0.179 s+0.011 s3.1 MiB3.31 MiB+ 212.56 KiB
/wp-admin/post-new.php0.701 s0.599 s-0.102 s5.02 MiB5.23 MiB+ 210.58 KiB
/wp-admin/upload.php0.657 s0.387 s-0.270 s3.02 MiB3.21 MiB+ 196.29 KiB
/wp-admin/options-writing.php0.179 s0.156 s-0.023 s3.01 MiB3.19 MiB+ 181.95 KiB
/wp-admin/media-new.php0.253 s0.185 s-0.068 s2.99 MiB3.2 MiB+ 208.73 KiB
/wp-admin/edit-tags.php?taxonomy=category0.167 s0.188 s+0.021 s3.01 MiB3.21 MiB+ 213.33 KiB
/wp-admin/post-new.php?post_type=page0.566 s0.574 s+0.008 s5.01 MiB5.22 MiB+ 207.27 KiB
/wp-admin/options-discussion.php0.186 s0.225 s+0.039 s3 MiB3.19 MiB+ 198.23 KiB
/wp-admin/edit-comments.php0.216 s0.197 s-0.019 s3.03 MiB3.22 MiB+ 195.95 KiB
/0.307 s0.214 s-0.093 s2.97 MiB3.24 MiB+ 276.82 KiB
Average 0.377 s0.287 s-0.090 s3.38 MiB3.59 MiB+ 210.36 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
PHP92.1%3,0154959
CSS7.1%233183
JavaScript0.7%2421
Markdown0.1%201
Total 3,274 515 14

PHP Code Analysis | More results »

Lines of code 2,137
Total complexity 526
Median class complexity 32.5
Median method complexity 3.0
Most complex class Language_Switcher
Most complex function Language_Switcher_Admin_API::display_field()
Classes 6
Methods 104
Functions 1

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.

Options wp_options 1

Sidebar Widgets 1

ID Name
language_switcher_widgetLanguage Switcher

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide Language Switcher Admin Menus