Polylang 3.2.6

Does Polylang work with WordPress 6.0.2 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.88 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.076 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 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=a5b729e9fb
Aspect after-activation
HTTP status 200
Load time 1.178 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.308 s
Memory usage 4.35 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.195 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.367 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.243 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.230 s
Memory usage 3.67 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.832 s
Memory usage 5.72 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.304 s0.287 s-0.017 s3.72 MiB3.92 MiB+ 199.59 KiB
/wp-admin/edit.php0.181 s0.194 s+0.013 s3.76 MiB3.95 MiB+ 201.34 KiB
/wp-admin/post-new.php0.722 s1.122 s+0.400 s5.55 MiB5.74 MiB+ 202.26 KiB
/wp-admin/upload.php0.392 s0.488 s+0.096 s3.69 MiB3.88 MiB+ 196.68 KiB
/wp-admin/options-writing.php0.145 s0.147 s+0.002 s3.62 MiB3.86 MiB+ 243.77 KiB
/wp-admin/media-new.php0.385 s0.232 s-0.153 s3.66 MiB3.86 MiB+ 196.89 KiB
/wp-admin/edit-tags.php?taxonomy=category0.214 s0.188 s-0.026 s3.69 MiB3.89 MiB+ 200.47 KiB
/wp-admin/post-new.php?post_type=page0.603 s1.235 s+0.632 s5.54 MiB5.74 MiB+ 199.49 KiB
/wp-admin/options-discussion.php0.210 s0.211 s+0.001 s3.6 MiB3.85 MiB+ 261.27 KiB
/wp-admin/edit-comments.php0.236 s0.191 s-0.045 s3.7 MiB3.89 MiB+ 196.8 KiB
/0.267 s0.197 s-0.070 s3.6 MiB3.67 MiB+ 67.11 KiB
Average 0.333 s0.408 s+0.076 s4.01 MiB4.2 MiB+ 196.88 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,00712,095164
JavaScript9.6%1,75953410
CSS8.1%1,475384
Total 18,241 12,667 178

PHP Code Analysis | More results »

Lines of code 12,415
Total complexity 3,694
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 856
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