Weglot Translate 3.6

Does Weglot Translate work with WordPress 5.9.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: 202.59 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.9.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=9ca2dbd217
Aspect after-activation
HTTP status 200
Load time 0.283 s
Memory usage 3.54 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 2.126 s
Memory usage 3.69 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read properties of undefined (reading 'value')\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.9.1:2:1978)\n    at HTMLDocument.<anonymous> (/wp-content/plugins/weglot/dist/admin-js.js?ver=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.9.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.9.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.393 s
Memory usage 3.52 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 0.679 s
Memory usage 6.27 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.764 s
Memory usage 6.26 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.533 s
Memory usage 5.35 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.367 s0.381 s+0.014 s3.37 MiB3.55 MiB+ 182.24 KiB
/wp-admin/edit.php0.172 s0.210 s+0.038 s3.4 MiB3.58 MiB+ 180.85 KiB
/wp-admin/post-new.php0.809 s1.031 s+0.222 s6.14 MiB6.27 MiB+ 127.85 KiB
/wp-admin/upload.php0.348 s0.363 s+0.015 s3.25 MiB3.49 MiB+ 252.48 KiB
/wp-admin/options-writing.php0.287 s0.157 s-0.130 s3.24 MiB3.47 MiB+ 236.34 KiB
/wp-admin/media-new.php0.276 s0.154 s-0.122 s3.23 MiB3.47 MiB+ 253.28 KiB
/wp-admin/edit-tags.php?taxonomy=category0.178 s0.187 s+0.009 s3.27 MiB3.51 MiB+ 245.56 KiB
/wp-admin/post-new.php?post_type=page0.658 s0.763 s+0.105 s6.14 MiB6.26 MiB+ 122.86 KiB
/wp-admin/options-discussion.php0.230 s0.388 s+0.158 s3.22 MiB3.47 MiB+ 253.91 KiB
/wp-admin/edit-comments.php0.284 s0.219 s-0.065 s3.27 MiB3.51 MiB+ 244.51 KiB
/0.263 s0.231 s-0.032 s3.4 MiB3.52 MiB+ 128.61 KiB
Average 0.352 s0.371 s+0.019 s3.81 MiB4.01 MiB+ 202.59 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
PHP50.8%6,7752,748129
PO File29.5%3,9341,7688
Sass10.5%1,40409
JavaScript6.1%81114523
CSS2.3%309163
JSON0.7%9103
Total 13,324 4,677 175

PHP Code Analysis | More results »

Lines of code 5,564
Total complexity 993
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 289
Functions 35

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