|  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
Avg. Score:5.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: 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]
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.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2020-11-06 16:45 UTC]
-Status: Open +Status: Analyzed -Assigned To: +Assigned To: marines
 [2021-01-24 20:17 UTC]
pull request
 [2021-01-25 09:11 UTC]
Automatic comment on behalf of
Log: Fix #80330: Replace language in APIs and source code/docs
 [2021-01-25 09:11 UTC]
-Status: Analyzed +Status: Closed
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 18:01:28 2024 UTC