Weglot Translate 3.5

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: 198.53 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.020 seconds
The average page load time increased by this amount after activating the plugin.

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=4eed18a6f0
Aspect after-activation
HTTP status 200
Load time 0.471 s
Memory usage 3.53 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.034 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.5: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.381 s
Memory usage 3.51 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.017 s
Memory usage 6.31 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 1.034 s
Memory usage 6.3 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.604 s
Memory usage 5.4 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.332 s0.468 s+0.136 s3.37 MiB3.53 MiB+ 167.26 KiB
/wp-admin/edit.php0.182 s0.203 s+0.021 s3.4 MiB3.56 MiB+ 165.87 KiB
/wp-admin/post-new.php1.012 s1.234 s+0.222 s6.14 MiB6.31 MiB+ 169.88 KiB
/wp-admin/upload.php0.417 s0.333 s-0.084 s3.25 MiB3.48 MiB+ 238.13 KiB
/wp-admin/options-writing.php0.270 s0.146 s-0.124 s3.24 MiB3.46 MiB+ 221.98 KiB
/wp-admin/media-new.php0.295 s0.336 s+0.041 s3.23 MiB3.46 MiB+ 238.3 KiB
/wp-admin/edit-tags.php?taxonomy=category0.192 s0.233 s+0.041 s3.27 MiB3.49 MiB+ 231.2 KiB
/wp-admin/post-new.php?post_type=page0.961 s0.969 s+0.008 s6.14 MiB6.3 MiB+ 165.47 KiB
/wp-admin/options-discussion.php0.220 s0.230 s+0.010 s3.22 MiB3.46 MiB+ 238.92 KiB
/wp-admin/edit-comments.php0.214 s0.226 s+0.012 s3.27 MiB3.49 MiB+ 230.15 KiB
/0.295 s0.237 s-0.058 s3.4 MiB3.51 MiB+ 116.66 KiB
Average 0.399 s0.420 s+0.020 s3.81 MiB4 MiB+ 198.53 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,6392,670125
PO File30.1%3,9341,7688
Sass10.6%1,38606
JavaScript5.7%7442015
CSS2.4%309162
JSON0.4%5201
Total 13,064 4,474 157

PHP Code Analysis | More results »

Lines of code 5,430
Total complexity 949
Median class complexity 4.0
Median method complexity 2.0
Most complex class WeglotWP\Services\Option_Service_Weglot
Most complex function WeglotWP\Third\Amp\Amp_Enqueue_Weglot::weglot_get_flags_positions()
Classes 104
Methods 284
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