Weglot Translate 4.2.9

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

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

Environment
WordPress version6.7.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=9ef2b5eecd
Aspect after-activation
HTTP status 200
Load time 0.339 s
Memory usage 3.62 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.307 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.195 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.760 s
Memory usage 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.620 s
Memory usage 5.99 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.567 s
Memory usage 5.83 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.283 s0.251 s-0.032 s3.48 MiB3.62 MiB+ 144.95 KiB
/wp-admin/edit.php0.187 s0.850 s+0.663 s3.54 MiB3.92 MiB+ 389.28 KiB
/wp-admin/post-new.php0.739 s0.655 s-0.084 s5.92 MiB6 MiB+ 80.23 KiB
/wp-admin/upload.php0.533 s0.511 s-0.022 s3.49 MiB3.61 MiB+ 115.14 KiB
/wp-admin/options-writing.php0.213 s0.265 s+0.052 s3.47 MiB3.59 MiB+ 119.13 KiB
/wp-admin/media-new.php0.267 s0.215 s-0.052 s3.46 MiB3.59 MiB+ 127.33 KiB
/wp-admin/edit-tags.php?taxonomy=category0.187 s0.193 s+0.006 s3.48 MiB3.61 MiB+ 138 KiB
/wp-admin/post-new.php?post_type=page0.575 s0.682 s+0.107 s5.92 MiB5.99 MiB+ 76.13 KiB
/wp-admin/options-discussion.php0.256 s0.252 s-0.004 s3.47 MiB3.59 MiB+ 115.63 KiB
/wp-admin/edit-comments.php0.196 s0.200 s+0.004 s3.49 MiB3.61 MiB+ 115.13 KiB
/0.291 s0.235 s-0.056 s3.48 MiB3.52 MiB+ 40.52 KiB
Average 0.339 s0.392 s+0.053 s3.93 MiB4.06 MiB+ 132.86 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
PHP52.2%8,1393,604149
PO File25.2%3,9341,7688
Sass8.9%1,38408
JavaScript6.9%1,08016723
Markdown4.1%63301
CSS2.0%309163
JSON0.7%10303
Total 15,582 5,555 195

PHP Code Analysis | More results »

Lines of code 6,940
Total complexity 1,250
Median class complexity 3.5
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 120
Methods 341
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