Language Switcher 3.5.4

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.84 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=0181286bba
Aspect after-activation
HTTP status 200
Load time 0.291 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.696 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.213 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.565 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.242 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 2.155 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.344 s0.299 s-0.045 s3.72 MiB3.92 MiB+ 201.13 KiB
/wp-admin/edit.php0.200 s0.230 s+0.030 s3.76 MiB3.95 MiB+ 201.51 KiB
/wp-admin/post-new.php1.266 s1.286 s+0.020 s5.55 MiB5.75 MiB+ 209.37 KiB
/wp-admin/upload.php0.433 s0.360 s-0.073 s3.69 MiB3.88 MiB+ 200 KiB
/wp-admin/options-writing.php0.165 s0.150 s-0.015 s3.62 MiB3.85 MiB+ 242.08 KiB
/wp-admin/media-new.php0.553 s0.215 s-0.338 s3.66 MiB3.86 MiB+ 200.17 KiB
/wp-admin/edit-tags.php?taxonomy=category0.194 s0.200 s+0.006 s3.69 MiB3.89 MiB+ 202.72 KiB
/wp-admin/post-new.php?post_type=page0.907 s1.083 s+0.176 s5.54 MiB5.74 MiB+ 200.64 KiB
/wp-admin/options-discussion.php0.217 s0.350 s+0.133 s3.6 MiB3.86 MiB+ 263.8 KiB
/wp-admin/edit-comments.php0.213 s0.247 s+0.034 s3.7 MiB3.89 MiB+ 200.65 KiB
/0.288 s0.248 s-0.040 s3.6 MiB3.75 MiB+ 153.16 KiB
Average 0.435 s0.424 s-0.010 s4.01 MiB4.21 MiB+ 206.84 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,9475109
CSS7.3%233183
JavaScript0.9%2822
Markdown0.1%201
Total 3,210 530 15

PHP Code Analysis | More results »

Lines of code 2,075
Total complexity 517
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