php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #80330 Replace language in APIs and source code/docs
Submitted: 2020-11-06 16:44 UTC Modified: 2021-01-24 20:17 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: marines@php.net Assigned: marines (profile)
Status: Closed Package: mysql (PECL)
PHP Version: 7.4.12 OS: any
Private report: No CVE-ID: None
 [2020-11-06 16:44 UTC] marines@php.net
Description:
------------
This worklog is about removing terms from our apis/source code/docs that may be considered racially insensitive. The changes concern the whole MySQL source code, not only related PHP extensions (mysqlnd, mysqli, pdo_mysql).

The terminology to change is as follows:

-----------------------------------------------------------------------------------------------
Term                                                                           | Replacement
-----------------------------------------------------------------------------------------------
Blacklist                                                                      | Blocklist
Whitelist                                                                      | Allowlist
Master                                                                         | Source
Slave                                                                          | Replica
Multi-Master Asynchronous Replication (without conflict detection/resolution)  | Circular Replication
-----------------------------------------------------------------------------------------------



- Existing properties and methods that use the offending terms must be updated to use the new terms.
- The old properties and methods must be retained as deprecated to prevent any bc issue.
- Any references to the offending terms in the source code including comments should be replaced.
- Any references to the offending terms in other files including readme files should be replaced.

In some situations, we may need to wait for an updated server version, hence some occurrences may still exist in code.



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2020-11-06 16:45 UTC] marines@php.net
-Status: Open +Status: Analyzed -Assigned To: +Assigned To: marines
 [2021-01-24 20:17 UTC] marines@php.net
pull request
https://github.com/php/php-src/pull/6632
 [2021-01-25 09:11 UTC] nikic@php.net
Automatic comment on behalf of dariusz.slusarczyk@oracle.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=ed24f0f2017c3df6ccb3466769bf56602852fd30
Log: Fix #80330: Replace language in APIs and source code/docs
 [2021-01-25 09:11 UTC] nikic@php.net
-Status: Analyzed +Status: Closed
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sun Nov 28 08:03:16 2021 UTC