Changeset 52357
- Timestamp:
- 12/12/2021 02:51:34 PM (3 years ago)
- Location:
- trunk/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/image.php
r52332 r52357 223 223 * 224 224 * @param string $file Full path to the image file. 225 * @param int $attachment_id Attachment I dto process.225 * @param int $attachment_id Attachment ID to process. 226 226 * @return array The image attachment meta data. 227 227 */ … … 381 381 * @param string $file Full path to the image file. 382 382 * @param array $image_meta The attachment meta data array. 383 * @param int $attachment_id Attachment I dto process.383 * @param int $attachment_id Attachment ID to process. 384 384 * @return array The attachment meta data with updated `sizes` array. Includes an array of errors encountered while resizing. 385 385 */ … … 471 471 * @since 2.1.0 472 472 * 473 * @param int $attachment_id Attachment I dto process.474 * @param string $file Filepath of the Attached image.473 * @param int $attachment_id Attachment ID to process. 474 * @param string $file Filepath of the attached image. 475 475 * @return array Metadata for attachment. 476 476 */ -
trunk/src/wp-includes/class-wp-block-template.php
r52355 r52357 39 39 40 40 /** 41 * I d.41 * ID. 42 42 * 43 43 * @since 5.8.0 … … 89 89 90 90 /** 91 * Post I d.91 * Post ID. 92 92 * 93 93 * @since 5.8.0 -
trunk/src/wp-includes/link-template.php
r52258 r52357 3988 3988 * 3989 3989 * @param int $id Optional. A post or site ID. Default is 0, which means the current post or site. 3990 * @param string $context Optional. Whether the ID is a 'site' id, 'post' id, or 'media' id. If 'post',3990 * @param string $context Optional. Whether the ID is a 'site' ID, 'post' ID, or 'media' ID. If 'post', 3991 3991 * the post_type of the post is consulted. If 'query', the current query is consulted 3992 3992 * to determine the ID and context. Default 'post'. -
trunk/src/wp-includes/taxonomy.php
r52332 r52357 1143 1143 * @since 2.3.0 1144 1144 * 1145 * @param int $term_id ID of Term to get children.1146 * @param string $taxonomy Taxonomy Name.1145 * @param int $term_id ID of term to get children. 1146 * @param string $taxonomy Taxonomy name. 1147 1147 * @return array|WP_Error List of Term IDs. WP_Error returned if `$taxonomy` does not exist. 1148 1148 */ … … 1187 1187 * @param string $field Term field to fetch. 1188 1188 * @param int|WP_Term $term Term ID or object. 1189 * @param string $taxonomy Optional. Taxonomy Name. Default empty.1189 * @param string $taxonomy Optional. Taxonomy name. Default empty. 1190 1190 * @param string $context Optional. How to sanitize term fields. Look at sanitize_term_field() for available options. 1191 1191 * Default 'display'. … … 1687 1687 * @param string $value Search for this term value. 1688 1688 * @param int $term_id Term ID. 1689 * @param string $taxonomy Taxonomy Name.1689 * @param string $taxonomy Taxonomy name. 1690 1690 * @param string $context Context in which to sanitize the term field. 1691 1691 * Accepts 'raw', 'edit', 'db', 'display', 'rss', … … 1910 1910 * @since 2.3.0 1911 1911 * 1912 * @param int $object_id The term Object Idthat refers to the term.1913 * @param string|array $taxonomies List of Taxonomy Names or single Taxonomy name.1912 * @param int $object_id The term object ID that refers to the term. 1913 * @param string|array $taxonomies List of taxonomy names or single taxonomy name. 1914 1914 */ 1915 1915 function wp_delete_object_term_relationships( $object_id, $taxonomies ) { … … 1940 1940 * 1941 1941 * @param int $term Term ID. 1942 * @param string $taxonomy Taxonomy Name.1942 * @param string $taxonomy Taxonomy name. 1943 1943 * @param array|string $args { 1944 1944 * Optional. Array of arguments to override the default term ID. Default empty array. … … 2006 2006 * 2007 2007 * @param int $term Term ID. 2008 * @param string $taxonomy Taxonomy Name.2008 * @param string $taxonomy Taxonomy name. 2009 2009 */ 2010 2010 do_action( 'pre_delete_term', $term, $taxonomy );
Note: See TracChangeset
for help on using the changeset viewer.