Supertext Translation 4.08

Does Supertext Translation work with WordPress 5.9 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
1PHP notices
1JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 257.79 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.9
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 70+
WordPress.org page https://wordpress.org/plugins/polylang-supertext/
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=polylang-supertext%2Fplugin.php&plugin_status=all&paged=1&s&_wpnonce=493ed74ea8
Aspect after-activation
HTTP status 200
Load time 0.281 s
Memory usage 3.57 MiB
JS errors None
Resource errors None

Settings → Supertext

Page screenshot: Settings → Supertext
URL /wp-admin/options-general.php?page=supertext-settings
Aspect menu-item
HTTP status 200
Load time 0.387 s
Memory usage 3.58 MiB
JS errors None
Resource errors None

Settings → Supertext → Translatable fields

Page screenshot: Settings → Supertext → Translatable fields
URL /wp-admin/options-general.php?page=supertext-settings&tab=translatablefields
Aspect menu-item-tab
HTTP status 200
Load time 0.188 s
Memory usage 3.49 MiB
JS errors
[
    {
        "message": "ReferenceError: savedFieldDefinitionIds is not defined\n    at Object.initialize (/wp-content/plugins/polylang-supertext/resources/scripts/settings-library.js?ver=46:99:30)\n    at Object.initialize (/wp-content/plugins/polylang-supertext/resources/scripts/settings-library.js?ver=46:132:34)\n    at HTMLDocument.<anonymous> (/wp-content/plugins/polylang-supertext/resources/scripts/settings-library.js?ver=46:317:45)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,underscore,wp-util&ver=5.9:2:30038)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,underscore,wp-util&ver=5.9:2:30340)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Settings → Supertext → Shortcodes

Page screenshot: Settings → Supertext → Shortcodes
URL /wp-admin/options-general.php?page=supertext-settings&tab=shortcodes
Aspect menu-item-tab
HTTP status 200
Load time 0.146 s
Memory usage 3.49 MiB
JS errors None
Resource errors None

Settings → Supertext → Workflow and API

Page screenshot: Settings → Supertext → Workflow and API
URL /wp-admin/options-general.php?page=supertext-settings&tab=workflow
Aspect menu-item-tab
HTTP status 200
Load time 0.154 s
Memory usage 3.5 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.36 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.343 s0.253 s-0.090 s3.36 MiB3.6 MiB+ 240.34 KiB
/wp-admin/edit.php0.223 s0.225 s+0.002 s3.39 MiB3.72 MiB+ 328.68 KiB
/wp-admin/post-new.php0.799 s1.009 s+0.210 s6.14 MiB6.38 MiB+ 239.93 KiB
/wp-admin/upload.php0.382 s0.309 s-0.073 s3.24 MiB3.55 MiB+ 314.09 KiB
/wp-admin/options-writing.php0.347 s0.139 s-0.208 s3.24 MiB3.52 MiB+ 294.43 KiB
/wp-admin/media-new.php0.348 s0.182 s-0.166 s3.22 MiB3.52 MiB+ 312.51 KiB
/wp-admin/edit-tags.php?taxonomy=category0.182 s0.176 s-0.006 s3.25 MiB3.56 MiB+ 311.66 KiB
/wp-admin/post-new.php?post_type=page0.648 s0.756 s+0.108 s6.14 MiB6.37 MiB+ 234.89 KiB
/wp-admin/options-discussion.php0.243 s0.306 s+0.063 s3.22 MiB3.46 MiB+ 248 KiB
/wp-admin/edit-comments.php0.214 s0.198 s-0.016 s3.26 MiB3.56 MiB+ 302.56 KiB
/0.264 s0.257 s-0.007 s3.35 MiB3.36 MiB+ 8.59 KiB
Average 0.363 s0.346 s-0.017 s3.8 MiB4.05 MiB+ 257.79 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.

JavaScript
PHP
PO File
CSS
Language % Lines of code Comment lines Files
JavaScript36.0%7,2282,5545
PHP24.1%4,8351,72060
PO File23.3%4,6722,34417
CSS13.3%2,668464
Sass2.8%56012
Markdown0.3%6101
JSON0.2%3101
Total 20,055 6,665 90

PHP Code Analysis | More results »

Lines of code 4,220
Total complexity 815
Median class complexity 15.0
Median method complexity 2.0
Most complex class Supertext\Backend\AjaxRequestHandler
Most complex function Supertext\Helper\TextProcessor::replaceShortcodeNodesRecursive()
Classes 41
Methods 332
Functions 3

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

PHP Error Log 1 lines

[01-Feb-2022 00:36:10 UTC] PHP Notice:  Undefined index: apiServerUrl in /wp-content/plugins/polylang-supertext/src/Supertext/VersionMigration.php on line 122
See also: All tests for this plugin, How to Hide the "Supertext" Admin Menu