WP百度翻译插件 1.1.0

Does WP百度翻译插件 work with WordPress 6.8.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
2PHP fatal errors
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 13.86 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.8.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs <10
WordPress.org page https://wordpress.org/plugins/wp-baidu-fanyi/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 3

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=wp-baidu-fanyi%2Findex.php&plugin_status=all&paged=1&s&_wpnonce=7c6fd8d83b
Aspect after-activation
HTTP status 200
Load time 0.264 s
Memory usage 3.54 MiB
JS errors None
Resource errors None

Settings → WP百度翻译管理

Page screenshot: Settings → WP百度翻译管理
URL /wp-admin/options-general.php?page=wp_bdfy_pack
Aspect menu-item
HTTP status 200
Load time 2.539 s
Memory usage 3.53 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.174 s
Memory usage 3.43 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.390 s0.341 s-0.049 s3.51 MiB3.53 MiB+ 21.36 KiB
/wp-admin/edit.php0.231 s0.249 s+0.018 s3.57 MiB3.59 MiB+ 21.36 KiB
/wp-admin/post-new.php0.807 s0.682 s-0.125 s6.06 MiB6.09 MiB+ 24.99 KiB
/wp-admin/upload.php0.597 s0.517 s-0.080 s3.52 MiB3.53 MiB+ 3.95 KiB
/wp-admin/options-writing.php0.245 s0.210 s-0.035 s3.5 MiB3.51 MiB+ 7.95 KiB
/wp-admin/media-new.php0.374 s0.261 s-0.113 s3.49 MiB3.51 MiB+ 16.14 KiB
/wp-admin/edit-tags.php?taxonomy=category0.206 s0.210 s+0.004 s3.5 MiB3.53 MiB+ 26.81 KiB
/wp-admin/post-new.php?post_type=page0.628 s0.643 s+0.015 s6.05 MiB6.07 MiB+ 20.52 KiB
/wp-admin/options-discussion.php0.503 s0.251 s-0.252 s3.5 MiB3.51 MiB+ 4.45 KiB
/wp-admin/edit-comments.php0.264 s0.209 s-0.055 s3.52 MiB3.53 MiB+ 3.95 KiB
/0.339 s0.411 s+0.072 s3.43 MiB3.44 MiB+ 1008 bytes
Average 0.417 s0.362 s-0.055 s3.97 MiB3.98 MiB+ 13.86 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.

PHP
Language % Lines of code Comment lines Files
PHP94.7%663534
JavaScript4.9%3403
CSS0.4%3123
Total 700 65 10

PHP Code Analysis | More results »

Lines of code 142
Total complexity 26
Median class complexity 26.0
Median method complexity 1.5
Most complex class WP_Baidu_Fanyi_Admin
Most complex function WP_Baidu_Fanyi_Admin::call()
Classes 1
Methods 16
Functions 0

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.

No new entries found.

PHP Error Log 16 lines

[07-May-2025 21:45:48 UTC] PHP Fatal error:  Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, non-static method WP_Baidu_Fanyi_Admin::admin_footer() cannot be called statically in /wp-includes/class-wp-hook.php:324
Stack trace:
#0 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#1 /wp-includes/plugin.php(517): WP_Hook->do_action()
#2 /wp-admin/admin-footer.php(105): do_action()
#3 /wp-admin/post-new.php(83): require_once('...')
#4 {main}
  thrown in /wp-includes/class-wp-hook.php on line 324
[07-May-2025 21:45:52 UTC] PHP Fatal error:  Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, non-static method WP_Baidu_Fanyi_Admin::admin_footer() cannot be called statically in /wp-includes/class-wp-hook.php:324
Stack trace:
#0 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#1 /wp-includes/plugin.php(517): WP_Hook->do_action()
#2 /wp-admin/admin-footer.php(105): do_action()
#3 /wp-admin/post-new.php(83): require_once('...')
#4 {main}
  thrown in /wp-includes/class-wp-hook.php on line 324
See also: All tests for this plugin