Whydonate 3.13.4

Does Whydonate work with WordPress 6.5.2 and PHP 8.1.12? A smoke test was performed on .

Summary

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

Memory usage: 39.27 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 600+
WordPress.org page https://wordpress.org/plugins/wp-whydonate/
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-whydonate%2Fwhydonate-v2.php&plugin_status=all&paged=1&s&_wpnonce=f7516cad61
Aspect after-activation
HTTP status 200
Load time 0.497 s
Memory usage 3.43 MiB
JS errors None
Resource errors None

Whydonate

Page screenshot: Whydonate
URL /wp-admin/admin.php?page=myplugin
Aspect menu-item
HTTP status 200
Load time 0.264 s
Memory usage 3.44 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.209 s
Memory usage 3.4 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.450 s0.397 s-0.053 s3.44 MiB3.48 MiB+ 48.86 KiB
/wp-admin/edit.php0.263 s0.234 s-0.029 s3.46 MiB3.51 MiB+ 46.79 KiB
/wp-admin/post-new.php1.086 s0.868 s-0.218 s5.59 MiB5.66 MiB+ 72.59 KiB
/wp-admin/upload.php0.657 s0.558 s-0.099 s3.38 MiB3.41 MiB+ 31.98 KiB
/wp-admin/options-writing.php0.266 s0.253 s-0.013 s3.37 MiB3.4 MiB+ 25.02 KiB
/wp-admin/media-new.php0.339 s0.284 s-0.055 s3.35 MiB3.39 MiB+ 44.2 KiB
/wp-admin/edit-tags.php?taxonomy=category0.238 s0.219 s-0.019 s3.37 MiB3.42 MiB+ 49.34 KiB
/wp-admin/post-new.php?post_type=page0.627 s0.666 s+0.039 s5.59 MiB5.65 MiB+ 64.17 KiB
/wp-admin/options-discussion.php0.465 s0.571 s+0.106 s3.36 MiB3.39 MiB+ 34.8 KiB
/wp-admin/edit-comments.php0.288 s0.335 s+0.047 s3.39 MiB3.42 MiB+ 30.9 KiB
/0.335 s0.219 s-0.116 s3.42 MiB3.4 MiB- 16.68 KiB
Average 0.456 s0.419 s-0.037 s3.79 MiB3.83 MiB+ 39.27 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.8%2,5428512
PHP33.2%2,36174713
PO File18.5%1,3141,0264
CSS12.4%8811711
JSON0.1%901
Total 7,107 2,795 21

PHP Code Analysis | More results »

Lines of code 1,755
Total complexity 255
Median class complexity 0.0
Median method complexity 0.0
Most complex class
Most complex function shortcode_func()
Classes 0
Methods 0
Functions 47

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.

Database Tables 3

Options wp_options 3

PHP Error Log 34 lines

