Does Language Switcher work with WordPress 5.9.2 and PHP 7.4.8? A smoke test was performed on .
3 | PHP notices |
No JavaScript exceptions | |
All test pages loaded successfully | |
No resource errors |
Memory usage: 199.82 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.
WordPress version | 5.9.2 |
---|---|
PHP version | 7.4.8 |
MySQL version | 8.0.21 |
PHP memory limit | 256M |
Last updated | |
---|---|
Active installs | 1,000+ |
WordPress.org page | https://wordpress.org/plugins/language-switcher/ |
Badges |
|
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=f629a10d7f |
Aspect | after-activation |
HTTP status | 200 |
Load time | 0.438 s |
Memory usage | 3.46 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/admin.php?page=language-switcher |
---|---|
Aspect | menu-item |
HTTP status | 200 |
Load time | 0.575 s |
Memory usage | 3.52 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/admin.php?page=language-switcher&tab=settings |
---|---|
Aspect | menu-item-tab |
HTTP status | 200 |
Load time | 0.186 s |
Memory usage | 3.46 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/admin.php?page=language-switcher&tab=addons |
---|---|
Aspect | menu-item-tab |
HTTP status | 200 |
Load time | 0.586 s |
Memory usage | 3.42 MiB |
JS errors | None |
Resource errors | None |
URL | / |
---|---|
Aspect | front-page |
HTTP status | 200 |
Load time | 0.253 s |
Memory usage | 3.54 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/widgets.php |
---|---|
Aspect | new-sidebar-widgets |
HTTP status | 200 |
Load time | 1.709 s |
Memory usage | 5.37 MiB |
JS errors | None |
Resource errors | None |
URL | Load time | Memory usage | ||||
---|---|---|---|---|---|---|
Inactive | Active | Change | Inactive | Active | Change | |
/wp-admin/index.php | 0.340 s | 0.313 s | -0.027 s | 3.37 MiB | 3.56 MiB | + 195.89 KiB |
/wp-admin/edit.php | 0.183 s | 0.193 s | +0.010 s | 3.4 MiB | 3.59 MiB | + 196.21 KiB |
/wp-admin/post-new.php | 1.100 s | 1.227 s | +0.127 s | 6.15 MiB | 6.34 MiB | + 199.81 KiB |
/wp-admin/upload.php | 0.472 s | 0.341 s | -0.131 s | 3.25 MiB | 3.45 MiB | + 205.36 KiB |
/wp-admin/options-writing.php | 0.271 s | 0.277 s | +0.006 s | 3.24 MiB | 3.42 MiB | + 184.78 KiB |
/wp-admin/media-new.php | 0.287 s | 0.241 s | -0.046 s | 3.23 MiB | 3.43 MiB | + 206.16 KiB |
/wp-admin/edit-tags.php?taxonomy=category | 0.181 s | 0.190 s | +0.009 s | 3.27 MiB | 3.46 MiB | + 197.16 KiB |
/wp-admin/post-new.php?post_type=page | 0.968 s | 1.023 s | +0.055 s | 6.15 MiB | 6.34 MiB | + 195.4 KiB |
/wp-admin/options-discussion.php | 0.226 s | 0.253 s | +0.027 s | 3.22 MiB | 3.42 MiB | + 205.78 KiB |
/wp-admin/edit-comments.php | 0.251 s | 0.211 s | -0.040 s | 3.27 MiB | 3.52 MiB | + 260.13 KiB |
/ | 0.274 s | 0.232 s | -0.042 s | 3.4 MiB | 3.54 MiB | + 151.3 KiB |
Average | 0.414 s | 0.409 s | -0.005 s | 3.81 MiB | 4.01 MiB | + 199.82 KiB |
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.
Language | % | Lines of code | Comment lines | Files | |
---|---|---|---|---|---|
PHP | 91.7% | 2,918 | 510 | 9 | |
CSS | 7.3% | 233 | 18 | 3 | |
JavaScript | 0.9% | 28 | 2 | 2 | |
Markdown | 0.1% | 2 | 0 | 1 | |
Total | 3,181 | 530 | 15 |
Lines of code | 2,046 |
---|---|
Total complexity | 507 |
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 | 99 |
Functions | 1 |
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.
wp_options
1ID | Name |
---|---|
language_switcher_widget | Language Switcher |
[14-Mar-2022 07:38:18 UTC] PHP Notice: Trying to access array offset on value of type null in /wp-content/plugins/language-switcher/includes/class-language-switcher.php on line 1487
[14-Mar-2022 07:38:18 UTC] PHP Notice: Trying to access array offset on value of type null in /wp-content/plugins/language-switcher/includes/class-language-switcher.php on line 1487
[14-Mar-2022 07:38:18 UTC] PHP Notice: Trying to access array offset on value of type null in /wp-content/plugins/language-switcher/includes/class-language-switcher.php on line 1487