Change record status: 
Project: 
Introduced in branch: 
9.1.x
Introduced in version: 
9.1.0
Description: 

The Drupal\Core\Extension\Discovery\RecursiveExtensionFilterIterator class (see core/lib/Drupal/Core/Extension/Discovery/RecursiveExtensionFilterIterator.php) used to have protected array member variables called $whitelist and $blacklist. Since these phrases are both an historic bad labelling of people with racist connotations, and ambiguous and imprecise from a technical standpoint, the member arrays have been renamed:

  • $blacklist is replaced with $skippedFolders
  • $whitelist is replaced with $allowedExtensionTypes

Any site that has extended this class in custom code should make sure they're not using the old names for these member variables.

Impacts: 
Module developers