Language Switcher 3.5.3

Does Language Switcher work with WordPress 6.0.2 and PHP 7.4.8? 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: 206.55 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.0.2
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
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=7c375e4904
Aspect after-activation
HTTP status 200
Load time 0.522 s
Memory usage 3.89 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.685 s
Memory usage 3.95 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.206 s
Memory usage 3.89 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.595 s
Memory usage 3.85 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.327 s
Memory usage 3.75 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 1.886 s
Memory usage 5.73 MiB
JS errors
External errors: The following JavaScript errors were probably triggered by WordPress itself, or by compatibility issues in the test runner. They are not related to the plugin.
[
    {
        "message": "TypeError: Cannot read properties of null (reading 'offsetHeight')\n    at t (/wp-includes/js/dist/widgets.min.js?ver=80e98954519d1dad7a91a2248dbc2cc9:7:10419)\n    at IntersectionObserver.n.threshold (/wp-includes/js/dist/widgets.min.js?ver=80e98954519d1dad7a91a2248dbc2cc9:7:10591)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.359 s0.309 s-0.050 s3.72 MiB3.92 MiB+ 200.82 KiB
/wp-admin/edit.php0.211 s0.209 s-0.002 s3.76 MiB3.95 MiB+ 201.2 KiB
/wp-admin/post-new.php0.788 s1.014 s+0.226 s5.55 MiB5.75 MiB+ 209.05 KiB
/wp-admin/upload.php0.431 s0.355 s-0.076 s3.69 MiB3.88 MiB+ 199.69 KiB
/wp-admin/options-writing.php0.179 s0.260 s+0.081 s3.62 MiB3.85 MiB+ 241.77 KiB
/wp-admin/media-new.php0.528 s0.274 s-0.254 s3.66 MiB3.86 MiB+ 199.86 KiB
/wp-admin/edit-tags.php?taxonomy=category0.227 s0.218 s-0.009 s3.69 MiB3.89 MiB+ 202.41 KiB
/wp-admin/post-new.php?post_type=page0.967 s0.656 s-0.311 s5.54 MiB5.74 MiB+ 200.33 KiB
/wp-admin/options-discussion.php0.258 s0.254 s-0.004 s3.6 MiB3.86 MiB+ 263.48 KiB
/wp-admin/edit-comments.php0.221 s0.250 s+0.029 s3.7 MiB3.89 MiB+ 200.34 KiB
/0.284 s0.289 s+0.005 s3.6 MiB3.75 MiB+ 153.16 KiB
Average 0.405 s0.372 s-0.033 s4.01 MiB4.21 MiB+ 206.55 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
PHP91.8%2,9455109
CSS7.3%233183
JavaScript0.9%2822
Markdown0.1%201
Total 3,208 530 15

PHP Code Analysis | More results »

Lines of code 2,073
Total complexity 516
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 100
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