Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
07/29/2020 06:44:23 PM (4 years ago)
Author:
boonebgorges
Message:

Remove terms blacklist and whitelist in inline comments and local variables.

The change is in order to promote clearer and more inclusive language.

See #8339.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-xprofile/bp-xprofile-filters.php

    r12529 r12694  
    165165
    166166/**
    167  * Filters profile field values for whitelisted HTML.
     167 * Filters profile field values for allowed HTML.
    168168 *
    169169 * @since 5.0.0
     
    178178
    179179/**
    180  * Filters profile field values for whitelisted HTML, when coming from xprofile_get_field_data().
     180 * Filters profile field values for allowed HTML, when coming from xprofile_get_field_data().
    181181 *
    182182 * @since 5.0.0
     
    337337 *
    338338 * Most field values are simply run through esc_html(). Those that support rich text (by default, `textarea` only)
    339  * are sanitized using kses, which allows a whitelist of HTML tags.
     339 * are sanitized using kses, which allows HTML tags from a controlled list.
    340340 *
    341341 * @since 2.4.0
Note: See TracChangeset for help on using the changeset viewer.