Weglot Translate 4.2.8

Does Weglot Translate work with WordPress 6.6.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: 175.01 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.6.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=ae1b634c0b
Aspect after-activation
HTTP status 200
Load time 0.340 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.956 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.213 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 0.779 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.634 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.597 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.350 s0.284 s-0.066 s3.47 MiB3.62 MiB+ 145.94 KiB
/wp-admin/edit.php0.221 s0.525 s+0.304 s3.54 MiB3.92 MiB+ 388.59 KiB
/wp-admin/post-new.php0.825 s0.710 s-0.115 s5.75 MiB5.96 MiB+ 208.55 KiB
/wp-admin/upload.php0.668 s0.403 s-0.265 s3.49 MiB3.6 MiB+ 115.23 KiB
/wp-admin/options-writing.php0.207 s0.405 s+0.198 s3.41 MiB3.58 MiB+ 178.04 KiB
/wp-admin/media-new.php0.281 s0.244 s-0.037 s3.4 MiB3.58 MiB+ 191.42 KiB
/wp-admin/edit-tags.php?taxonomy=category0.186 s0.266 s+0.080 s3.47 MiB3.61 MiB+ 138.09 KiB
/wp-admin/post-new.php?post_type=page0.622 s0.623 s+0.001 s5.75 MiB5.95 MiB+ 204.18 KiB
/wp-admin/options-discussion.php0.223 s0.281 s+0.058 s3.41 MiB3.58 MiB+ 179.73 KiB
/wp-admin/edit-comments.php0.224 s0.229 s+0.005 s3.49 MiB3.6 MiB+ 115.23 KiB
/0.321 s0.238 s-0.083 s3.45 MiB3.51 MiB+ 60.08 KiB
Average 0.375 s0.383 s+0.007 s3.88 MiB4.05 MiB+ 175.01 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.1%8,0753,252149
PO File25.4%3,9341,7688
Sass8.9%1,38408
JavaScript7.0%1,07916723
Markdown3.9%61001
CSS2.0%309163
JSON0.7%10303
Total 15,494 5,203 195

PHP Code Analysis | More results »

Lines of code 6,879
Total complexity 1,247
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 120
Methods 339
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