Falang multilanguage for WordPress 1.3.9

Does "Falang multilanguage for WordPress" work with WordPress 5.7 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
12PHP notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 337.54 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 version5.7
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/falang/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 13

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=falang%2Ffalang.php&plugin_status=all&paged=1&s&_wpnonce=50f3e35a61
Aspect after-activation
HTTP status 200
Load time 0.993 s
Memory usage 3.19 MiB
JS errors None
Resource errors None

Falang

Page screenshot: Falang
URL /wp-admin/admin.php?page=falang-translation
Aspect menu-item
HTTP status 200
Load time 0.198 s
Memory usage 3.14 MiB
JS errors None
Resource errors None

Falang → Translate Terms/Taxo

Page screenshot: Falang → Translate Terms/Taxo
URL /wp-admin/admin.php?page=falang-terms
Aspect menu-item
HTTP status 200
Load time 0.166 s
Memory usage 3.08 MiB
JS errors None
Resource errors None

Falang → Translate Menus

Page screenshot: Falang → Translate Menus
URL /wp-admin/admin.php?page=falang-menus
Aspect menu-item
HTTP status 200
Load time 0.167 s
Memory usage 3.15 MiB
JS errors None
Resource errors None

Falang → Translate Strings

Page screenshot: Falang → Translate Strings
URL /wp-admin/admin.php?page=falang-strings
Aspect menu-item
HTTP status 200
Load time 0.176 s
Memory usage 3.16 MiB
JS errors None
Resource errors None

Falang → Translate Options

Page screenshot: Falang → Translate Options
URL /wp-admin/admin.php?page=falang-options
Aspect menu-item
HTTP status 200
Load time 0.177 s
Memory usage 3.08 MiB
JS errors None
Resource errors None

Falang → Languages

Page screenshot: Falang → Languages
URL /wp-admin/admin.php?page=falang-language
Aspect menu-item
HTTP status 200
Load time 0.183 s
Memory usage 3.07 MiB
JS errors None
Resource errors None

Falang → Settings

Page screenshot: Falang → Settings
URL /wp-admin/admin.php?page=falang-settings
Aspect menu-item
HTTP status 200
Load time 0.211 s
Memory usage 3.07 MiB
JS errors None
Resource errors None

Falang → Settings → Translate Options

Page screenshot: Falang → Settings → Translate Options
URL /wp-admin/admin.php?page=falang-settings
Aspect menu-item-tab
HTTP status 200
Load time 0.266 s
Memory usage 3.01 MiB
JS errors None
Resource errors None

Falang → Settings → Information

Page screenshot: Falang → Settings → Information
URL /wp-admin/admin.php?page=falang-settings
Aspect menu-item-tab
HTTP status 200
Load time 0.191 s
Memory usage 3.01 MiB
JS errors None
Resource errors None

Falang → Get Help

Page screenshot: Falang → Get Help
URL /wp-admin/admin.php?page=falang-help
Aspect menu-item
HTTP status 200
Load time 0.183 s
Memory usage 3.04 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.269 s
Memory usage 2.96 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.882 s
Memory usage 3.1 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.258 s0.489 s+0.231 s2.82 MiB3.16 MiB+ 345.32 KiB
/wp-admin/edit.php0.191 s0.222 s+0.031 s2.86 MiB3.19 MiB+ 336.98 KiB
/wp-admin/post-new.php0.948 s1.257 s+0.309 s5.02 MiB5.36 MiB+ 341.03 KiB
/wp-admin/upload.php0.509 s0.383 s-0.126 s2.7 MiB3.03 MiB+ 345.49 KiB
/wp-admin/options-writing.php0.287 s0.178 s-0.109 s2.71 MiB3.01 MiB+ 311.29 KiB
/wp-admin/media-new.php0.209 s0.192 s-0.017 s2.67 MiB3.01 MiB+ 346.6 KiB
/wp-admin/edit-tags.php?taxonomy=category0.191 s0.194 s+0.003 s2.77 MiB3.05 MiB+ 283.27 KiB
/wp-admin/post-new.php?post_type=page1.245 s0.935 s-0.310 s5.01 MiB5.34 MiB+ 343.63 KiB
/wp-admin/options-discussion.php0.322 s0.345 s+0.023 s2.67 MiB3.06 MiB+ 399.73 KiB
/wp-admin/edit-comments.php0.249 s0.226 s-0.023 s2.78 MiB3.11 MiB+ 344.89 KiB
/0.281 s0.253 s-0.028 s2.65 MiB2.96 MiB+ 314.66 KiB
Average 0.426 s0.425 s-0.001 s3.15 MiB3.48 MiB+ 337.54 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
SVG
PO File
Language % Lines of code Comment lines Files
PHP40.5%10,3265,19388
SVG36.5%9,299123
PO File18.0%4,6002,5685
JavaScript2.1%54610310
CSS2.1%537263
XML0.7%184282
JSON0.1%1601
Total 25,508 7,930 112

