Make WordPress Core

Changeset 52215


Ignore:
Timestamp:
11/19/2021 02:42:04 PM (3 years ago)
Author:
desrosj
Message:

Docs: Remove instances of the “eg.” abbreviation in favor of “example” or “for example”.

See #53330.

Location:
trunk/src
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-posts-list-table.php

    r52092 r52215  
    818818
    819819        /*
    820          * Arrange pages into two parts: top level pages and children_pages
    821          * children_pages is two dimensional array, eg.
     820         * Arrange pages into two parts: top level pages and children_pages.
     821         * children_pages is two dimensional array. Example:
    822822         * children_pages[10][] contains all sub-pages whose parent is 10.
    823823         * It only takes O( N ) to arrange this and it takes O( 1 ) for subsequent lookup operations
  • trunk/src/wp-admin/includes/schema.php

    r51660 r52215  
    965965 *
    966966 * @param int    $network_id        ID of network to populate.
    967  * @param string $domain            The domain name for the network (eg. "example.com").
     967 * @param string $domain            The domain name for the network. Example: "example.com".
    968968 * @param string $email             Email address for the network administrator.
    969969 * @param string $site_name         The name of the network.
  • trunk/src/wp-includes/class-wp-http-proxy.php

    r48184 r52215  
    2626 * <li>WP_PROXY_BYPASS_HOSTS - Will prevent the hosts in this list from going through the proxy.
    2727 * You do not need to have localhost and the site host in this list, because they will not be passed
    28  * through the proxy. The list should be presented in a comma separated list, wildcards using * are supported, eg. *.wordpress.org</li>
     28 * through the proxy. The list should be presented in a comma separated list, wildcards using * are supported. Example: *.wordpress.org</li>
    2929 * </ol>
    3030 *
  • trunk/src/wp-includes/class-wp-post-type.php

    r51965 r52215  
    118118     *
    119119     * To work, $show_ui must be true. If true, the post type is shown in its own top level menu. If false, no menu is
    120      * shown. If a string of an existing top level menu (eg. 'tools.php' or 'edit.php?post_type=page'), the post type
    121      * will be placed as a sub-menu of that.
     120     * shown. If a string of an existing top level menu ('tools.php' or 'edit.php?post_type=page', for example), the
     121     * post type will be placed as a sub-menu of that.
    122122     *
    123123     * Default is the value of $show_ui.
  • trunk/src/wp-includes/class-wp-walker.php

    r51780 r52215  
    210210         * Need to display in hierarchical order.
    211211         * Separate elements into two buckets: top level and children elements.
    212          * Children_elements is two dimensional array, eg.
     212         * Children_elements is two dimensional array. Example:
    213213         * Children_elements[10][] contains all sub-elements whose parent is 10.
    214214         */
  • trunk/src/wp-includes/customize/class-wp-customize-date-time-control.php

    r51534 r52215  
    218218     *     Timezone info. All properties are optional.
    219219     *
    220      *     @type string $abbr        Timezone abbreviation, eg. PST or CEST.
     220     *     @type string $abbr        Timezone abbreviation. Examples: PST or CEST.
    221221     *     @type string $description Human-readable timezone description as HTML.
    222222     * }
  • trunk/src/wp-includes/functions.php

    r52204 r52215  
    27012701     *
    27022702     * @param string        $filename                 Unique file name.
    2703      * @param string        $ext                      File extension, eg. ".png".
     2703     * @param string        $ext                      File extension. Example: ".png".
    27042704     * @param string        $dir                      Directory path.
    27052705     * @param callable|null $unique_filename_callback Callback function that generates the unique file name.
  • trunk/src/wp-includes/link-template.php

    r52205 r52215  
    11141114     * @param int    $term_id     Term ID.
    11151115     * @param string $taxonomy    Taxonomy name.
    1116      * @param string $object_type The object type (eg. the post type).
     1116     * @param string $object_type The object type.
    11171117     */
    11181118    return apply_filters( 'get_edit_term_link', $location, $term_id, $taxonomy, $object_type );
  • trunk/src/wp-includes/post.php

    r52194 r52215  
    15621562 *                                               must be true. If true, the post type is shown in its own top level
    15631563 *                                               menu. If false, no menu is shown. If a string of an existing top
    1564  *                                               level menu (eg. 'tools.php' or 'edit.php?post_type=page'), the post
    1565  *                                               type will be placed as a sub-menu of that.
     1564 *                                               level menu ('tools.php' or 'edit.php?post_type=page', for example), the
     1565 *                                               post type will be placed as a sub-menu of that.
    15661566 *                                               Default is value of $show_ui.
    15671567 *     @type bool         $show_in_nav_menus     Makes this post type available for selection in navigation menus.
Note: See TracChangeset for help on using the changeset viewer.