Polylang 3.2.8

Does Polylang work with WordPress 6.0.3 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: 195.23 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.3
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=619869ec5f
Aspect after-activation
HTTP status 200
Load time 0.863 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.336 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.248 s
Memory usage 3.91 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.273 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.273 s
Memory usage 3.85 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.227 s
Memory usage 3.68 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.679 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.333 s0.297 s-0.036 s3.73 MiB3.93 MiB+ 199.59 KiB
/wp-admin/edit.php0.196 s0.212 s+0.016 s3.76 MiB3.96 MiB+ 201.34 KiB
/wp-admin/post-new.php0.885 s1.200 s+0.315 s5.55 MiB5.75 MiB+ 202.26 KiB
/wp-admin/upload.php0.424 s0.374 s-0.050 s3.69 MiB3.88 MiB+ 196.68 KiB
/wp-admin/options-writing.php0.162 s0.155 s-0.007 s3.62 MiB3.86 MiB+ 243.77 KiB
/wp-admin/media-new.php0.418 s0.358 s-0.060 s3.67 MiB3.86 MiB+ 196.89 KiB
/wp-admin/edit-tags.php?taxonomy=category0.239 s0.261 s+0.022 s3.69 MiB3.89 MiB+ 200.47 KiB
/wp-admin/post-new.php?post_type=page0.845 s0.783 s-0.062 s5.55 MiB5.75 MiB+ 199.49 KiB
/wp-admin/options-discussion.php0.220 s0.228 s+0.008 s3.66 MiB3.86 MiB+ 196.66 KiB
/wp-admin/edit-comments.php0.213 s0.212 s-0.001 s3.7 MiB3.89 MiB+ 196.8 KiB
/0.277 s0.217 s-0.060 s3.57 MiB3.68 MiB+ 113.57 KiB
Average 0.383 s0.391 s+0.008 s4.02 MiB4.21 MiB+ 195.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
JavaScript
CSS
Language % Lines of code Comment lines Files
PHP82.3%15,02112,105164
JavaScript9.6%1,75953410
CSS8.1%1,476384
Total 18,256 12,677 178

PHP Code Analysis | More results »

Lines of code 12,429
Total complexity 3,699
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