Make WordPress Core


Ignore:
Timestamp:
11/23/2022 03:41:39 PM (3 years ago)
Author:
SergeyBiryukov
Message:

Docs: Revise comments using “we” in WordPress root directory files.

This updates some inline comments to better match the guidelines and recommendations set forth in the make/core and make/docs handbooks:

In general, use second person in your documentation. Second person depicts a friendly tone, with a perfect focus on the reader. In addition to this, directly addressing the reader helps avoid passive voice; thereby preventing unwanted confusion.
...
the word “we” should be avoided (...) unless its made very clear which group is speaking.

Includes:

  • Replacing first-person usage of "we" with second person point of view.
  • Making small clarification adjustments where the voice is much too casual or lacks clear context, especially for non-native English speakers.

References:

Follow-up to [2176], [3430], [4676], [6009], [7991], [12688], [12762], [26008], [28978], [44488], [44962], [51979], [53131], [53132], [53156], [53131], [54200].

Props ironprogrammer, costdev, jorbin, SergeyBiryukov.
See #57052.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-load.php

    r54200 r54866  
    6969    $path = wp_guess_url() . '/wp-admin/setup-config.php';
    7070
    71     /*
    72      * We're going to redirect to setup-config.php. While this shouldn't result
    73      * in an infinite loop, that's a silly thing to assume, don't you think? If
    74      * we're traveling in circles, our last-ditch effort is "Need more help?"
    75      */
     71    // Redirect to setup-config.php.
    7672    if ( false === strpos( $_SERVER['REQUEST_URI'], 'setup-config' ) ) {
    7773        header( 'Location: ' . $path );
Note: See TracChangeset for help on using the changeset viewer.