From 9d86fba4db7e76151b711ac7fbb022d413779f12 Mon Sep 17 00:00:00 2001 From: desrosj Date: Fri, 19 Nov 2021 14:44:01 +0000 Subject: [PATCH] =?UTF-8?q?Docs:=20Remove=20instances=20of=20the=20?= =?UTF-8?q?=E2=80=9Ceg.=E2=80=9D=20abbreviation=20in=20favor=20of=20?= =?UTF-8?q?=E2=80=9Cexample=E2=80=9D=20or=20=E2=80=9Cfor=20example?= =?UTF-8?q?=E2=80=9D.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See #53330. Built from https://develop.svn.wordpress.org/trunk@52215 git-svn-id: http://core.svn.wordpress.org/trunk@51807 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/class-wp-posts-list-table.php | 4 ++-- wp-admin/includes/schema.php | 2 +- wp-includes/class-wp-http-proxy.php | 2 +- wp-includes/class-wp-post-type.php | 4 ++-- wp-includes/class-wp-walker.php | 2 +- .../customize/class-wp-customize-date-time-control.php | 2 +- wp-includes/functions.php | 2 +- wp-includes/link-template.php | 2 +- wp-includes/post.php | 4 ++-- wp-includes/version.php | 2 +- 10 files changed, 13 insertions(+), 13 deletions(-) diff --git a/wp-admin/includes/class-wp-posts-list-table.php b/wp-admin/includes/class-wp-posts-list-table.php index a94f5ccc5d..639bed1da4 100644 --- a/wp-admin/includes/class-wp-posts-list-table.php +++ b/wp-admin/includes/class-wp-posts-list-table.php @@ -817,8 +817,8 @@ class WP_Posts_List_Table extends WP_List_Table { } /* - * Arrange pages into two parts: top level pages and children_pages - * children_pages is two dimensional array, eg. + * Arrange pages into two parts: top level pages and children_pages. + * children_pages is two dimensional array. Example: * children_pages[10][] contains all sub-pages whose parent is 10. * It only takes O( N ) to arrange this and it takes O( 1 ) for subsequent lookup operations * If searching, ignore hierarchy and treat everything as top level diff --git a/wp-admin/includes/schema.php b/wp-admin/includes/schema.php index 1bb2c27c45..d7728e2dff 100644 --- a/wp-admin/includes/schema.php +++ b/wp-admin/includes/schema.php @@ -964,7 +964,7 @@ endif; * @global WP_Rewrite $wp_rewrite WordPress rewrite component. * * @param int $network_id ID of network to populate. - * @param string $domain The domain name for the network (eg. "example.com"). + * @param string $domain The domain name for the network. Example: "example.com". * @param string $email Email address for the network administrator. * @param string $site_name The name of the network. * @param string $path Optional. The path to append to the network's domain name. Default '/'. diff --git a/wp-includes/class-wp-http-proxy.php b/wp-includes/class-wp-http-proxy.php index 0f7d96fb8c..71c9abcb40 100644 --- a/wp-includes/class-wp-http-proxy.php +++ b/wp-includes/class-wp-http-proxy.php @@ -25,7 +25,7 @@ *
  • WP_PROXY_PASSWORD - Proxy password, if it requires authentication.
  • *
  • WP_PROXY_BYPASS_HOSTS - Will prevent the hosts in this list from going through the proxy. * You do not need to have localhost and the site host in this list, because they will not be passed - * through the proxy. The list should be presented in a comma separated list, wildcards using * are supported, eg. *.wordpress.org
  • + * through the proxy. The list should be presented in a comma separated list, wildcards using * are supported. Example: *.wordpress.org * * * An example can be as seen below. diff --git a/wp-includes/class-wp-post-type.php b/wp-includes/class-wp-post-type.php index 029bd26fe7..c3b7f20866 100644 --- a/wp-includes/class-wp-post-type.php +++ b/wp-includes/class-wp-post-type.php @@ -117,8 +117,8 @@ final class WP_Post_Type { * Where to show the post type in the admin menu. * * 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 - * shown. If a string of an existing top level menu (eg. 'tools.php' or 'edit.php?post_type=page'), the post type - * will be placed as a sub-menu of that. + * shown. If a string of an existing top level menu ('tools.php' or 'edit.php?post_type=page', for example), the + * post type will be placed as a sub-menu of that. * * Default is the value of $show_ui. * diff --git a/wp-includes/class-wp-walker.php b/wp-includes/class-wp-walker.php index b50c2d7505..44271f42e4 100644 --- a/wp-includes/class-wp-walker.php +++ b/wp-includes/class-wp-walker.php @@ -209,7 +209,7 @@ class Walker { /* * Need to display in hierarchical order. * Separate elements into two buckets: top level and children elements. - * Children_elements is two dimensional array, eg. + * Children_elements is two dimensional array. Example: * Children_elements[10][] contains all sub-elements whose parent is 10. */ $top_level_elements = array(); diff --git a/wp-includes/customize/class-wp-customize-date-time-control.php b/wp-includes/customize/class-wp-customize-date-time-control.php index 607799768c..d391c8c2e4 100644 --- a/wp-includes/customize/class-wp-customize-date-time-control.php +++ b/wp-includes/customize/class-wp-customize-date-time-control.php @@ -217,7 +217,7 @@ class WP_Customize_Date_Time_Control extends WP_Customize_Control { * @return array { * Timezone info. All properties are optional. * - * @type string $abbr Timezone abbreviation, eg. PST or CEST. + * @type string $abbr Timezone abbreviation. Examples: PST or CEST. * @type string $description Human-readable timezone description as HTML. * } */ diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 30446bbe35..424db545b2 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -2700,7 +2700,7 @@ function wp_unique_filename( $dir, $filename, $unique_filename_callback = null ) * @since 5.8.1 The `$alt_filenames` and `$number` parameters were added. * * @param string $filename Unique file name. - * @param string $ext File extension, eg. ".png". + * @param string $ext File extension. Example: ".png". * @param string $dir Directory path. * @param callable|null $unique_filename_callback Callback function that generates the unique file name. * @param string[] $alt_filenames Array of alternate file names that were checked for collisions. diff --git a/wp-includes/link-template.php b/wp-includes/link-template.php index 788cfa6ecd..d3316b0eab 100644 --- a/wp-includes/link-template.php +++ b/wp-includes/link-template.php @@ -1113,7 +1113,7 @@ function get_edit_term_link( $term, $taxonomy = '', $object_type = '' ) { * @param string $location The edit link. * @param int $term_id Term ID. * @param string $taxonomy Taxonomy name. - * @param string $object_type The object type (eg. the post type). + * @param string $object_type The object type. */ return apply_filters( 'get_edit_term_link', $location, $term_id, $taxonomy, $object_type ); } diff --git a/wp-includes/post.php b/wp-includes/post.php index 5a0671ac46..73e188c8c9 100644 --- a/wp-includes/post.php +++ b/wp-includes/post.php @@ -1561,8 +1561,8 @@ function get_post_types( $args = array(), $output = 'names', $operator = 'and' ) * @type bool|string $show_in_menu Where to show the post type in the admin menu. 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 shown. If a string of an existing top - * level menu (eg. 'tools.php' or 'edit.php?post_type=page'), the post - * type will be placed as a sub-menu of that. + * level menu ('tools.php' or 'edit.php?post_type=page', for example), the + * post type will be placed as a sub-menu of that. * Default is value of $show_ui. * @type bool $show_in_nav_menus Makes this post type available for selection in navigation menus. * Default is value of $public. diff --git a/wp-includes/version.php b/wp-includes/version.php index 15114ba833..4c99bfb9d0 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '5.9-alpha-52214'; +$wp_version = '5.9-alpha-52215'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.