Falang multilanguage for WordPress 1.3.14

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

Summary

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

Memory usage: 371.15 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.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/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=178586d235
Aspect after-activation
HTTP status 200
Load time 0.633 s
Memory usage 3.22 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.202 s
Memory usage 3.17 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.179 s
Memory usage 3.11 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.153 s
Memory usage 3.18 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.164 s
Memory usage 3.19 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.171 s
Memory usage 3.11 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.224 s
Memory usage 3.1 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.405 s
Memory usage 3.1 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.221 s
Memory usage 3.04 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.166 s
Memory usage 3.04 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.158 s
Memory usage 3.07 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.279 s
Memory usage 2.99 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.007 s
Memory usage 3.12 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.257 s0.434 s+0.177 s2.82 MiB3.19 MiB+ 375.8 KiB
/wp-admin/edit.php0.174 s0.222 s+0.048 s2.86 MiB3.22 MiB+ 367.03 KiB
/wp-admin/post-new.php0.921 s1.030 s+0.109 s5.02 MiB5.39 MiB+ 371.3 KiB
/wp-admin/upload.php0.475 s0.335 s-0.140 s2.7 MiB3.06 MiB+ 376.17 KiB
/wp-admin/options-writing.php0.158 s0.268 s+0.110 s2.71 MiB3.04 MiB+ 341.34 KiB
/wp-admin/media-new.php0.194 s0.294 s+0.100 s2.67 MiB3.04 MiB+ 376.97 KiB
/wp-admin/edit-tags.php?taxonomy=category0.344 s0.191 s-0.153 s2.77 MiB3.14 MiB+ 377.33 KiB
/wp-admin/post-new.php?post_type=page1.211 s0.645 s-0.566 s5.01 MiB5.37 MiB+ 373.77 KiB
/wp-admin/options-discussion.php0.320 s0.688 s+0.368 s2.67 MiB3.07 MiB+ 407.27 KiB
/wp-admin/edit-comments.php0.229 s0.231 s+0.002 s2.78 MiB3.14 MiB+ 374.95 KiB
/0.282 s0.296 s+0.014 s2.65 MiB2.99 MiB+ 340.77 KiB
Average 0.415 s0.421 s+0.006 s3.15 MiB3.51 MiB+ 371.15 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
PHP41.0%10,5715,41489
SVG36.0%9,299123
PO File17.8%4,6002,5685
CSS2.2%571303
JavaScript2.1%55410310
XML0.7%184282
JSON0.1%1601
Total 25,795 8,155 113

PHP Code Analysis | More results »

Lines of code 7,323
Total complexity 1,905
Median class complexity 14.0
Median method complexity 2.0
Most complex class Falang_Public
Most complex function Falang_Public::query_post()
Classes 56
Methods 502
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 3

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 11 lines

[15-Jun-2021 09:01:50 UTC] PHP Notice:  Undefined index: rtl in /wp-content/plugins/falang/includes/class-falang-activator.php on line 149
[15-Jun-2021 09:01:50 UTC] PHP Notice:  Undefined index: position in /wp-content/plugins/falang/includes/class-falang-activator.php on line 159
[15-Jun-2021 09:02:05 UTC] PHP Notice:  Undefined index: display_type in /wp-content/plugins/falang/includes/widgets-language.php on line 101
[15-Jun-2021 09:02:05 UTC] PHP Notice:  Undefined index: display_type in /wp-content/plugins/falang/includes/widgets-language.php on line 107
[15-Jun-2021 09:02:05 UTC] PHP Notice:  Undefined index: positioning in /wp-content/plugins/falang/includes/widgets-language.php on line 110
[15-Jun-2021 09:02:05 UTC] PHP Notice:  Undefined index: positioning in /wp-content/plugins/falang/includes/widgets-language.php on line 111
[15-Jun-2021 09:02:05 UTC] PHP Notice:  Undefined index: display_type in /wp-content/plugins/falang/includes/widgets-language.php on line 116
[15-Jun-2021 09:02:05 UTC] PHP Notice:  Undefined index: display_name in /wp-content/plugins/falang/includes/widgets-language.php on line 117
[15-Jun-2021 09:02:05 UTC] PHP Notice:  Undefined index: display_type in /wp-content/plugins/falang/includes/widgets-language.php on line 123
[15-Jun-2021 09:02:05 UTC] PHP Notice:  Undefined index: display_flags in /wp-content/plugins/falang/includes/widgets-language.php on line 124
[15-Jun-2021 09:02:05 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