Title: Deprecated function add_option_whitelist
Last modified: June 24, 2020

---

# Deprecated function add_option_whitelist

 *  [andy_moyle](https://wordpress.org/support/users/andy_moyle/)
 * (@andy_moyle)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/deprecated-function-add_option_whitelist/)
 * My home test server WordPress install is on bleeding edge WP builds and 5.5.0
   throws a deprecated function notice, which I have disagnosed to Classic Editor
   plugin
 * Line 339 of class-editor.php uses add_option_whitelist() – the notice asks for
   add_allowed_options() to be used instead, for which there is no documentation
   yet 😉

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Anthony Hortin](https://wordpress.org/support/users/ahortin/)
 * (@ahortin)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/deprecated-function-add_option_whitelist/#post-13143193)
 * Came here to report the same thing. Classic Editor plugin (v1.5) is producing
   the following error on 5.5-beta2:
 * **Deprecated: add_option_whitelist is deprecated since version 5.5.0! Use add_allowed_options()
   instead. in /Users…/wp-includes/functions.php on line 4767**
 * `add_option_whitelist()` is being called at line 339 in `classic-editor.php`
 *  [Anthony Hortin](https://wordpress.org/support/users/ahortin/)
 * (@ahortin)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/deprecated-function-add_option_whitelist/#post-13144050)
 * I’ve just raised this as an issue over on the Github repo
 * [https://github.com/WordPress/classic-editor/issues/124](https://github.com/WordPress/classic-editor/issues/124)
 *  [Anthony Hortin](https://wordpress.org/support/users/ahortin/)
 * (@ahortin)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/deprecated-function-add_option_whitelist/#post-13148105)
 * Just got notice on the above Github issue that I raised that this has been fixed
   in a future update…
 * >  The notice was fixed some time ago and will be in the plugin update for WP
   > 5.5.
   > Fixed with [#123](https://github.com/WordPress/classic-editor/pull/123).

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Deprecated function add_option_whitelist’ is closed to new replies.

 * ![](https://ps.w.org/classic-editor/assets/icon-256x256.png?rev=1998671)
 * [Classic Editor](https://wordpress.org/plugins/classic-editor/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/classic-editor/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/classic-editor/)
 * [Active Topics](https://wordpress.org/support/plugin/classic-editor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/classic-editor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/classic-editor/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Anthony Hortin](https://wordpress.org/support/users/ahortin/)
 * Last activity: [5 years, 10 months ago](https://wordpress.org/support/topic/deprecated-function-add_option_whitelist/#post-13148105)
 * Status: not resolved