#60187 closed enhancement (fixed)
Remove, from code comments, use of the expression "sanity check" (and variations)
Reported by: | dartiss | Owned by: | hellofromTonya |
---|---|---|---|
Milestone: | 6.5 | Priority: | normal |
Severity: | minor | Version: | |
Component: | General | Keywords: | has-patch commit |
Focuses: | docs | Cc: |
Description
"Sanity check" is an ableist term, which we should reduce usage of. Although some functions exist making use of it, I'm not going to suggest changes are made to these, due to the creation of some incompatibility issues as a result.
However, there are 22 uses of this term (or variations of) across 16 files in core comments. My attached diffs will replace the term with "confidence check".
You read more about the concern around this language here: https://gist.github.com/seanmhanson/fe370c2d8bd2b3228680e38899baf5cc#
Let me know if you have any further questions about any of this.
Attachments (16)
Change History (21)
#1
@
9 months ago
- Component changed from Comments to General
- Focuses docs added
- Keywords has-patch added
- Milestone changed from Awaiting Review to 6.5
- Owner set to hellofromTonya
- Severity changed from normal to minor
- Status changed from new to reviewing
This ticket was mentioned in PR #5838 on WordPress/wordpress-develop by @hellofromTonya.
9 months ago
#2
Changes "sanity check" to "confidence check".
Applies the following patches:
- https://core.trac.wordpress.org/attachment/ticket/60187/class-pclzip.php.diff
- https://core.trac.wordpress.org/attachment/ticket/60187/class-plugin-upgrader.php.diff
- https://core.trac.wordpress.org/attachment/ticket/60187/class-theme-upgrader.php.diff
- https://core.trac.wordpress.org/attachment/ticket/60187/class-wp-tax-query.php.diff
- https://core.trac.wordpress.org/attachment/ticket/60187/class-wpdb.php.diff
- https://core.trac.wordpress.org/attachment/ticket/60187/cron.php.diff
- https://core.trac.wordpress.org/attachment/ticket/60187/functions.php.diff
- https://core.trac.wordpress.org/attachment/ticket/60187/install.php.diff
- https://core.trac.wordpress.org/attachment/ticket/60187/post.php.diff
- https://core.trac.wordpress.org/attachment/ticket/60187/taxonomy.php.diff
- https://core.trac.wordpress.org/attachment/ticket/60187/template-functions.php.diff
- https://core.trac.wordpress.org/attachment/ticket/60187/update-core.php.diff
Applies the following JS patches but in the js/_enqueues/
folder instead of in src/wp-admin/js
:
- https://core.trac.wordpress.org/attachment/ticket/60187/post.js.diff gets applied in the
src/js/_enqueues/admin/post.js
file. - https://core.trac.wordpress.org/attachment/ticket/60187/form_utils.js.diff gets applied in
src/js/_enqueues/vendor/tinymce/utils/form_utils.js
. - https://core.trac.wordpress.org/attachment/ticket/60187/theme.js.diff gets applied in
src/js/_enqueues/wp/theme.js
.
Removes for sanity
from:
src/wp-includes/shortcodes.php
Trac ticket: https://core.trac.wordpress.org/ticket/60187
#3
@
9 months ago
- Keywords commit added
Patch: https://github.com/WordPress/wordpress-develop/pull/5838
Combines all of the patches in this ticket (thus far) and adds a few missing instances such as for sanity
and in tests.
Marking for commit. Will prep shortly.
@hellofromTonya commented on PR #5838:
9 months ago
#5
Committed via https://core.trac.wordpress.org/changeset/57239.
Hello @dartiss,
Welcome back to WordPress Core :) Thank you for this ticket and the scope of work you've submitted.
I agree with you. The term "sanity check" needs to change to replace the word "sanity" with "confidence".
Moving this ticket into 6.5, self-assigning for patch review and commit.