disable-blog icon indicating copy to clipboard operation
disable-blog copied to clipboard

Deprecated Function "comment_whitelist"

Open lanaphillips opened this issue 1 year ago • 2 comments

I have "WP_DEBUG" enabled. This error only shows up if this Disable Blog is enabled. This error showed up on a brand new WP install.

Function update_option was called with an argument that is deprecated since version 5.5.0! The "comment_whitelist" option key has been renamed to "comment_previously_approved". in /home/758708.cloudwaysapps.com/ymtwarqkbm/public_html/wp-includes/functions.php on line 5697

WP 6.2.2

lanaphillips avatar Aug 01 '23 20:08 lanaphillips

Hey @lanaphillips thanks for alerting me of this! I'll get a fix in the next release.

joshuadavidnelson avatar Aug 07 '23 13:08 joshuadavidnelson

Hey again! So I tried to replicate this issue without success. The only two instances where this plugin uses update_option are not related to comments, just the plugin version, and nowhere in the plugin does the string comment_whitelist occur.

Can you confirm the steps needed to replicate your experience? Is it possible there is another plugin or theme throwing this error, unrelated to Disable Blog? Do you encounter it with the current version of WordPress, 6.4.2?

joshuadavidnelson avatar Dec 14 '23 06:12 joshuadavidnelson