Supertext Translation 3.22

Does Supertext Translation work with WordPress 5.7.1 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: 264.58 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.7.1
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=f2d6c9390c
Aspect after-activation
HTTP status 200
Load time 0.278 s
Memory usage 3.09 MiB
JS errors None
Resource errors None

Settings → Supertext

Page screenshot: Settings → Supertext
URL /wp-admin/options-general.php?page=supertext-polylang-settings
Aspect menu-item
HTTP status 200
Load time 0.311 s
Memory usage 3.04 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-polylang-settings&tab=translatablefields
Aspect menu-item-tab
HTTP status 200
Load time 0.152 s
Memory usage 3.01 MiB
JS errors
[
    {
        "message": "ReferenceError: savedFieldDefinitionIds is not defined\n    at Object.initialize (/wp-content/plugins/polylang-supertext/resources/scripts/settings-library.js?ver=35:98:29)\n    at Object.initialize (/wp-content/plugins/polylang-supertext/resources/scripts/settings-library.js?ver=35:131:34)\n    at HTMLDocument.<anonymous> (/wp-content/plugins/polylang-supertext/resources/scripts/settings-library.js?ver=35: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.7.1:2:30005)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,underscore,wp-util&ver=5.7.1:2:30307)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Settings → Supertext → Shortcodes

Page screenshot: Settings → Supertext → Shortcodes
URL /wp-admin/options-general.php?page=supertext-polylang-settings&tab=shortcodes
Aspect menu-item-tab
HTTP status 200
Load time 0.143 s
Memory usage 3.02 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-polylang-settings&tab=workflow
Aspect menu-item-tab
HTTP status 200
Load time 0.147 s
Memory usage 3.02 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.165 s
Memory usage 2.66 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.246 s0.336 s+0.090 s2.82 MiB3.07 MiB+ 251.57 KiB
/wp-admin/edit.php0.178 s0.338 s+0.160 s2.86 MiB3.17 MiB+ 314.27 KiB
/wp-admin/post-new.php0.904 s0.858 s-0.046 s5.02 MiB5.32 MiB+ 304.98 KiB
/wp-admin/upload.php0.455 s0.250 s-0.205 s2.7 MiB3.01 MiB+ 317.37 KiB
/wp-admin/options-writing.php0.223 s0.155 s-0.068 s2.71 MiB2.99 MiB+ 281.83 KiB
/wp-admin/media-new.php0.217 s0.166 s-0.051 s2.67 MiB2.98 MiB+ 315.78 KiB
/wp-admin/edit-tags.php?taxonomy=category0.175 s0.176 s+0.001 s2.77 MiB3.02 MiB+ 250.93 KiB
/wp-admin/post-new.php?post_type=page1.027 s0.699 s-0.328 s5.01 MiB5.3 MiB+ 299.94 KiB
/wp-admin/options-discussion.php0.277 s0.251 s-0.026 s2.67 MiB2.98 MiB+ 315.27 KiB
/wp-admin/edit-comments.php0.209 s0.185 s-0.024 s2.78 MiB3.02 MiB+ 249.84 KiB
/0.259 s0.201 s-0.058 s2.65 MiB2.66 MiB+ 8.58 KiB
Average 0.379 s0.329 s-0.050 s3.15 MiB3.41 MiB+ 264.58 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
JavaScript38.2%7,1992,5335
PHP23.1%4,3591,60256
PO File21.8%4,1071,85817
CSS13.6%2,560464
Sass3.0%56012
Markdown0.3%5001
JSON0.2%3001
Total 18,865 6,040 86

PHP Code Analysis | More results »

Lines of code 3,819
Total complexity 744
Median class complexity 15.0
Median method complexity 2.0
Most complex class Supertext\Polylang\Helper\TextProcessor
Most complex function Supertext\Polylang\Helper\TextProcessor::replaceShortcodeNodesRecursive()
Classes 39
Methods 296
Functions 2

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

[20-Apr-2021 22:58:07 UTC] PHP Notice:  Undefined index: apiServerUrl in /wp-content/plugins/polylang-supertext/src/Supertext/Polylang/VersionMigration.php on line 122
See also: All tests for this plugin, How to Hide the "Supertext" Admin Menu