Falang multilanguage for WordPress 1.3.34

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

Summary

Errors
2PHP warnings
1PHP deprecation warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 287.17 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

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

Environment
WordPress version6.1.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
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=2a7cb94bdc
Aspect after-activation
HTTP status 200
Load time 0.499 s
Memory usage 3.45 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.219 s
Memory usage 3.37 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.172 s
Memory usage 3.29 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.151 s
Memory usage 3.3 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.174 s
Memory usage 3.37 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.181 s
Memory usage 3.29 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.214 s
Memory usage 3.28 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.198 s
Memory usage 3.3 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.174 s
Memory usage 3.22 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.212 s
Memory usage 3.22 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.171 s
Memory usage 3.22 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.151 s
Memory usage 3.25 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.235 s
Memory usage 3.27 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.384 s
Memory usage 5.2 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.292 s0.422 s+0.130 s3.05 MiB3.32 MiB+ 277.18 KiB
/wp-admin/edit.php0.194 s0.196 s+0.002 s3.07 MiB3.35 MiB+ 279.38 KiB
/wp-admin/post-new.php0.783 s1.058 s+0.275 s4.97 MiB5.25 MiB+ 285.6 KiB
/wp-admin/upload.php0.592 s0.350 s-0.242 s2.99 MiB3.25 MiB+ 260.55 KiB
/wp-admin/options-writing.php0.152 s0.157 s+0.005 s2.99 MiB3.23 MiB+ 245.28 KiB
/wp-admin/media-new.php0.308 s0.375 s+0.067 s2.97 MiB3.23 MiB+ 272.74 KiB
/wp-admin/edit-tags.php?taxonomy=category0.171 s0.244 s+0.073 s2.98 MiB3.27 MiB+ 297.99 KiB
/wp-admin/post-new.php?post_type=page0.628 s0.651 s+0.023 s4.96 MiB5.25 MiB+ 291.65 KiB
/wp-admin/options-discussion.php0.213 s0.274 s+0.061 s2.97 MiB3.31 MiB+ 339.6 KiB
/wp-admin/edit-comments.php0.191 s0.205 s+0.014 s3 MiB3.27 MiB+ 280.7 KiB
/0.309 s0.191 s-0.118 s2.94 MiB3.26 MiB+ 328.14 KiB
Average 0.348 s0.375 s+0.026 s3.35 MiB3.63 MiB+ 287.17 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
PHP43.4%11,9405,81896
SVG33.9%9,312124
PO File16.7%4,6002,5685
CSS3.0%836543
JavaScript2.2%6076210
XML0.7%184282
JSON0.1%1601
Total 27,495 8,542 121

PHP Code Analysis | More results »

Lines of code 8,343
Total complexity 2,144
Median class complexity 15.0
Median method complexity 2.0
Most complex class Falang_Admin
Most complex function Falang_Admin::save_settings()
Classes 61
Methods 554
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 5

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

[20-Jan-2023 09:31:02 UTC] PHP Warning:  Undefined array key "rtl" in /wp-content/plugins/falang/includes/class-falang-activator.php on line 160
[20-Jan-2023 09:31:02 UTC] PHP Warning:  Undefined array key "position" in /wp-content/plugins/falang/includes/class-falang-activator.php on line 170
[20-Jan-2023 09:31:17 UTC] PHP Deprecated:  Optional parameter $depth declared before required parameter $output is implicitly treated as a required parameter in /wp-content/plugins/falang/src/Falang/Core/Walker_Dropdown.php on line 54
See also: All tests for this plugin, How to Hide Falang multilanguage for WordPress Admin Menus and Meta Boxes