Polylang 3.2.3

Does Polylang work with WordPress 6.0 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
No PHP errors, warnings or notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Looks good! No problems were detected.
Performance

Memory usage: 196.59 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 700,000+
WordPress.org page https://wordpress.org/plugins/polylang/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 7

Polylang › Setup

Page screenshot: Polylang › Setup
URL /wp-admin/admin.php?page=mlang_wizard
Requested URL /wp-admin/plugins.php?action=activate&plugin=polylang%2Fpolylang.php&plugin_status=all&paged=1&s&_wpnonce=7db84ff73e
Aspect after-activation
HTTP status 200
Load time 1.192 s
Memory usage N/A
JS errors None
Resource errors None

Languages

Page screenshot: Languages
URL /wp-admin/admin.php?page=mlang
Aspect menu-item
HTTP status 200
Load time 0.374 s
Memory usage 4.34 MiB
JS errors None
Resource errors None

Languages → Settings

Page screenshot: Languages → Settings
URL /wp-admin/admin.php?page=mlang_settings
Aspect menu-item
HTTP status 200
Load time 0.241 s
Memory usage 3.9 MiB
JS errors None
Resource errors None

Languages → Setup

Page screenshot: Languages → Setup
URL /wp-admin/admin.php?page=mlang_wizard
Aspect menu-item
HTTP status 200
Load time 0.450 s
Memory usage N/A
JS errors None
Resource errors None

Languages → Lingotek

Page screenshot: Languages → Lingotek
URL /wp-admin/admin.php?page=mlang_lingotek
Aspect menu-item
HTTP status 200
Load time 0.266 s
Memory usage 3.84 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.269 s
Memory usage 3.66 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.680 s
Memory usage 5.71 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.371 s0.310 s-0.061 s3.72 MiB3.91 MiB+ 199.23 KiB
/wp-admin/edit.php0.197 s0.231 s+0.034 s3.75 MiB3.95 MiB+ 200.97 KiB
/wp-admin/post-new.php0.896 s1.048 s+0.152 s5.53 MiB5.73 MiB+ 201.89 KiB
/wp-admin/upload.php0.409 s0.400 s-0.009 s3.68 MiB3.87 MiB+ 196.31 KiB
/wp-admin/options-writing.php0.251 s0.174 s-0.077 s3.61 MiB3.85 MiB+ 243.8 KiB
/wp-admin/media-new.php0.353 s0.345 s-0.008 s3.66 MiB3.85 MiB+ 196.52 KiB
/wp-admin/edit-tags.php?taxonomy=category0.195 s0.281 s+0.086 s3.68 MiB3.88 MiB+ 200.1 KiB
/wp-admin/post-new.php?post_type=page0.710 s0.677 s-0.033 s5.53 MiB5.72 MiB+ 199.13 KiB
/wp-admin/options-discussion.php0.345 s0.250 s-0.095 s3.59 MiB3.85 MiB+ 260.9 KiB
/wp-admin/edit-comments.php0.246 s0.236 s-0.010 s3.69 MiB3.88 MiB+ 196.44 KiB
/0.327 s0.219 s-0.108 s3.6 MiB3.66 MiB+ 67.15 KiB
Average 0.391 s0.379 s-0.012 s4 MiB4.2 MiB+ 196.59 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
JavaScript
CSS
Language % Lines of code Comment lines Files
PHP82.3%15,01112,103164
JavaScript9.6%1,75953410
CSS8.1%1,475384
Total 18,245 12,675 178

PHP Code Analysis | More results »

Lines of code 12,419
Total complexity 3,695
Median class complexity 21.0
Median method complexity 3.0
Most complex class PLL_Frontend_Filters_Links
Most complex function PLL_Frontend_Filters_Links::check_canonical_url()
Classes 122
Methods 857
Functions 46

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
polylangLanguage switcher

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide Polylang Admin Menus