Supertext Translation 4.24

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: 96.18 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 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=e14e8f8a87
Aspect after-activation
HTTP status 200
Load time 0.298 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.374 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.197 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.237 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.173 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.224 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.423 s0.342 s-0.081 s3.44 MiB3.54 MiB+ 102.73 KiB
/wp-admin/edit.php0.243 s0.276 s+0.033 s3.46 MiB3.7 MiB+ 246.05 KiB
/wp-admin/post-new.php1.133 s0.659 s-0.474 s5.59 MiB5.7 MiB+ 107.82 KiB
/wp-admin/upload.php0.764 s0.626 s-0.138 s3.38 MiB3.47 MiB+ 88.63 KiB
/wp-admin/options-writing.php0.339 s0.272 s-0.067 s3.37 MiB3.45 MiB+ 77.7 KiB
/wp-admin/media-new.php0.302 s0.297 s-0.005 s3.35 MiB3.45 MiB+ 99.13 KiB
/wp-admin/edit-tags.php?taxonomy=category0.197 s0.272 s+0.075 s3.37 MiB3.47 MiB+ 103.09 KiB
/wp-admin/post-new.php?post_type=page0.534 s0.706 s+0.172 s5.59 MiB5.69 MiB+ 103.41 KiB
/wp-admin/options-discussion.php0.295 s0.278 s-0.017 s3.36 MiB3.44 MiB+ 86.23 KiB
/wp-admin/edit-comments.php0.247 s0.524 s+0.277 s3.39 MiB3.47 MiB+ 85.73 KiB
/0.309 s0.328 s+0.019 s3.42 MiB3.38 MiB- 42.54 KiB
Average 0.435 s0.416 s-0.019 s3.79 MiB3.89 MiB+ 96.18 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.8%7,2882,5575
PO File25.3%5,2982,65918
PHP24.1%5,0611,74960
CSS12.7%2,670464
Sass2.7%56212
Markdown0.3%6101
JSON0.1%3101
Total 20,971 7,012 91

PHP Code Analysis | More results »

Lines of code 4,432
Total complexity 876
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

[18-Apr-2024 09:03:50 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