Weglot Translate 4.2.7

Does Weglot Translate work with WordPress 6.6.1 and PHP 8.1.12? 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: 179.27 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

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

Environment
WordPress version6.6.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
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=8dc6f89902
Aspect after-activation
HTTP status 200
Load time 0.308 s
Memory usage 3.61 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 0.993 s
Memory usage 3.74 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.221 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.264 s
Memory usage 5.96 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.745 s
Memory usage 5.95 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.831 s
Memory usage 5.79 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.353 s0.321 s-0.032 s3.47 MiB3.62 MiB+ 145.78 KiB
/wp-admin/edit.php0.244 s0.543 s+0.299 s3.54 MiB3.92 MiB+ 388.38 KiB
/wp-admin/post-new.php0.842 s0.694 s-0.148 s5.76 MiB5.96 MiB+ 204.02 KiB
/wp-admin/upload.php0.575 s0.480 s-0.095 s3.49 MiB3.6 MiB+ 115.13 KiB
/wp-admin/options-writing.php0.221 s0.421 s+0.200 s3.41 MiB3.58 MiB+ 177.94 KiB
/wp-admin/media-new.php0.308 s0.238 s-0.070 s3.4 MiB3.58 MiB+ 191.32 KiB
/wp-admin/edit-tags.php?taxonomy=category0.197 s0.242 s+0.045 s3.47 MiB3.61 MiB+ 137.99 KiB
/wp-admin/post-new.php?post_type=page0.636 s0.689 s+0.053 s5.75 MiB5.95 MiB+ 204.08 KiB
/wp-admin/options-discussion.php0.224 s0.284 s+0.060 s3.41 MiB3.58 MiB+ 179.63 KiB
/wp-admin/edit-comments.php0.250 s0.236 s-0.014 s3.49 MiB3.6 MiB+ 115.13 KiB
/0.324 s0.270 s-0.054 s3.4 MiB3.51 MiB+ 112.6 KiB
Average 0.379 s0.402 s+0.022 s3.87 MiB4.05 MiB+ 179.27 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
PHP51.8%7,9383,194148
PO File25.7%3,9341,7688
Sass9.0%1,38408
JavaScript7.0%1,06816823
Markdown3.9%59901
CSS2.0%309163
JSON0.7%10303
Total 15,335 5,146 194

PHP Code Analysis | More results »

Lines of code 6,732
Total complexity 1,216
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 119
Methods 333
Functions 45

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_visual_editor_meta_box": {
            "title": "Weglot URLs",
            "context": "side"
        },
        "weglot-url-translate": {
            "title": "Weglot URL Translate",
            "context": "advanced"
        }
    },
    "page": {
        "weglot_visual_editor_meta_box": {
            "title": "Weglot URLs",
            "context": "side"
        },
        "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