Language Switcher 3.7.11

Does Language Switcher work with WordPress 6.6.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: 227.68 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.6.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=7c43ea7361
Aspect after-activation
HTTP status 200
Load time 0.247 s
Memory usage 3.7 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.408 s
Memory usage 3.69 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.188 s
Memory usage 3.69 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.524 s
Memory usage 3.66 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.217 s
Memory usage 3.61 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 2.457 s
Memory usage 5.81 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.325 s0.299 s-0.026 s3.47 MiB3.69 MiB+ 217.45 KiB
/wp-admin/edit.php0.193 s0.182 s-0.011 s3.54 MiB3.74 MiB+ 209.8 KiB
/wp-admin/post-new.php0.714 s0.601 s-0.113 s5.75 MiB5.98 MiB+ 234.14 KiB
/wp-admin/upload.php0.631 s0.377 s-0.254 s3.49 MiB3.69 MiB+ 204.1 KiB
/wp-admin/options-writing.php0.190 s0.174 s-0.016 s3.41 MiB3.67 MiB+ 266.91 KiB
/wp-admin/media-new.php0.218 s0.293 s+0.075 s3.4 MiB3.67 MiB+ 280.29 KiB
/wp-admin/edit-tags.php?taxonomy=category0.179 s0.170 s-0.009 s3.47 MiB3.68 MiB+ 217.88 KiB
/wp-admin/post-new.php?post_type=page0.574 s0.560 s-0.014 s5.75 MiB5.98 MiB+ 234.83 KiB
/wp-admin/options-discussion.php0.218 s0.241 s+0.023 s3.41 MiB3.67 MiB+ 268.59 KiB
/wp-admin/edit-comments.php0.223 s0.199 s-0.024 s3.49 MiB3.69 MiB+ 200.68 KiB
/0.289 s0.216 s-0.073 s3.45 MiB3.62 MiB+ 169.84 KiB
Average 0.341 s0.301 s-0.040 s3.88 MiB4.1 MiB+ 227.68 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,0244849
CSS7.1%233183
JavaScript0.7%2421
Markdown0.1%201
Total 3,283 504 14

PHP Code Analysis | More results »

Lines of code 2,140
Total complexity 517
Median class complexity 27.5
Median method complexity 3.0
Most complex class Language_Switcher
Most complex function Language_Switcher_Admin_API::display_field()
Classes 6
Methods 102
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