Make WordPress Core


Ignore:
Timestamp:
01/03/2024 09:57:32 PM (5 months ago)
Author:
hellofromTonya
Message:

Docs: Replace "sanity" with "confidence" for inclusive language.

The phrase "sanity check" unnecessarily references mental health. It's an old phrase used to denote an extra step in verifying code works as expected.

“The WordPress open source community cares about diversity. We strive to maintain a welcoming environment where everyone can feel included.”

While "sanity check" is a well-known phrase with a specific meaning, "confidence check" is a direct replacement that is more clear of its intent while being more inclusive.

Words matter.

Follow-up to [49216], [46271], [40583], [38832], [38637], [37409], [33359], [32162], [30346], [30345], [30238], [30055], [29902], [28763], [26141], [25002], [22227], [13428], [12148], [11025], [8927].

Props dartiss, hellofromTonya.
Fixes #60187.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/post.php

    r56421 r57239  
    330330        stick_post( $post->ID );
    331331
    332         // Sanity check.
     332        // Confidence check.
    333333        $this->assertTrue( is_sticky( $post->ID ) );
    334334
    335335        wp_set_current_user( self::$grammarian_id );
    336336
    337         // Sanity check.
     337        // Confidence check.
    338338        $this->assertFalse( current_user_can( 'publish_posts' ) );
    339339        $this->assertTrue( current_user_can( 'edit_others_posts' ) );
     
    368368        stick_post( $post->ID );
    369369
    370         // Sanity check.
     370        // Confidence check.
    371371        $this->assertTrue( is_sticky( $post->ID ) );
    372372
    373373        wp_set_current_user( self::$grammarian_id );
    374374
    375         // Sanity check.
     375        // Confidence check.
    376376        $this->assertFalse( current_user_can( 'publish_posts' ) );
    377377        $this->assertTrue( current_user_can( 'edit_others_posts' ) );
Note: See TracChangeset for help on using the changeset viewer.