[wp-trac] [WordPress Trac] #50830: Deprecated: add_option_whitelist is deprecated since version 5.5.0

WordPress Trac noreply at wordpress.org
Sat Aug 1 17:12:03 UTC 2020


#50830: Deprecated: add_option_whitelist is deprecated since version 5.5.0
--------------------------+----------------------
 Reporter:  samperrow     |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  General       |     Version:
 Severity:  minor         |  Resolution:  invalid
 Keywords:                |     Focuses:  ui
--------------------------+----------------------
Changes (by whyisjake):

 * status:  new => closed
 * resolution:   => invalid
 * milestone:  Awaiting Review =>


Comment:

 Hey there @samperrow, thanks for filing this ticket.

 You are correct, this is a deprecated notice. If this is stemming from a
 custom plugin or theme, you can update to use `add_allowed_options()`.

 You can read more about this change
 [https://make.wordpress.org/core/2020/07/23/codebase-language-
 improvements-in-5-5/ here].

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/50830#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list