Weglot Translate 4.3.2

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: 134.12 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=8201b842aa
Aspect after-activation
HTTP status 200
Load time 0.319 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 0.954 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.194 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.664 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.832 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.736 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.342 s0.316 s-0.026 s3.48 MiB3.62 MiB+ 146.48 KiB
/wp-admin/edit.php0.208 s0.491 s+0.283 s3.54 MiB3.92 MiB+ 385.55 KiB
/wp-admin/post-new.php0.795 s0.722 s-0.073 s5.93 MiB6 MiB+ 81.49 KiB
/wp-admin/upload.php0.634 s0.490 s-0.144 s3.5 MiB3.61 MiB+ 116.4 KiB
/wp-admin/options-writing.php0.233 s0.193 s-0.040 s3.47 MiB3.59 MiB+ 120.39 KiB
/wp-admin/media-new.php0.353 s0.213 s-0.140 s3.46 MiB3.59 MiB+ 128.59 KiB
/wp-admin/edit-tags.php?taxonomy=category0.207 s0.197 s-0.010 s3.48 MiB3.61 MiB+ 139.26 KiB
/wp-admin/post-new.php?post_type=page0.561 s0.741 s+0.180 s5.92 MiB5.99 MiB+ 77.38 KiB
/wp-admin/options-discussion.php0.272 s0.260 s-0.012 s3.47 MiB3.59 MiB+ 116.89 KiB
/wp-admin/edit-comments.php0.434 s0.207 s-0.227 s3.49 MiB3.61 MiB+ 116.39 KiB
/0.325 s0.181 s-0.144 s3.47 MiB3.52 MiB+ 46.55 KiB
Average 0.397 s0.365 s-0.032 s3.93 MiB4.06 MiB+ 134.12 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.2%66601
CSS1.9%309163
JSON0.6%10303
Total 15,985 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