Supertext Translation 4.22

Does Supertext Translation work with WordPress 6.4.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: 221.12 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.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=a16c6e7834
Aspect after-activation
HTTP status 200
Load time 0.294 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.289 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.211 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=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.4.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.4.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.178 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.178 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.224 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.415 s0.324 s-0.091 s3.38 MiB3.61 MiB+ 239.53 KiB
/wp-admin/edit.php0.220 s0.271 s+0.051 s3.41 MiB3.78 MiB+ 382.85 KiB
/wp-admin/post-new.php0.993 s1.603 s+0.610 s5.46 MiB5.7 MiB+ 244.63 KiB
/wp-admin/upload.php0.596 s0.537 s-0.059 s3.32 MiB3.54 MiB+ 225.43 KiB
/wp-admin/options-writing.php0.242 s0.198 s-0.044 s3.32 MiB3.53 MiB+ 215.12 KiB
/wp-admin/media-new.php0.337 s0.227 s-0.110 s3.29 MiB3.52 MiB+ 235.93 KiB
/wp-admin/edit-tags.php?taxonomy=category0.218 s0.199 s-0.019 s3.31 MiB3.55 MiB+ 239.89 KiB
/wp-admin/post-new.php?post_type=page0.656 s0.742 s+0.086 s5.45 MiB5.69 MiB+ 244.22 KiB
/wp-admin/options-discussion.php0.603 s0.334 s-0.269 s3.3 MiB3.52 MiB+ 224.78 KiB
/wp-admin/edit-comments.php0.259 s0.244 s-0.015 s3.33 MiB3.55 MiB+ 222.52 KiB
/0.304 s0.287 s-0.017 s3.36 MiB3.32 MiB- 42.54 KiB
Average 0.440 s0.451 s+0.011 s3.72 MiB3.94 MiB+ 221.12 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,0811,73960
CSS12.7%2,670464
Sass2.7%56212
Markdown0.3%6101
JSON0.1%3101
Total 20,991 7,002 91

PHP Code Analysis | More results »

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

[12-Dec-2023 19:39:36 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