Supertext Translation 4.23

Does Supertext Translation work with WordPress 6.5.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: 100.97 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.5.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=c64a4118dc
Aspect after-activation
HTTP status 200
Load time 0.269 s
Memory usage 3.55 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.285 s
Memory usage 3.52 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.179 s
Memory usage 3.47 MiB
JS errors
[
    {
        "message": "ReferenceError: savedFieldDefinitionIds is not defined\n    at Object.initialize (/wp-content/plugins/polylang-supertext/resources/scripts/settings-library.js?ver=49:99:30)\n    at Object.initialize (/wp-content/plugins/polylang-supertext/resources/scripts/settings-library.js?ver=49:132:34)\n    at HTMLDocument.<anonymous> (/wp-content/plugins/polylang-supertext/resources/scripts/settings-library.js?ver=49:335: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.5.2:2:27028)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,underscore,wp-util&ver=6.5.2:2:27330)",
        "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.160 s
Memory usage 3.47 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.190 s
Memory usage 3.48 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.211 s
Memory usage 3.37 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.380 s0.314 s-0.066 s3.44 MiB3.54 MiB+ 102.74 KiB
/wp-admin/edit.php0.215 s0.246 s+0.031 s3.46 MiB3.7 MiB+ 246.05 KiB
/wp-admin/post-new.php0.929 s0.608 s-0.321 s5.59 MiB5.7 MiB+ 107.83 KiB
/wp-admin/upload.php0.606 s0.499 s-0.107 s3.38 MiB3.47 MiB+ 88.63 KiB
/wp-admin/options-writing.php0.231 s0.208 s-0.023 s3.37 MiB3.45 MiB+ 77.7 KiB
/wp-admin/media-new.php0.326 s0.266 s-0.060 s3.35 MiB3.45 MiB+ 99.13 KiB
/wp-admin/edit-tags.php?taxonomy=category0.194 s0.197 s+0.003 s3.37 MiB3.47 MiB+ 103.09 KiB
/wp-admin/post-new.php?post_type=page0.559 s0.586 s+0.027 s5.59 MiB5.69 MiB+ 103.41 KiB
/wp-admin/options-discussion.php0.335 s0.336 s+0.001 s3.36 MiB3.44 MiB+ 86.23 KiB
/wp-admin/edit-comments.php0.235 s0.231 s-0.004 s3.39 MiB3.47 MiB+ 85.73 KiB
/0.308 s0.203 s-0.105 s3.37 MiB3.38 MiB+ 10.09 KiB
Average 0.393 s0.336 s-0.057 s3.79 MiB3.89 MiB+ 100.97 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.7%7,2882,5575
PO File25.2%5,2982,65918
PHP24.2%5,0921,74960
CSS12.7%2,670464
Sass2.7%56212
Markdown0.3%6101
JSON0.1%3101
Total 21,002 7,012 91

PHP Code Analysis | More results »

Lines of code 4,443
Total complexity 881
Median class complexity 15.0
Median method complexity 2.0
Most complex class Supertext\Helper\TextProcessor
Most complex function Supertext\Helper\TextProcessor::replaceShortcodeNodesRecursive()
Classes 41
Methods 347
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 3

PHP Error Log 1 lines

[16-Apr-2024 01:46:59 UTC] PHP Warning:  Undefined array key "apiServerUrl" in /wp-content/plugins/polylang-supertext/src/Supertext/VersionMigration.php on line 126
See also: All tests for this plugin, How to Hide the "Supertext" Admin Menu