Supertext Translation 4.05

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

Summary

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

Memory usage: 241.51 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 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=4abe11e818
Aspect after-activation
HTTP status 200
Load time 0.486 s
Memory usage 3.35 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.309 s
Memory usage 3.3 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.147 s
Memory usage 3.27 MiB
JS errors
[
    {
        "message": "ReferenceError: savedFieldDefinitionIds is not defined\n    at Object.initialize (/wp-content/plugins/polylang-supertext/resources/scripts/settings-library.js?ver=44:98:29)\n    at Object.initialize (/wp-content/plugins/polylang-supertext/resources/scripts/settings-library.js?ver=44:131:34)\n    at HTMLDocument.<anonymous> (/wp-content/plugins/polylang-supertext/resources/scripts/settings-library.js?ver=44:323: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.8: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.8: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.153 s
Memory usage 3.28 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.142 s
Memory usage 3.29 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.229 s
Memory usage 2.92 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.304 s0.267 s-0.037 s3.08 MiB3.39 MiB+ 310.05 KiB
/wp-admin/edit.php0.168 s0.234 s+0.066 s3.11 MiB3.5 MiB+ 399.1 KiB
/wp-admin/post-new.php0.763 s0.673 s-0.090 s5.27 MiB5.5 MiB+ 243.14 KiB
/wp-admin/upload.php0.782 s0.293 s-0.489 s3.03 MiB3.27 MiB+ 247.8 KiB
/wp-admin/options-writing.php0.169 s0.130 s-0.039 s3.02 MiB3.25 MiB+ 228.27 KiB
/wp-admin/media-new.php0.253 s0.322 s+0.069 s3.01 MiB3.25 MiB+ 246.22 KiB
/wp-admin/edit-tags.php?taxonomy=category0.197 s0.213 s+0.016 s3.04 MiB3.28 MiB+ 245.37 KiB
/wp-admin/post-new.php?post_type=page1.094 s0.628 s-0.466 s5.26 MiB5.49 MiB+ 238.1 KiB
/wp-admin/options-discussion.php0.265 s0.287 s+0.022 s3 MiB3.24 MiB+ 245.71 KiB
/wp-admin/edit-comments.php0.207 s0.205 s-0.002 s3.04 MiB3.28 MiB+ 244.27 KiB
/0.279 s0.217 s-0.062 s2.91 MiB2.92 MiB+ 8.59 KiB
Average 0.407 s0.315 s-0.092 s3.43 MiB3.67 MiB+ 241.51 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
PO File
PHP
CSS
Language % Lines of code Comment lines Files
JavaScript35.3%7,2332,5545
PO File24.9%5,0942,55218
PHP23.6%4,8231,71660
CSS13.0%2,668464
Sass2.7%56012
Markdown0.3%6101
JSON0.2%3101
Total 20,470 6,869 91

PHP Code Analysis | More results »

Lines of code 4,208
Total complexity 817
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 331
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 11 lines

[27-Jul-2021 09:18:09 UTC] PHP Notice:  Undefined index: apiServerUrl in /wp-content/plugins/polylang-supertext/src/Supertext/VersionMigration.php on line 122
[27-Jul-2021 09:18:28 UTC] PHP Notice:  Undefined index: host in /wp-includes/canonical.php on line 687
[27-Jul-2021 09:18:28 UTC] PHP Notice:  Undefined index: host in /wp-includes/canonical.php on line 688
[27-Jul-2021 09:18:28 UTC] PHP Notice:  Undefined index: host in /wp-includes/canonical.php on line 696
[27-Jul-2021 09:18:28 UTC] PHP Notice:  Undefined index: host in /wp-includes/canonical.php on line 699
[27-Jul-2021 09:18:28 UTC] PHP Notice:  Undefined index: scheme in /wp-includes/canonical.php on line 720
[27-Jul-2021 09:18:28 UTC] PHP Notice:  Undefined index: host in /wp-includes/canonical.php on line 687
[27-Jul-2021 09:18:28 UTC] PHP Notice:  Undefined index: host in /wp-includes/canonical.php on line 688
[27-Jul-2021 09:18:28 UTC] PHP Notice:  Undefined index: host in /wp-includes/canonical.php on line 696
[27-Jul-2021 09:18:28 UTC] PHP Notice:  Undefined index: host in /wp-includes/canonical.php on line 699
[27-Jul-2021 09:18:28 UTC] PHP Notice:  Undefined index: scheme in /wp-includes/canonical.php on line 720
See also: All tests for this plugin, How to Hide the "Supertext" Admin Menu