WordPress.org

Make WordPress Core


Ignore:
Timestamp:
07/23/2020 03:12:49 AM (6 months ago)
Author:
jorbin
Message:

General: Update code for readability and inclusion

There are two pieces in here:

1) The update to change blacklist to blocklist is moved to disallowed_list. "Block" has a meaning in our code, and there could be ambiguity between this code and code related to blocks.

2) This improves backwards compatibility for code that was accessing the now deprecated code.

Previously: [48477], [48405], [48400], [48121], [48122], [48124], [48142], [48566]

Props: desrosj, SergeyBiryukov, johnjamesjacoby
Fixes: #50413

File:
1 edited

Legend:

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

    r48397 r48575  
    533533
    534534        // 5.5.0
    535         'blocklist_keys'                  => '',
     535        'disallowed_keys'                 => '',
    536536        'comment_previously_approved'     => 1,
    537537        'auto_plugin_theme_update_emails' => array(),
     
    557557        'moderation_keys',
    558558        'recently_edited',
    559         'blocklist_keys',
     559        'disallowed_keys',
    560560        'uninstall_plugins',
    561561        'auto_plugin_theme_update_emails',
Note: See TracChangeset for help on using the changeset viewer.