Supertext Translation 4.12

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

Summary

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

Memory usage: 237.75 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.0.3
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
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=435d88ae10
Aspect after-activation
HTTP status 200
Load time 0.288 s
Memory usage 4.01 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.463 s
Memory usage 3.96 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.202 s
Memory usage 3.93 MiB
JS errors
[
    {
        "message": "ReferenceError: savedFieldDefinitionIds is not defined\n    at Object.initialize (/wp-content/plugins/polylang-supertext/resources/scripts/settings-library.js?ver=47:99:30)\n    at Object.initialize (/wp-content/plugins/polylang-supertext/resources/scripts/settings-library.js?ver=47:132:34)\n    at HTMLDocument.<anonymous> (/wp-content/plugins/polylang-supertext/resources/scripts/settings-library.js?ver=47: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.0.3:2:30038)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,underscore,wp-util&ver=6.0.3:2:30340)",
        "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.93 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.95 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.226 s
Memory usage 3.57 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.358 s0.314 s-0.044 s3.73 MiB3.97 MiB+ 240.89 KiB
/wp-admin/edit.php0.200 s0.265 s+0.065 s3.76 MiB4.15 MiB+ 391.34 KiB
/wp-admin/post-new.php1.008 s1.275 s+0.267 s5.55 MiB5.79 MiB+ 244.48 KiB
/wp-admin/upload.php0.468 s0.401 s-0.067 s3.69 MiB3.93 MiB+ 242.23 KiB
/wp-admin/options-writing.php0.302 s0.160 s-0.142 s3.62 MiB3.9 MiB+ 283.08 KiB
/wp-admin/media-new.php0.272 s0.210 s-0.062 s3.67 MiB3.9 MiB+ 240.48 KiB
/wp-admin/edit-tags.php?taxonomy=category0.251 s0.319 s+0.068 s3.69 MiB3.93 MiB+ 240.25 KiB
/wp-admin/post-new.php?post_type=page1.203 s1.249 s+0.046 s5.55 MiB5.78 MiB+ 235.45 KiB
/wp-admin/options-discussion.php0.224 s0.228 s+0.004 s3.6 MiB3.9 MiB+ 303.97 KiB
/wp-admin/edit-comments.php0.235 s0.231 s-0.004 s3.7 MiB3.93 MiB+ 239.16 KiB
/0.295 s0.228 s-0.067 s3.62 MiB3.57 MiB- 46.03 KiB
Average 0.438 s0.444 s+0.006 s4.02 MiB4.25 MiB+ 237.75 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,2282,5545
PO File25.2%5,2132,65818
PHP23.9%4,9591,73360
CSS12.9%2,668464
Sass2.7%56012
Markdown0.3%6101
JSON0.1%3101
Total 20,720 6,992 91

PHP Code Analysis | More results »

Lines of code 4,329
Total complexity 848
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 339
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

[24-Oct-2022 00:03:08 UTC] PHP Notice:  Undefined index: 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