Supertext Translation 4.17

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

Summary

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

Memory usage: 219.89 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.2.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 60+
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=d2f9314f44
Aspect after-activation
HTTP status 200
Load time 0.244 s
Memory usage 3.32 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.259 s
Memory usage 3.29 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.170 s
Memory usage 3.24 MiB
JS errors
[
    {
        "message": "ReferenceError: savedFieldDefinitionIds is not defined\n    at Object.initialize (/wp-content/plugins/polylang-supertext/resources/scripts/settings-library.js?ver=48:99:30)\n    at Object.initialize (/wp-content/plugins/polylang-supertext/resources/scripts/settings-library.js?ver=48:132:34)\n    at HTMLDocument.<anonymous> (/wp-content/plugins/polylang-supertext/resources/scripts/settings-library.js?ver=48: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=6.2.2:2:30158)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,underscore,wp-util&ver=6.2.2:2:30460)",
        "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.162 s
Memory usage 3.24 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.151 s
Memory usage 3.25 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.247 s
Memory usage 2.99 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.288 s0.262 s-0.026 s3.07 MiB3.3 MiB+ 236.08 KiB
/wp-admin/edit.php0.209 s0.225 s+0.016 s3.1 MiB3.47 MiB+ 380.28 KiB
/wp-admin/post-new.php0.762 s0.923 s+0.161 s5.02 MiB5.25 MiB+ 235.68 KiB
/wp-admin/upload.php0.566 s0.469 s-0.097 s3.02 MiB3.23 MiB+ 221.1 KiB
/wp-admin/options-writing.php0.174 s0.171 s-0.003 s3.01 MiB3.21 MiB+ 204.53 KiB
/wp-admin/media-new.php0.329 s0.239 s-0.090 s2.99 MiB3.22 MiB+ 231.17 KiB
/wp-admin/edit-tags.php?taxonomy=category0.193 s0.181 s-0.012 s3.01 MiB3.23 MiB+ 235.13 KiB
/wp-admin/post-new.php?post_type=page0.592 s0.592 s+0.000 s5.01 MiB5.24 MiB+ 230.33 KiB
/wp-admin/options-discussion.php0.221 s0.225 s+0.004 s3 MiB3.21 MiB+ 218.58 KiB
/wp-admin/edit-comments.php0.210 s0.205 s-0.005 s3.03 MiB3.24 MiB+ 217.77 KiB
/0.302 s0.207 s-0.095 s2.97 MiB2.98 MiB+ 8.1 KiB
Average 0.350 s0.336 s-0.013 s3.38 MiB3.6 MiB+ 219.89 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
JavaScript34.9%7,2722,5575
PO File25.0%5,2132,65818
PHP24.2%5,0331,73960
CSS12.8%2,668464
Sass2.7%56012
Markdown0.3%6101
JSON0.1%3101
Total 20,838 7,001 91

PHP Code Analysis | More results »

Lines of code 4,403
Total complexity 869
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 345
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

[26-May-2023 07:26:12 UTC] PHP Warning:  Undefined array key "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