PHP Code Analysis | More results »

Lines of code 7,087
Total complexity 1,818
Median class complexity 13.0
Median method complexity 2.0
Most complex class Falang_Public
Most complex function Falang_Public::query_post()
Classes 55
Methods 485
Functions 13

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 2

Sidebar Widgets 1

ID Name
falangFalang Language Switcher

Meta Boxes

{
    "nav-menus": {
        "falang_lang_switch_box": {
            "title": "Language switcher",
            "context": "side"
        }
    },
    "post": {
        "ml_box": {
            "title": "Languages",
            "context": "side"
        }
    },
    "page": {
        "ml_box": {
            "title": "Languages",
            "context": "side"
        }
    }
}

PHP Error Log 12 lines

[25-Mar-2021 14:25:32 UTC] PHP Notice:  Undefined index: rtl in /wp-content/plugins/falang/includes/class-falang-activator.php on line 143
[25-Mar-2021 14:25:32 UTC] PHP Notice:  Undefined index: position in /wp-content/plugins/falang/includes/class-falang-activator.php on line 153
[25-Mar-2021 14:25:36 UTC] PHP Notice:  Undefined property: Falang\Core\Language::$order in /wp-content/plugins/falang/src/Falang/Table/Languages.php on line 104
[25-Mar-2021 14:25:47 UTC] PHP Notice:  Undefined index: display_type in /wp-content/plugins/falang/includes/widgets-language.php on line 101
[25-Mar-2021 14:25:47 UTC] PHP Notice:  Undefined index: display_type in /wp-content/plugins/falang/includes/widgets-language.php on line 107
[25-Mar-2021 14:25:47 UTC] PHP Notice:  Undefined index: positioning in /wp-content/plugins/falang/includes/widgets-language.php on line 110
[25-Mar-2021 14:25:47 UTC] PHP Notice:  Undefined index: positioning in /wp-content/plugins/falang/includes/widgets-language.php on line 111
[25-Mar-2021 14:25:47 UTC] PHP Notice:  Undefined index: display_type in /wp-content/plugins/falang/includes/widgets-language.php on line 116
[25-Mar-2021 14:25:47 UTC] PHP Notice:  Undefined index: display_name in /wp-content/plugins/falang/includes/widgets-language.php on line 117
[25-Mar-2021 14:25:47 UTC] PHP Notice:  Undefined index: display_type in /wp-content/plugins/falang/includes/widgets-language.php on line 123
[25-Mar-2021 14:25:47 UTC] PHP Notice:  Undefined index: display_flags in /wp-content/plugins/falang/includes/widgets-language.php on line 124
[25-Mar-2021 14:25:47 UTC] PHP Notice:  Undefined index: hide_current in /wp-content/plugins/falang/includes/widgets-language.php on line 131
See also: All tests for this plugin, How to Hide Falang multilanguage for WordPress Admin Menus and Meta Boxes