Falang multilanguage for WordPress 1.3.27

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

Summary

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

Memory usage: 383 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
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 14

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=e9bc529e92
Aspect after-activation
HTTP status 200
Load time 0.568 s
Memory usage 4.15 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.262 s
Memory usage 4.09 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.208 s
Memory usage 4.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.219 s
Memory usage 4.08 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.161 s
Memory usage 4.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.169 s
Memory usage 4.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.208 s
Memory usage 4.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.259 s
Memory usage 4.01 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.182 s
Memory usage 4.01 MiB
JS errors None
Resource errors None

Falang → Settings → Licence

Page screenshot: Falang → Settings → Licence
URL /wp-admin/admin.php?page=falang-settings
Aspect menu-item-tab
HTTP status 200
Load time 0.192 s
Memory usage 4.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.216 s
Memory usage 4.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.203 s
Memory usage 4.01 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.223 s
Memory usage 3.89 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.686 s
Memory usage 5.87 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
    },
    {
        "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.306 s0.386 s+0.080 s3.72 MiB4.08 MiB+ 365.84 KiB
/wp-admin/edit.php0.183 s0.211 s+0.028 s3.75 MiB4.11 MiB+ 366.88 KiB
/wp-admin/post-new.php1.346 s1.075 s-0.271 s5.53 MiB5.91 MiB+ 384.42 KiB
/wp-admin/upload.php0.350 s0.407 s+0.057 s3.68 MiB4.04 MiB+ 364.98 KiB
/wp-admin/options-writing.php0.167 s0.163 s-0.004 s3.61 MiB4.01 MiB+ 409.09 KiB
/wp-admin/media-new.php0.636 s0.230 s-0.406 s3.66 MiB4.02 MiB+ 365.16 KiB
/wp-admin/edit-tags.php?taxonomy=category0.187 s0.195 s+0.008 s3.68 MiB4.04 MiB+ 367.86 KiB
/wp-admin/post-new.php?post_type=page0.690 s0.902 s+0.212 s5.53 MiB5.91 MiB+ 389.29 KiB
/wp-admin/options-discussion.php0.219 s0.280 s+0.061 s3.59 MiB4.06 MiB+ 480.7 KiB
/wp-admin/edit-comments.php0.208 s0.237 s+0.029 s3.69 MiB4.05 MiB+ 365.12 KiB
/0.278 s0.275 s-0.003 s3.55 MiB3.89 MiB+ 353.66 KiB
Average 0.415 s0.396 s-0.019 s4 MiB4.37 MiB+ 383 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
PHP42.7%11,5045,69794
SVG34.6%9,299123
PO File17.1%4,6002,5685
CSS2.7%737373
JavaScript2.1%573599
XML0.7%184282
JSON0.1%1601
Total 26,913 8,401 117

PHP Code Analysis | More results »

Lines of code 8,090
Total complexity 2,099
Median class complexity 15.0
Median method complexity 2.0
Most complex class Falang_Public
Most complex function Falang_Public::query_post()
Classes 60
Methods 539
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 4

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

[27-Jun-2022 01:16:42 UTC] PHP Notice:  Undefined index: rtl in /wp-content/plugins/falang/includes/class-falang-activator.php on line 158
[27-Jun-2022 01:16:42 UTC] PHP Notice:  Undefined index: position in /wp-content/plugins/falang/includes/class-falang-activator.php on line 168
See also: All tests for this plugin, How to Hide Falang multilanguage for WordPress Admin Menus and Meta Boxes