Polylang 3.1.1

Does Polylang work with WordPress 5.8.1 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: 186.65 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 version5.8.1
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=ff8b2a693f
Aspect after-activation
HTTP status 200
Load time 1.737 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.500 s
Memory usage 3.68 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.188 s
Memory usage 3.24 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.142 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.270 s
Memory usage 3.18 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.309 s
Memory usage 3.02 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.800 s
Memory usage 4.64 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.305 s0.263 s-0.042 s3.08 MiB3.33 MiB+ 251.86 KiB
/wp-admin/edit.php0.167 s0.179 s+0.012 s3.11 MiB3.36 MiB+ 255.57 KiB
/wp-admin/post-new.php0.795 s0.968 s+0.173 s5.27 MiB5.45 MiB+ 189.52 KiB
/wp-admin/upload.php1.119 s0.445 s-0.674 s3.03 MiB3.21 MiB+ 186.63 KiB
/wp-admin/options-writing.php0.153 s0.167 s+0.014 s3.02 MiB3.19 MiB+ 170.12 KiB
/wp-admin/media-new.php0.235 s0.199 s-0.036 s3.01 MiB3.19 MiB+ 186.6 KiB
/wp-admin/edit-tags.php?taxonomy=category0.187 s0.180 s-0.007 s3.04 MiB3.22 MiB+ 186.75 KiB
/wp-admin/post-new.php?post_type=page0.624 s0.658 s+0.034 s5.26 MiB5.44 MiB+ 188.59 KiB
/wp-admin/options-discussion.php0.239 s0.226 s-0.013 s3 MiB3.19 MiB+ 186.98 KiB
/wp-admin/edit-comments.php0.188 s0.191 s+0.003 s3.04 MiB3.22 MiB+ 184.64 KiB
/0.408 s0.206 s-0.202 s2.96 MiB3.02 MiB+ 65.84 KiB
Average 0.402 s0.335 s-0.067 s3.44 MiB3.62 MiB+ 186.65 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
PHP81.9%14,76411,861163
JavaScript9.8%1,75952610
CSS8.3%1,498414
Total 18,021 12,428 177

PHP Code Analysis | More results »

Lines of code 12,172
Total complexity 3,629
Median class complexity 21.0
Median method complexity 3.0
Most complex class PLL_Frontend_Filters_Links
Most complex function PLL_Frontend_Auto_Translate::pre_get_posts()
Classes 121
Methods 841
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