mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-30 20:21:37 +01:00
Docs: Remove instances of the “eg.” abbreviation in favor of “example” or “for example”.
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
This commit is contained in:
parent
b0b9e23c70
commit
9d86fba4db
@ -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
|
||||
|
@ -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 '/'.
|
||||
|
@ -25,7 +25,7 @@
|
||||
* <li>WP_PROXY_PASSWORD - Proxy password, if it requires authentication.</li>
|
||||
* <li>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</li>
|
||||
* through the proxy. The list should be presented in a comma separated list, wildcards using * are supported. Example: *.wordpress.org</li>
|
||||
* </ol>
|
||||
*
|
||||
* An example can be as seen below.
|
||||
|
@ -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.
|
||||
*
|
||||
|
@ -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();
|
||||
|
@ -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.
|
||||
* }
|
||||
*/
|
||||
|
@ -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.
|
||||
|
@ -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 );
|
||||
}
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user