Falang multilanguage for WordPress 1.3.29

Does "Falang multilanguage for WordPress" work with WordPress 6.0.2 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: 377.19 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.054 seconds
The average page load time increased by this amount after activating the plugin.

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/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=1c1460e951
Aspect after-activation
HTTP status 200
Load time 0.753 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.181 s
Memory usage 4.1 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.193 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.215 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.195 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.174 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.210 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.255 s
Memory usage 4.09 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.185 s
Memory usage 4.01 MiB
JS errors None
Resource errors None

Falang → Settings → License

Page screenshot: Falang → Settings → License
URL /wp-admin/admin.php?page=falang-settings
Aspect menu-item-tab
HTTP status 200
Load time 0.188 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.262 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.215 s
Memory usage 4.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.430 s
Memory usage 3.9 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.967 s
Memory usage 5.88 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.347 s0.404 s+0.057 s3.72 MiB4.08 MiB+ 365.03 KiB
/wp-admin/edit.php0.190 s0.212 s+0.022 s3.76 MiB4.11 MiB+ 366.07 KiB
/wp-admin/post-new.php0.968 s1.344 s+0.376 s5.55 MiB5.92 MiB+ 383.57 KiB
/wp-admin/upload.php0.407 s0.431 s+0.024 s3.69 MiB4.04 MiB+ 364.17 KiB
/wp-admin/options-writing.php0.146 s0.155 s+0.009 s3.62 MiB4.02 MiB+ 407.88 KiB
/wp-admin/media-new.php0.390 s0.230 s-0.160 s3.66 MiB4.02 MiB+ 364.34 KiB
/wp-admin/edit-tags.php?taxonomy=category0.228 s0.303 s+0.075 s3.69 MiB4.05 MiB+ 367.05 KiB
/wp-admin/post-new.php?post_type=page1.090 s1.251 s+0.161 s5.54 MiB5.92 MiB+ 388.44 KiB
/wp-admin/options-discussion.php0.210 s0.281 s+0.071 s3.6 MiB4.07 MiB+ 479.88 KiB
/wp-admin/edit-comments.php0.211 s0.220 s+0.009 s3.7 MiB4.05 MiB+ 364.3 KiB
/0.266 s0.212 s-0.054 s3.6 MiB3.9 MiB+ 298.39 KiB
Average 0.405 s0.458 s+0.054 s4.01 MiB4.38 MiB+ 377.19 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.8%11,5915,71595
SVG34.4%9,299123
PO File17.0%4,6002,5685
CSS2.9%773383
JavaScript2.2%6006110
XML0.7%184282
JSON0.1%1601
Total 27,063 8,422 119

PHP Code Analysis | More results »

Lines of code 8,142
Total complexity 2,107
Median class complexity 15.0
Median method complexity 2.0
Most complex class Falang_Public
Most complex function Falang_Public::query_post()
Classes 61
Methods 542
Functions 14

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

[02-Sep-2022 17:24:22 UTC] PHP Notice:  Undefined index: rtl in /wp-content/plugins/falang/includes/class-falang-activator.php on line 159
[02-Sep-2022 17:24:22 UTC] PHP Notice:  Undefined index: position in /wp-content/plugins/falang/includes/class-falang-activator.php on line 169
See also: All tests for this plugin, How to Hide Falang multilanguage for WordPress Admin Menus and Meta Boxes