Google Language Translator 6.0.10

Does Google Language Translator work with WordPress 5.8 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
No PHP errors, warnings or notices
3JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 62.25 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 version5.8
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 100,000+
WordPress.org page https://wordpress.org/plugins/google-language-translator/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 4

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=google-language-translator%2Fgoogle-language-translator.php&plugin_status=all&paged=1&s&_wpnonce=4a2989e1ec
Aspect after-activation
HTTP status 200
Load time 0.698 s
Memory usage 3.11 MiB
JS errors None
Resource errors None

Settings → Google Language Translator

Page screenshot: Settings → Google Language Translator
URL /wp-admin/options-general.php?page=google_language_translator
Aspect menu-item
HTTP status 200
Load time 0.930 s
Memory usage 3.13 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.597 s
Memory usage 2.94 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.814 s
Memory usage 4.52 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read property 'top' of undefined\n    at belowEntryMetaClass (/wp-content/themes/twentyseventeen/assets/js/global.js?ver=20190121:124:33)\n    at HTMLDocument.<anonymous> (/wp-content/themes/twentyseventeen/assets/js/global.js?ver=20190121:211:3)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.8:2:30038)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.8:2:30340)",
        "trace": null,
        "code": null
    },
    {
        "message": "TypeError: Cannot read property 'top' of undefined\n    at belowEntryMetaClass (/wp-content/themes/twentyseventeen/assets/js/global.js?ver=20190121:124:33)\n    at HTMLDocument.<anonymous> (/wp-content/themes/twentyseventeen/assets/js/global.js?ver=20190121:211:3)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.8:2:30038)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.8:2:30340)",
        "trace": null,
        "code": null
    },
    {
        "message": "TypeError: Cannot read property 'top' of undefined\n    at belowEntryMetaClass (/wp-content/themes/twentyseventeen/assets/js/global.js?ver=20190121:124:33)\n    at HTMLDocument.<anonymous> (/wp-content/themes/twentyseventeen/assets/js/global.js?ver=20190121:211:3)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.8:2:30038)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.8:2:30340)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.294 s0.392 s+0.098 s3.08 MiB3.15 MiB+ 64.77 KiB
/wp-admin/edit.php0.177 s0.207 s+0.030 s3.11 MiB3.24 MiB+ 127.47 KiB
/wp-admin/post-new.php0.788 s1.023 s+0.235 s5.27 MiB5.34 MiB+ 74.77 KiB
/wp-admin/upload.php0.833 s0.400 s-0.433 s3.03 MiB3.09 MiB+ 62.96 KiB
/wp-admin/options-writing.php0.163 s0.198 s+0.035 s3.02 MiB3.07 MiB+ 46.88 KiB
/wp-admin/media-new.php0.225 s0.210 s-0.015 s3.01 MiB3.07 MiB+ 63.13 KiB
/wp-admin/edit-tags.php?taxonomy=category0.184 s0.181 s-0.003 s3.04 MiB3.1 MiB+ 64.04 KiB
/wp-admin/post-new.php?post_type=page0.717 s0.845 s+0.128 s5.26 MiB5.32 MiB+ 70.36 KiB
/wp-admin/options-discussion.php0.234 s0.229 s-0.005 s3 MiB3.07 MiB+ 63.38 KiB
/wp-admin/edit-comments.php0.195 s0.205 s+0.010 s3.04 MiB3.1 MiB+ 63.63 KiB
/0.283 s0.390 s+0.107 s2.96 MiB2.94 MiB- 16.65 KiB
Average 0.372 s0.389 s+0.017 s3.44 MiB3.5 MiB+ 62.25 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.

CSS
PHP
Language % Lines of code Comment lines Files
CSS55.2%3,45783
PHP38.1%2,3842105
JavaScript6.1%383272
SVG0.6%3601
Total 6,260 245 11

PHP Code Analysis | More results »

Lines of code 2,328
Total complexity 514
Median class complexity 61.0
Median method complexity 2.0
Most complex class google_language_translator
Most complex function google_language_translator::footer_script()
Classes 3
Methods 65
Functions 13

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 33

Sidebar Widgets 1

ID Name
glt_widgetGoogle Language Translator

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide the "Google Language Translator" Admin Menu