Weglot Translate 3.8.3

Does Weglot Translate work with WordPress 6.1.1 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
36PHP notices
1JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 205.55 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

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

Environment
WordPress version6.1.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=572a5acf62
Aspect after-activation
HTTP status 200
Load time 0.272 s
Memory usage 3.71 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 4.590 s
Memory usage 3.87 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=6.1.1:2:1978)\n    at HTMLDocument.<anonymous> (/wp-content/plugins/weglot/dist/admin-js.js?ver=3.8.3:1:9003)\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=6.1.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=6.1.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.348 s
Memory usage 3.59 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.072 s
Memory usage 5.6 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.808 s
Memory usage 5.59 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 2.557 s
Memory usage 5.56 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.306 s0.258 s-0.048 s3.54 MiB3.73 MiB+ 195.41 KiB
/wp-admin/edit.php0.152 s0.196 s+0.044 s3.57 MiB3.82 MiB+ 258.73 KiB
/wp-admin/post-new.php0.871 s1.126 s+0.255 s5.46 MiB5.6 MiB+ 138.18 KiB
/wp-admin/upload.php0.577 s0.267 s-0.310 s3.41 MiB3.66 MiB+ 257.66 KiB
/wp-admin/options-writing.php0.177 s0.141 s-0.036 s3.4 MiB3.64 MiB+ 240.13 KiB
/wp-admin/media-new.php0.221 s0.169 s-0.052 s3.38 MiB3.64 MiB+ 257.83 KiB
/wp-admin/edit-tags.php?taxonomy=category0.170 s0.296 s+0.126 s3.48 MiB3.67 MiB+ 194.73 KiB
/wp-admin/post-new.php?post_type=page0.860 s0.970 s+0.110 s5.46 MiB5.59 MiB+ 133.16 KiB
/wp-admin/options-discussion.php0.171 s0.257 s+0.086 s3.38 MiB3.64 MiB+ 258.51 KiB
/wp-admin/edit-comments.php0.180 s0.289 s+0.109 s3.48 MiB3.67 MiB+ 193.73 KiB
/0.291 s1.434 s+1.143 s3.46 MiB3.59 MiB+ 133.02 KiB
Average 0.361 s0.491 s+0.130 s3.82 MiB4.02 MiB+ 205.55 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.4%7,0232,854133
PO File27.7%3,9341,7688
Sass9.6%1,36108
JavaScript7.1%1,00315923
Markdown3.4%48601
CSS2.2%309163
JSON0.7%9603
Total 14,212 4,797 179

PHP Code Analysis | More results »

Lines of code 5,790
Total complexity 1,035
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 108
Methods 297
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

User Metadata wp_usermeta 1

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 36 lines

