Language Switcher 3.7.1

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: 209.46 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=783feddbd4
Aspect after-activation
HTTP status 200
Load time 0.248 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.549 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.215 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.575 s
Memory usage 3.18 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.267 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.996 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.289 s0.257 s-0.032 s3.07 MiB3.28 MiB+ 211.39 KiB
/wp-admin/edit.php0.195 s0.193 s-0.002 s3.1 MiB3.31 MiB+ 211.66 KiB
/wp-admin/post-new.php0.773 s0.987 s+0.214 s5.02 MiB5.23 MiB+ 209.68 KiB
/wp-admin/upload.php0.570 s0.270 s-0.300 s3.02 MiB3.21 MiB+ 195.39 KiB
/wp-admin/options-writing.php0.178 s0.142 s-0.036 s3.01 MiB3.19 MiB+ 181.05 KiB
/wp-admin/media-new.php0.348 s0.256 s-0.092 s2.99 MiB3.19 MiB+ 207.84 KiB
/wp-admin/edit-tags.php?taxonomy=category0.193 s0.188 s-0.005 s3.01 MiB3.21 MiB+ 212.43 KiB
/wp-admin/post-new.php?post_type=page0.608 s0.696 s+0.088 s5.01 MiB5.22 MiB+ 206.37 KiB
/wp-admin/options-discussion.php0.218 s0.253 s+0.035 s3 MiB3.19 MiB+ 197.33 KiB
/wp-admin/edit-comments.php0.214 s0.215 s+0.001 s3.03 MiB3.22 MiB+ 195.05 KiB
/0.321 s0.233 s-0.088 s2.97 MiB3.24 MiB+ 275.92 KiB
Average 0.355 s0.335 s-0.020 s3.38 MiB3.59 MiB+ 209.46 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,0094959
CSS7.1%233183
JavaScript0.7%2421
Markdown0.1%201
Total 3,268 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