Supertext Translation 4.20

Does Supertext Translation work with WordPress 6.4.1 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: 220.96 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.4.1
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=bb441bf64e
Aspect after-activation
HTTP status 200
Load time 0.301 s
Memory usage 3.63 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.308 s
Memory usage 3.59 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.189 s
Memory usage 3.55 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:318: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.4.1: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.4.1: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.172 s
Memory usage 3.55 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.189 s
Memory usage 3.56 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.179 s
Memory usage 3.31 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.391 s0.324 s-0.067 s3.38 MiB3.61 MiB+ 239.37 KiB
/wp-admin/edit.php0.222 s0.458 s+0.236 s3.41 MiB3.78 MiB+ 382.69 KiB
/wp-admin/post-new.php1.034 s0.625 s-0.409 s5.46 MiB5.7 MiB+ 244.47 KiB
/wp-admin/upload.php0.754 s0.412 s-0.342 s3.32 MiB3.54 MiB+ 225.27 KiB
/wp-admin/options-writing.php0.277 s0.191 s-0.086 s3.32 MiB3.53 MiB+ 214.95 KiB
/wp-admin/media-new.php0.329 s0.265 s-0.064 s3.29 MiB3.52 MiB+ 235.77 KiB
/wp-admin/edit-tags.php?taxonomy=category0.226 s0.198 s-0.028 s3.31 MiB3.55 MiB+ 239.73 KiB
/wp-admin/post-new.php?post_type=page0.623 s0.758 s+0.135 s5.45 MiB5.69 MiB+ 244.05 KiB
/wp-admin/options-discussion.php0.350 s0.260 s-0.090 s3.3 MiB3.52 MiB+ 224.62 KiB
/wp-admin/edit-comments.php0.267 s0.229 s-0.038 s3.33 MiB3.55 MiB+ 222.36 KiB
/0.305 s0.210 s-0.095 s3.36 MiB3.31 MiB- 42.72 KiB
Average 0.434 s0.357 s-0.077 s3.72 MiB3.94 MiB+ 220.96 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
JavaScript35.6%7,2732,5575
PHP24.7%5,0531,73960
PO File23.5%4,7962,42517
CSS13.1%2,670464
Sass2.7%56212
Markdown0.3%6101
JSON0.2%3101
Total 20,446 6,768 90

PHP Code Analysis | More results »

Lines of code 4,410
Total complexity 874
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 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

[15-Nov-2023 12:04:04 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