- Timestamp:
- 09/04/2020 08:39:47 PM (4 years ago)
- Location:
- trunk/src
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-comments-list-table.php
r48741 r48941 473 473 474 474 /** 475 * Displays a comment statusdrop-down for filtering on the Comments list table.475 * Displays a comment type drop-down for filtering on the Comments list table. 476 476 * 477 477 * @since 5.5.0 … … 481 481 protected function comment_status_dropdown( $comment_type ) { 482 482 /** 483 * Filters the comment types dropdown menu.483 * Filters the comment types shown in the drop-down menu on the Comments list table. 484 484 * 485 485 * @since 2.7.0 486 486 * 487 * @param array $comment_types An array of comment types. Accepts 'Comments', 'Pings'.487 * @param string[] $comment_types Array of comment type labels keyed by their name. 488 488 */ 489 489 $comment_types = apply_filters( -
trunk/src/wp-admin/media-upload.php
r47785 r48941 74 74 * @since 2.5.0 75 75 * 76 * @param string $t ypeThe default media popup tab. Default 'type' (From Computer).76 * @param string $tab The default media popup tab. Default 'type' (From Computer). 77 77 */ 78 78 $tab = apply_filters( 'media_upload_default_tab', 'type' ); -
trunk/src/wp-includes/category-template.php
r48623 r48941 1154 1154 * 1155 1155 * @param int $post_id Post ID. 1156 * @return array|false|WP_Error Array of tag objects on success, false on failure. 1156 * @return WP_Term[]|false|WP_Error Array of WP_Term objects on success, false if there are no terms 1157 * or the post does not exist, WP_Error on failure. 1157 1158 */ 1158 1159 function get_the_tags( $post_id = 0 ) { … … 1166 1167 * @see get_the_terms() 1167 1168 * 1168 * @param WP_Term[] $terms An array of tags for the given post. 1169 * @param WP_Term[]|false|WP_Error $terms Array of WP_Term objects on success, false if there are no terms 1170 * or the post does not exist, WP_Error on failure. 1169 1171 */ 1170 1172 return apply_filters( 'get_the_tags', $terms ); -
trunk/src/wp-includes/class-wp-comment.php
r47597 r48941 18 18 * Comment ID. 19 19 * 20 * @since 4.4.0 21 * @var int 20 * A numeric string, for compatibility reasons. 21 * 22 * @since 4.4.0 23 * @var string 22 24 */ 23 25 public $comment_ID; … … 26 28 * ID of the post the comment is associated with. 27 29 * 28 * @since 4.4.0 29 * @var int 30 * A numeric string, for compatibility reasons. 31 * 32 * @since 4.4.0 33 * @var string 30 34 */ 31 35 public $comment_post_ID = 0; … … 90 94 * Comment karma count. 91 95 * 92 * @since 4.4.0 93 * @var int 96 * A numeric string, for compatibility reasons. 97 * 98 * @since 4.4.0 99 * @var string 94 100 */ 95 101 public $comment_karma = 0; … … 123 129 * Parent comment ID. 124 130 * 125 * @since 4.4.0 126 * @var int 131 * A numeric string, for compatibility reasons. 132 * 133 * @since 4.4.0 134 * @var string 127 135 */ 128 136 public $comment_parent = 0; … … 131 139 * Comment author ID. 132 140 * 133 * @since 4.4.0 134 * @var int 141 * A numeric string, for compatibility reasons. 142 * 143 * @since 4.4.0 144 * @var string 135 145 */ 136 146 public $user_id = 0; -
trunk/src/wp-includes/class-wp-post.php
r44914 r48941 15 15 * @property string $page_template 16 16 * 17 * @property-read array$ancestors17 * @property-read int[] $ancestors 18 18 * @property-read int $post_category 19 19 * @property-read string $tag_input -
trunk/src/wp-includes/load.php
r48895 r48941 135 135 * or a constant of the same name. 136 136 * 137 * Possible values include 'local', 'development', 'staging','production'.137 * Possible values are 'local', 'development', 'staging', and 'production'. 138 138 * If not set, the type defaults to 'production'. 139 139 * -
trunk/src/wp-includes/post.php
r48829 r48941 797 797 798 798 /** 799 * Retrieve ancestors of a post.799 * Retrieves the IDs of the ancestors of a post. 800 800 * 801 801 * @since 2.5.0 802 802 * 803 803 * @param int|WP_Post $post Post ID or post object. 804 * @return int[] A ncestor IDs or empty array if none are found.804 * @return int[] Array of ancestor IDs or empty array if there are none. 805 805 */ 806 806 function get_post_ancestors( $post ) { -
trunk/src/wp-includes/taxonomy.php
r48843 r48941 887 887 * Filters a taxonomy term object. 888 888 * 889 * The {@see 'get_$taxonomy'} hook is also available for targeting a specific 890 * taxonomy. 891 * 889 892 * @since 2.3.0 890 893 * @since 4.4.0 `$_term` is now a `WP_Term` object. … … 1987 1990 * Fires after a term is deleted from the database and the cache is cleaned. 1988 1991 * 1992 * The {@see 'delete_$taxonomy'} hook is also available for targeting a specific 1993 * taxonomy. 1994 * 1989 1995 * @since 2.5.0 1990 1996 * @since 4.5.0 Introduced the `$object_ids` argument. … … 1993 1999 * @param int $tt_id Term taxonomy ID. 1994 2000 * @param string $taxonomy Taxonomy slug. 1995 * @param mixed $deleted_term Copy of the already-deleted term, in the form specified 1996 * by the parent function. WP_Error otherwise. 2001 * @param WP_Term $deleted_term Copy of the already-deleted term. 1997 2002 * @param array $object_ids List of term object IDs. 1998 2003 */ … … 2010 2015 * @param int $term Term ID. 2011 2016 * @param int $tt_id Term taxonomy ID. 2012 * @param mixed $deleted_term Copy of the already-deleted term, in the form specified 2013 * by the parent function. WP_Error otherwise. 2017 * @param WP_Term $deleted_term Copy of the already-deleted term. 2014 2018 * @param array $object_ids List of term object IDs. 2015 2019 */ … … 2182 2186 * @param string $taxonomy The taxonomy to which to add the term. 2183 2187 * @param array|string $args { 2184 * Optional. Array or string of arguments for inserting a term.2188 * Optional. Array or query string of arguments for inserting a term. 2185 2189 * 2186 2190 * @type string $alias_of Slug of the term to make this term an alias of. … … 3105 3109 3106 3110 /** 3107 * Fires immediately after the given terms are edited. 3111 * Fires immediately after a term is updated in the database, but before its 3112 * term-taxonomy relationship is updated. 3108 3113 * 3109 3114 * @since 2.9.0 … … 3138 3143 /** 3139 3144 * Fires after a term has been updated, but before the term cache has been cleaned. 3145 * 3146 * The {@see 'edit_$taxonomy'} hook is also available for targeting a specific 3147 * taxonomy. 3140 3148 * 3141 3149 * @since 2.3.0 … … 3167 3175 /** 3168 3176 * Fires after a term has been updated, and the term cache has been cleaned. 3177 * 3178 * The {@see 'edited_$taxonomy'} hook is also available for targeting a specific 3179 * taxonomy. 3169 3180 * 3170 3181 * @since 2.3.0
Note: See TracChangeset
for help on using the changeset viewer.