[wp-trac] [WordPress Trac] #50434: Replace the `$new_whitelist_options` variable with a more inclusive name

WordPress Trac noreply at wordpress.org
Tue Jul 14 12:31:37 UTC 2020

#50434: Replace the `$new_whitelist_options` variable with a more inclusive name
 Reporter:  desrosj                          |       Owner:  desrosj
     Type:  defect (bug)                     |      Status:  closed
 Priority:  normal                           |   Milestone:  5.5
Component:  General                          |     Version:
 Severity:  normal                           |  Resolution:  fixed
 Keywords:  has-patch commit needs-dev-note  |     Focuses:
Changes (by desrosj):

 * owner:  (none) => desrosj
 * status:  new => closed
 * resolution:   => fixed


 In [changeset:"48477" 48477]:
 #!CommitTicketReference repository="" revision="48477"
 General: Rename the `$new_whitelist_options` global variable.

 This change renames `$new_whitelist_options` to `$new_allowed_options`.
 This makes the variable’s purpose more clear, and promotes using more
 inclusive language.

 For backwards compatibility, the new variable is passed by reference to
 the old one.

 Follow up to [48121].

 Props ayeshrajans, desrosj, jorbin, SergeyBiryukov.
 See #50413.
 Fixes #50434.

Ticket URL: <https://core.trac.wordpress.org/ticket/50434#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list