Weglot Translate 3.3.6

Does Weglot Translate 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
1JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 178.6 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 60,000+
WordPress.org page https://wordpress.org/plugins/weglot/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 6

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?plugin_status=all&paged=1&s
Requested URL /wp-admin/plugins.php?action=activate&plugin=weglot%2Fweglot.php&plugin_status=all&paged=1&s&_wpnonce=5de546bde0
Aspect after-activation
HTTP status 200
Load time 0.436 s
Memory usage 3.25 MiB
JS errors None
Resource errors None

Weglot

Page screenshot: Weglot
URL /wp-admin/admin.php?page=weglot-settings
Aspect menu-item
HTTP status 200
Load time 1.966 s
Memory usage 3.4 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read property 'value' of undefined\n    at Function.fg [as fromTextArea] (/wp-includes/js/codemirror/codemirror.min.js?ver=5.29.1-alpha-ee20357:22:31506)\n    at Object.d.codeEditor.initialize (/wp-admin/js/code-editor.min.js?ver=5.8.1:2:1978)\n    at HTMLDocument.<anonymous> (/wp-content/plugins/weglot/dist/admin-js.js?ver=3.3.6:1:8297)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,hoverIntent,utils,regenerator-runtime,wp-polyfill,wp-hooks&ver=5.8.1:2:30038)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,hoverIntent,utils,regenerator-runtime,wp-polyfill,wp-hooks&ver=5.8.1:2:30340)",
        "trace": null,
        "code": null
    }
]
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.298 s
Memory usage 3.07 MiB
JS errors None
Resource errors None

Add New Post ‹ Test site — WordPress

Page screenshot: Add New Post ‹ Test site — WordPress
URL /wp-admin/post-new.php
Aspect new-meta-boxes
HTTP status 200
Load time 1.095 s
Memory usage 5.44 MiB
JS errors None
Resource errors None

Add New Page ‹ Test site — WordPress

Page screenshot: Add New Page ‹ Test site — WordPress
URL /wp-admin/post-new.php?post_type=page
Aspect new-meta-boxes
HTTP status 200
Load time 0.794 s
Memory usage 5.42 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.885 s
Memory usage 4.62 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.312 s0.430 s+0.118 s3.08 MiB3.32 MiB+ 238.85 KiB
/wp-admin/edit.php0.185 s0.193 s+0.008 s3.11 MiB3.35 MiB+ 238.17 KiB
/wp-admin/post-new.php1.158 s0.785 s-0.373 s5.27 MiB5.44 MiB+ 173.48 KiB
/wp-admin/upload.php0.611 s0.531 s-0.080 s3.03 MiB3.2 MiB+ 173.72 KiB
/wp-admin/options-writing.php0.215 s0.204 s-0.011 s3.02 MiB3.18 MiB+ 157.7 KiB
/wp-admin/media-new.php0.278 s0.230 s-0.048 s3.01 MiB3.18 MiB+ 173.89 KiB
/wp-admin/edit-tags.php?taxonomy=category0.244 s0.186 s-0.058 s3.04 MiB3.21 MiB+ 174.8 KiB
/wp-admin/post-new.php?post_type=page1.169 s1.108 s-0.061 s5.26 MiB5.42 MiB+ 169.06 KiB
/wp-admin/options-discussion.php0.413 s0.336 s-0.077 s3 MiB3.17 MiB+ 174.52 KiB
/wp-admin/edit-comments.php0.249 s0.247 s-0.002 s3.04 MiB3.21 MiB+ 173.74 KiB
/0.324 s0.274 s-0.050 s2.96 MiB3.07 MiB+ 116.66 KiB
Average 0.469 s0.411 s-0.058 s3.44 MiB3.61 MiB+ 178.6 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
PO File
Sass
Language % Lines of code Comment lines Files
PHP49.9%6,3902,569125
PO File30.7%3,9341,7688
Sass10.8%1,38606
JavaScript5.8%7442015
CSS2.4%308172
JSON0.4%5101
Total 12,813 4,374 157

PHP Code Analysis | More results »

Lines of code 5,207
Total complexity 895
Median class complexity 4.0
Median method complexity 2.0
Most complex class WeglotWP\Services\Option_Service_Weglot
Most complex function WeglotWP\Actions\Front\Front_Menu_Weglot::weglot_wp_get_nav_menu_items()
Classes 104
Methods 274
Functions 33

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 2

Sidebar Widgets 1

ID Name
weglot-translateWeglot Translate

Meta Boxes

{
    "post": {
        "weglot-url-translate": {
            "title": "Weglot URL Translate",
            "context": "advanced"
        }
    },
    "page": {
        "weglot-url-translate": {
            "title": "Weglot URL Translate",
            "context": "advanced"
        }
    }
}

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide Weglot Translate Admin Menus and Meta Boxes