Falang multilanguage for WordPress 1.3.28

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

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

Environment
WordPress version6.0.1
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=286fdd5749
Aspect after-activation
HTTP status 200
Load time 0.619 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.260 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.204 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.166 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.237 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.178 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.223 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.189 s
Memory usage 4.08 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 → License

Page screenshot: Falang → Settings → License
URL /wp-admin/admin.php?page=falang-settings
Aspect menu-item-tab
HTTP status 200
Load time 0.254 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.191 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.187 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.275 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.807 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
    }
]
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.370 s0.496 s+0.126 s3.72 MiB4.08 MiB+ 365.03 KiB
/wp-admin/edit.php0.203 s0.222 s+0.019 s3.75 MiB4.11 MiB+ 366.07 KiB
/wp-admin/post-new.php0.805 s1.199 s+0.394 s5.54 MiB5.92 MiB+ 383.57 KiB
/wp-admin/upload.php0.416 s0.457 s+0.041 s3.68 MiB4.04 MiB+ 364.17 KiB
/wp-admin/options-writing.php0.158 s0.171 s+0.013 s3.62 MiB4.01 MiB+ 407.88 KiB
/wp-admin/media-new.php0.529 s0.237 s-0.292 s3.66 MiB4.02 MiB+ 364.34 KiB
/wp-admin/edit-tags.php?taxonomy=category0.246 s0.217 s-0.029 s3.69 MiB4.05 MiB+ 367.05 KiB
/wp-admin/post-new.php?post_type=page0.649 s1.078 s+0.429 s5.54 MiB5.92 MiB+ 388.44 KiB
/wp-admin/options-discussion.php0.220 s0.392 s+0.172 s3.6 MiB4.04 MiB+ 458.33 KiB
/wp-admin/edit-comments.php0.223 s0.241 s+0.018 s3.69 MiB4.05 MiB+ 364.3 KiB
/0.317 s0.229 s-0.088 s3.6 MiB3.89 MiB+ 298.39 KiB
Average 0.376 s0.449 s+0.073 s4.01 MiB4.38 MiB+ 375.23 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,5145,70194
SVG34.5%9,299123
PO File17.1%4,6002,5685
CSS2.7%737373
JavaScript2.1%573599
XML0.7%184282
JSON0.1%1601
Total 26,923 8,405 117

PHP Code Analysis | More results »

Lines of code 8,100
Total complexity 2,101
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 540
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

[16-Jul-2022 17:00:32 UTC] PHP Notice:  Undefined index: rtl in /wp-content/plugins/falang/includes/class-falang-activator.php on line 158
[16-Jul-2022 17:00:32 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