Make WordPress Core


Ignore:
Timestamp:
07/22/2020 06:50:30 PM (4 years ago)
Author:
desrosj
Message:

General: Rename remove_option_allowed_list() to remove_allowed_options().

This was missed in [48142] which renamed add_option_allowed_list() to add_allowed_options() for better readability. The two functions should have consistent names.

See #50413.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/plugin.php

    r48500 r48566  
    22322232 * @return array
    22332233 */
    2234 function remove_option_allowed_list( $del_options, $options = '' ) {
     2234function remove_allowed_options( $del_options, $options = '' ) {
    22352235    if ( '' === $options ) {
    22362236        global $allowed_options;
Note: See TracChangeset for help on using the changeset viewer.