joshuadavidnelson / disable-blog

All the power of WordPress, without a blog. This plugin removes blog related functionality.
https://wordpress.org/plugins/disable-blog/
GNU General Public License v2.0
52 stars 6 forks source link

Deprecated Function "comment_whitelist" #72

Open lanaphillips opened 1 year ago

lanaphillips commented 1 year ago

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

joshuadavidnelson commented 1 year ago

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

joshuadavidnelson commented 10 months ago

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?