Changeset 51302
- Timestamp:
- 07/01/2021 10:01:44 PM (4 years ago)
- Location:
- trunk/src
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/image-edit.php
r51177 r51302 374 374 * @deprecated 3.5.0 Use {@see 'wp_save_image_editor_file'} instead. 375 375 * 376 * @param mixed$override Value to return instead of saving. Default null.377 * @param string $filename Name of the file to be saved.378 * @param WP_Image_Editor$image The image editor instance.379 * @param string $mime_type The mime type of the image.380 * @param int $post_id Attachment post ID.376 * @param bool|null $override Value to return instead of saving. Default null. 377 * @param string $filename Name of the file to be saved. 378 * @param resource|GdImage $image The image editor instance. 379 * @param string $mime_type The mime type of the image. 380 * @param int $post_id Attachment post ID. 381 381 */ 382 382 $saved = apply_filters_deprecated( -
trunk/src/wp-admin/includes/media.php
r51230 r51302 716 716 * @since 2.5.0 717 717 * 718 * @return mixed void|object WP_Error on failure718 * @return null|array|void Array of error messages keyed by attachment ID, null or void on success. 719 719 */ 720 720 function media_upload_form_handler() { -
trunk/src/wp-admin/includes/post.php
r51116 r51302 979 979 * @global wpdb $wpdb WordPress database abstraction object. 980 980 * 981 * @return mixed981 * @return string[] Array of meta key names. 982 982 */ 983 983 function get_meta_keys() { … … 1014 1014 * @global wpdb $wpdb WordPress database abstraction object. 1015 1015 * 1016 * @param int $postid 1017 * @return mixed 1016 * @param int $postid A post ID. 1017 * @return array { 1018 * Array of meta data arrays for the given post ID. 1019 * 1020 * @type array ...$0 { 1021 * Associative array of meta data. 1022 * 1023 * @type string $meta_key Meta key. 1024 * @type mixed $meta_value Meta value. 1025 * @type string $meta_id Meta ID as a numeric string. 1026 * @type string $post_id Post ID as a numeric string. 1027 * } 1028 * } 1018 1029 */ 1019 1030 function has_meta( $postid ) { -
trunk/src/wp-admin/includes/taxonomy.php
r49927 r51302 20 20 * @param int|string $cat_name Category name. 21 21 * @param int $parent Optional. ID of parent term. 22 * @return mixed22 * @return string|null Returns the category ID as a numeric string if the pairing exists, null if not. 23 23 */ 24 24 function category_exists( $cat_name, $parent = null ) { … … 216 216 * 217 217 * @param int|string $tag_name 218 * @return mixed 218 * @return mixed Returns null if the term does not exist. 219 * Returns an array of the term ID and the term taxonomy ID if the pairing exists. 220 * Returns 0 if term ID 0 is passed to the function. 219 221 */ 220 222 function tag_exists( $tag_name ) { -
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-search-controller.php
r51000 r51302 51 51 * 52 52 * @since 5.0.0 53 * @var array53 * @var WP_REST_Search_Handler[] 54 54 */ 55 55 protected $search_handlers = array();
Note: See TracChangeset
for help on using the changeset viewer.