Polylang 3.2.7

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.064 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=f4ec51c85a
Aspect after-activation
HTTP status 200
Load time 1.218 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.379 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.218 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.254 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.323 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.253 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.540 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.330 s0.331 s+0.001 s3.72 MiB3.92 MiB+ 199.59 KiB
/wp-admin/edit.php0.188 s0.242 s+0.054 s3.76 MiB3.95 MiB+ 201.34 KiB
/wp-admin/post-new.php0.774 s1.614 s+0.840 s5.55 MiB5.74 MiB+ 202.26 KiB
/wp-admin/upload.php0.402 s0.534 s+0.132 s3.69 MiB3.88 MiB+ 196.68 KiB
/wp-admin/options-writing.php0.150 s0.176 s+0.026 s3.62 MiB3.86 MiB+ 243.77 KiB
/wp-admin/media-new.php0.477 s0.230 s-0.247 s3.66 MiB3.86 MiB+ 196.89 KiB
/wp-admin/edit-tags.php?taxonomy=category0.193 s0.200 s+0.007 s3.69 MiB3.89 MiB+ 200.47 KiB
/wp-admin/post-new.php?post_type=page0.702 s0.640 s-0.062 s5.54 MiB5.74 MiB+ 199.49 KiB
/wp-admin/options-discussion.php0.219 s0.233 s+0.014 s3.6 MiB3.85 MiB+ 261.27 KiB
/wp-admin/edit-comments.php0.223 s0.215 s-0.008 s3.7 MiB3.89 MiB+ 196.8 KiB
/0.283 s0.229 s-0.054 s3.6 MiB3.67 MiB+ 67.11 KiB
Average 0.358 s0.422 s+0.064 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