Weglot Translate 4.3.1

Does Weglot Translate work with WordPress 6.7.2 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: 139.8 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 version6.7.2
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=9972f53bb9
Aspect after-activation
HTTP status 200
Load time 0.326 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.019 s
Memory usage 3.75 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.202 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.720 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.618 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.845 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.327 s0.464 s+0.137 s3.48 MiB3.62 MiB+ 146.48 KiB
/wp-admin/edit.php0.211 s0.554 s+0.343 s3.54 MiB3.92 MiB+ 385.43 KiB
/wp-admin/post-new.php0.851 s0.771 s-0.080 s5.93 MiB6 MiB+ 81.49 KiB
/wp-admin/upload.php0.902 s0.690 s-0.212 s3.5 MiB3.61 MiB+ 116.4 KiB
/wp-admin/options-writing.php0.243 s0.239 s-0.004 s3.47 MiB3.59 MiB+ 120.39 KiB
/wp-admin/media-new.php0.285 s0.231 s-0.054 s3.46 MiB3.59 MiB+ 128.59 KiB
/wp-admin/edit-tags.php?taxonomy=category0.227 s0.241 s+0.014 s3.48 MiB3.61 MiB+ 139.26 KiB
/wp-admin/post-new.php?post_type=page0.733 s0.683 s-0.050 s5.92 MiB5.99 MiB+ 77.38 KiB
/wp-admin/options-discussion.php0.313 s0.327 s+0.014 s3.47 MiB3.59 MiB+ 116.89 KiB
/wp-admin/edit-comments.php0.261 s0.231 s-0.030 s3.49 MiB3.61 MiB+ 116.39 KiB
/0.541 s0.229 s-0.312 s3.41 MiB3.52 MiB+ 109.13 KiB
Average 0.445 s0.424 s-0.021 s3.92 MiB4.06 MiB+ 139.8 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
PHP53.2%8,5003,722151
PO File24.6%3,9341,7688
Sass8.7%1,38408
JavaScript6.8%1,08916723
Markdown4.0%64501
CSS1.9%309163
JSON0.6%10303
Total 15,964 5,673 197

PHP Code Analysis | More results »

Lines of code 7,278
Total complexity 1,339
Median class complexity 3.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 121
Methods 351
Functions 46

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