[13-Apr-2024 16:28:10 UTC] PHP Notice:  Function wpdb::prepare was called incorrectly. The query argument of wpdb::prepare() must have a placeholder. Please see <a>Debugging in WordPress</a> for more information. (This message was added in version 3.9.0.) in /wp-includes/functions.php on line 6078
[13-Apr-2024 16:28:10 UTC] PHP Notice:  Function WP_Scripts::localize was called incorrectly. The $l10n parameter must be an array. To pass arbitrary data to scripts, use the wp_add_inline_script() function instead. Please see <a>Debugging in WordPress</a> for more information. (This message was added in version 5.7.0.) in /wp-includes/functions.php on line 6078
[13-Apr-2024 16:28:11 UTC] PHP Notice:  Function wpdb::prepare was called incorrectly. The query argument of wpdb::prepare() must have a placeholder. Please see <a>Debugging in WordPress</a> for more information. (This message was added in version 3.9.0.) in /wp-includes/functions.php on line 6078
[13-Apr-2024 16:28:11 UTC] PHP Notice:  Function WP_Scripts::localize was called incorrectly. The $l10n parameter must be an array. To pass arbitrary data to scripts, use the wp_add_inline_script() function instead. Please see <a>Debugging in WordPress</a> for more information. (This message was added in version 5.7.0.) in /wp-includes/functions.php on line 6078
[13-Apr-2024 16:28:11 UTC] PHP Notice:  Function wpdb::prepare was called incorrectly. The query argument of wpdb::prepare() must have a placeholder. Please see <a>Debugging in WordPress</a> for more information. (This message was added in version 3.9.0.) in /wp-includes/functions.php on line 6078
[13-Apr-2024 16:28:11 UTC] PHP Notice:  Function WP_Scripts::localize was called incorrectly. The $l10n parameter must be an array. To pass arbitrary data to scripts, use the wp_add_inline_script() function instead. Please see <a>Debugging in WordPress</a> for more information. (This message was added in version 5.7.0.) in /wp-includes/functions.php on line 6078
[13-Apr-2024 16:28:11 UTC] PHP Notice:  Function wpdb::prepare was called incorrectly. The query argument of wpdb::prepare() must have a placeholder. Please see <a>Debugging in WordPress</a> for more information. (This message was added in version 3.9.0.) in /wp-includes/functions.php on line 6078
[13-Apr-2024 16:28:13 UTC] PHP Notice:  Function wpdb::prepare was called incorrectly. The query argument of wpdb::prepare() must have a placeholder. Please see <a>Debugging in WordPress</a> for more information. (This message was added in version 3.9.0.) in /wp-includes/functions.php on line 6078
[13-Apr-2024 16:28:13 UTC] PHP Notice:  Function WP_Scripts::localize was called incorrectly. The $l10n parameter must be an array. To pass arbitrary data to scripts, use the wp_add_inline_script() function instead. Please see <a>Debugging in WordPress</a> for more information. (This message was added in version 5.7.0.) in /wp-includes/functions.php on line 6078
[13-Apr-2024 16:28:13 UTC] PHP Notice:  Function wpdb::prepare was called incorrectly. The query argument of wpdb::prepare() must have a placeholder. Please see <a>Debugging in WordPress</a> for more information. (This message was added in version 3.9.0.) in /wp-includes/functions.php on line 6078
[13-Apr-2024 16:28:13 UTC] PHP Notice:  Function WP_Scripts::localize was called incorrectly. The $l10n parameter must be an array. To pass arbitrary data to scripts, use the wp_add_inline_script() function instead. Please see <a>Debugging in WordPress</a> for more information. (This message was added in version 5.7.0.) in /wp-includes/functions.php on line 6078
[13-Apr-2024 16:28:14 UTC] PHP Notice:  Function wpdb::prepare was called incorrectly. The query argument of wpdb::prepare() must have a placeholder. Please see <a>Debugging in WordPress</a> for more information. (This message was added in version 3.9.0.) in /wp-includes/functions.php on line 6078
[13-Apr-2024 16:28:14 UTC] PHP Notice:  Function WP_Scripts::localize was called incorrectly. The $l10n parameter must be an array. To pass arbitrary data to scripts, use the wp_add_inline_script() function instead. Please see <a>Debugging in WordPress</a> for more information. (This message was added in version 5.7.0.) in /wp-includes/functions.php on line 6078
[13-Apr-2024 16:28:17 UTC] PHP Notice:  Function wpdb::prepare was called incorrectly. The query argument of wpdb::prepare() must have a placeholder. Please see <a>Debugging in WordPress</a> for more information. (This message was added in version 3.9.0.) in /wp-includes/functions.php on line 6078
[13-Apr-2024 16:28:17 UTC] PHP Notice:  Function WP_Scripts::localize was called incorrectly. The $l10n parameter must be an array. To pass arbitrary data to scripts, use the wp_add_inline_script() function instead. Please see <a>Debugging in WordPress</a> for more information. (This message was added in version 5.7.0.) in /wp-includes/functions.php on line 6078
[13-Apr-2024 16:28:18 UTC] PHP Notice:  Function wpdb::prepare was called incorrectly. The query argument of wpdb::prepare() must have a placeholder. Please see <a>Debugging in WordPress</a> for more information. (This message was added in version 3.9.0.) in /wp-includes/functions.php on line 6078
[13-Apr-2024 16:28:18 UTC] PHP Notice:  Function WP_Scripts::localize was called incorrectly. The $l10n parameter must be an array. To pass arbitrary data to scripts, use the wp_add_inline_script() function instead. Please see <a>Debugging in WordPress</a> for more information. (This message was added in version 5.7.0.) in /wp-includes/functions.php on line 6078
[13-Apr-2024 16:28:18 UTC] PHP Notice:  Function wpdb::prepare was called incorrectly. The query argument of wpdb::prepare() must have a placeholder. Please see <a>Debugging in WordPress</a> for more information. (This message was added in version 3.9.0.) in /wp-includes/functions.php on line 6078
[13-Apr-2024 16:28:18 UTC] PHP Notice:  Function WP_Scripts::localize was called incorrectly. The $l10n parameter must be an array. To pass arbitrary data to scripts, use the wp_add_inline_script() function instead. Please see <a>Debugging in WordPress</a> for more information. (This message was added in version 5.7.0.) in /wp-includes/functions.php on line 6078
[13-Apr-2024 16:28:18 UTC] PHP Notice:  Function wpdb::prepare was called incorrectly. The query argument of wpdb::prepare() must have a placeholder. Please see <a>Debugging in WordPress</a> for more information. (This message was added in version 3.9.0.) in /wp-includes/functions.php on line 6078
[13-Apr-2024 16:28:18 UTC] PHP Notice:  Function WP_Scripts::localize was called incorrectly. The $l10n parameter must be an array. To pass arbitrary data to scripts, use the wp_add_inline_script() function instead. Please see <a>Debugging in WordPress</a> for more information. (This message was added in version 5.7.0.) in /wp-includes/functions.php on line 6078
[13-Apr-2024 16:28:19 UTC] PHP Notice:  Function wpdb::prepare was called incorrectly. The query argument of wpdb::prepare() must have a placeholder. Please see <a>Debugging in WordPress</a> for more information. (This message was added in version 3.9.0.) in /wp-includes/functions.php on line 6078
[13-Apr-2024 16:28:19 UTC] PHP Notice:  Function WP_Scripts::localize was called incorrectly. The $l10n parameter must be an array. To pass arbitrary data to scripts, use the wp_add_inline_script() function instead. Please see <a>Debugging in WordPress</a> for more information. (This message was added in version 5.7.0.) in /wp-includes/functions.php on line 6078
[13-Apr-2024 16:28:22 UTC] PHP Notice:  Function wpdb::prepare was called incorrectly. The query argument of wpdb::prepare() must have a placeholder. Please see <a>Debugging in WordPress</a> for more information. (This message was added in version 3.9.0.) in /wp-includes/functions.php on line 6078
[13-Apr-2024 16:28:22 UTC] PHP Notice:  Function WP_Scripts::localize was called incorrectly. The $l10n parameter must be an array. To pass arbitrary data to scripts, use the wp_add_inline_script() function instead. Please see <a>Debugging in WordPress</a> for more information. (This message was added in version 5.7.0.) in /wp-includes/functions.php on line 6078
[13-Apr-2024 16:28:23 UTC] PHP Notice:  Function wpdb::prepare was called incorrectly. The query argument of wpdb::prepare() must have a placeholder. Please see <a>Debugging in WordPress</a> for more information. (This message was added in version 3.9.0.) in /wp-includes/functions.php on line 6078
[13-Apr-2024 16:28:23 UTC] PHP Notice:  Function WP_Scripts::localize was called incorrectly. The $l10n parameter must be an array. To pass arbitrary data to scripts, use the wp_add_inline_script() function instead. Please see <a>Debugging in WordPress</a> for more information. (This message was added in version 5.7.0.) in /wp-includes/functions.php on line 6078
[13-Apr-2024 16:28:23 UTC] PHP Notice:  Function wpdb::prepare was called incorrectly. The query argument of wpdb::prepare() must have a placeholder. Please see <a>Debugging in WordPress</a> for more information. (This message was added in version 3.9.0.) in /wp-includes/functions.php on line 6078
[13-Apr-2024 16:28:23 UTC] PHP Notice:  Function WP_Scripts::localize was called incorrectly. The $l10n parameter must be an array. To pass arbitrary data to scripts, use the wp_add_inline_script() function instead. Please see <a>Debugging in WordPress</a> for more information. (This message was added in version 5.7.0.) in /wp-includes/functions.php on line 6078
[13-Apr-2024 16:28:24 UTC] PHP Notice:  Function wpdb::prepare was called incorrectly. The query argument of wpdb::prepare() must have a placeholder. Please see <a>Debugging in WordPress</a> for more information. (This message was added in version 3.9.0.) in /wp-includes/functions.php on line 6078
[13-Apr-2024 16:28:24 UTC] PHP Notice:  Function WP_Scripts::localize was called incorrectly. The $l10n parameter must be an array. To pass arbitrary data to scripts, use the wp_add_inline_script() function instead. Please see <a>Debugging in WordPress</a> for more information. (This message was added in version 5.7.0.) in /wp-includes/functions.php on line 6078
[13-Apr-2024 16:28:24 UTC] PHP Notice:  Function wpdb::prepare was called incorrectly. The query argument of wpdb::prepare() must have a placeholder. Please see <a>Debugging in WordPress</a> for more information. (This message was added in version 3.9.0.) in /wp-includes/functions.php on line 6078
[13-Apr-2024 16:28:24 UTC] PHP Notice:  Function wpdb::prepare was called incorrectly. The query argument of wpdb::prepare() must have a placeholder. Please see <a>Debugging in WordPress</a> for more information. (This message was added in version 3.9.0.) in /wp-includes/functions.php on line 6078
[13-Apr-2024 16:28:24 UTC] PHP Warning:  Undefined variable $api_key in /wp-content/plugins/wp-whydonate/whydonate-v2.php on line 306
See also: All tests for this plugin, How to Hide the "Whydonate" Admin Menu