[16-Nov-2022 02:31:07 UTC] PHP Notice:  Undefined index: query in /wp-content/plugins/weglot/src/actions/front/class-translate-page-weglot.php on line 83
[16-Nov-2022 02:31:09 UTC] PHP Notice:  Undefined index: query in /wp-content/plugins/weglot/src/actions/front/class-translate-page-weglot.php on line 83
[16-Nov-2022 02:31:09 UTC] PHP Notice:  Undefined index: query in /wp-content/plugins/weglot/src/actions/front/class-translate-page-weglot.php on line 83
[16-Nov-2022 02:31:09 UTC] PHP Notice:  Undefined index: query in /wp-content/plugins/weglot/src/actions/front/class-translate-page-weglot.php on line 83
[16-Nov-2022 02:31:09 UTC] PHP Notice:  Undefined index: query in /wp-content/plugins/weglot/src/actions/front/class-translate-page-weglot.php on line 83
[16-Nov-2022 02:31:09 UTC] PHP Notice:  Undefined index: query in /wp-content/plugins/weglot/src/actions/front/class-translate-page-weglot.php on line 83
[16-Nov-2022 02:31:09 UTC] PHP Notice:  Undefined index: query in /wp-content/plugins/weglot/src/actions/front/class-translate-page-weglot.php on line 83
[16-Nov-2022 02:31:09 UTC] PHP Notice:  Undefined index: query in /wp-content/plugins/weglot/src/actions/front/class-translate-page-weglot.php on line 83
[16-Nov-2022 02:31:09 UTC] PHP Notice:  Undefined index: query in /wp-content/plugins/weglot/src/actions/front/class-translate-page-weglot.php on line 83
[16-Nov-2022 02:31:17 UTC] PHP Notice:  Undefined index: query in /wp-content/plugins/weglot/src/actions/front/class-translate-page-weglot.php on line 83
[16-Nov-2022 02:31:17 UTC] PHP Notice:  Undefined index: query in /wp-content/plugins/weglot/src/actions/front/class-translate-page-weglot.php on line 83
[16-Nov-2022 02:31:17 UTC] PHP Notice:  Undefined index: query in /wp-content/plugins/weglot/src/actions/front/class-translate-page-weglot.php on line 83
[16-Nov-2022 02:31:17 UTC] PHP Notice:  Undefined index: query in /wp-content/plugins/weglot/src/actions/front/class-translate-page-weglot.php on line 83
[16-Nov-2022 02:31:17 UTC] PHP Notice:  Undefined index: query in /wp-content/plugins/weglot/src/actions/front/class-translate-page-weglot.php on line 83
[16-Nov-2022 02:31:17 UTC] PHP Notice:  Undefined index: query in /wp-content/plugins/weglot/src/actions/front/class-translate-page-weglot.php on line 83
[16-Nov-2022 02:31:17 UTC] PHP Notice:  Undefined index: query in /wp-content/plugins/weglot/src/actions/front/class-translate-page-weglot.php on line 83
[16-Nov-2022 02:31:17 UTC] PHP Notice:  Undefined index: query in /wp-content/plugins/weglot/src/actions/front/class-translate-page-weglot.php on line 83
[16-Nov-2022 02:31:22 UTC] PHP Notice:  Undefined index: query in /wp-content/plugins/weglot/src/actions/front/class-translate-page-weglot.php on line 83
[16-Nov-2022 02:31:23 UTC] PHP Notice:  Undefined index: query in /wp-content/plugins/weglot/src/actions/front/class-translate-page-weglot.php on line 83
[16-Nov-2022 02:31:23 UTC] PHP Notice:  Undefined index: query in /wp-content/plugins/weglot/src/actions/front/class-translate-page-weglot.php on line 83
[16-Nov-2022 02:31:23 UTC] PHP Notice:  Undefined index: query in /wp-content/plugins/weglot/src/actions/front/class-translate-page-weglot.php on line 83
[16-Nov-2022 02:31:23 UTC] PHP Notice:  Undefined index: query in /wp-content/plugins/weglot/src/actions/front/class-translate-page-weglot.php on line 83
[16-Nov-2022 02:31:23 UTC] PHP Notice:  Undefined index: query in /wp-content/plugins/weglot/src/actions/front/class-translate-page-weglot.php on line 83
[16-Nov-2022 02:31:23 UTC] PHP Notice:  Undefined index: query in /wp-content/plugins/weglot/src/actions/front/class-translate-page-weglot.php on line 83
[16-Nov-2022 02:31:23 UTC] PHP Notice:  Undefined index: query in /wp-content/plugins/weglot/src/actions/front/class-translate-page-weglot.php on line 83
[16-Nov-2022 02:31:23 UTC] PHP Notice:  Undefined index: query in /wp-content/plugins/weglot/src/actions/front/class-translate-page-weglot.php on line 83
[16-Nov-2022 02:31:23 UTC] PHP Notice:  Undefined index: query in /wp-content/plugins/weglot/src/actions/front/class-translate-page-weglot.php on line 83
[16-Nov-2022 02:31:24 UTC] PHP Notice:  Undefined index: query in /wp-content/plugins/weglot/src/actions/front/class-translate-page-weglot.php on line 83
[16-Nov-2022 02:31:24 UTC] PHP Notice:  Undefined index: query in /wp-content/plugins/weglot/src/actions/front/class-translate-page-weglot.php on line 83
[16-Nov-2022 02:31:24 UTC] PHP Notice:  Undefined index: query in /wp-content/plugins/weglot/src/actions/front/class-translate-page-weglot.php on line 83
[16-Nov-2022 02:31:24 UTC] PHP Notice:  Undefined index: query in /wp-content/plugins/weglot/src/actions/front/class-translate-page-weglot.php on line 83
[16-Nov-2022 02:31:24 UTC] PHP Notice:  Undefined index: query in /wp-content/plugins/weglot/src/actions/front/class-translate-page-weglot.php on line 83
[16-Nov-2022 02:31:24 UTC] PHP Notice:  Undefined index: query in /wp-content/plugins/weglot/src/actions/front/class-translate-page-weglot.php on line 83
[16-Nov-2022 02:31:24 UTC] PHP Notice:  Undefined index: query in /wp-content/plugins/weglot/src/actions/front/class-translate-page-weglot.php on line 83
[16-Nov-2022 02:31:24 UTC] PHP Notice:  Undefined index: query in /wp-content/plugins/weglot/src/actions/front/class-translate-page-weglot.php on line 83
[16-Nov-2022 02:31:24 UTC] PHP Notice:  Undefined index: query in /wp-content/plugins/weglot/src/actions/front/class-translate-page-weglot.php on line 83
See also: All tests for this plugin, How to Hide Weglot Translate Admin Menus and Meta Boxes