Changeset 49769
- Timestamp:
- 12/08/2020 11:49:23 AM (4 years ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/media.php
r49751 r49769 3506 3506 * @param int $width Image width in pixels. 3507 3507 * @param int $height Image height in pixels. 3508 * @return resource|GdImage|false The GD image resource or GdImage instance on success. False on failure. 3508 * @return resource|GdImage|false The GD image resource or GdImage instance on success. 3509 * False on failure. 3509 3510 */ 3510 3511 function wp_imagecreatetruecolor( $width, $height ) { … … 3579 3580 * @param array $args Optional. Additional arguments for retrieving the image editor. 3580 3581 * Default empty array. 3581 * @return WP_Image_Editor|WP_Error The WP_Image_Editor object if successful, an WP_Error3582 * object otherwise.3582 * @return WP_Image_Editor|WP_Error The WP_Image_Editor object on success, 3583 * a WP_Error object otherwise. 3583 3584 */ 3584 3585 function wp_get_image_editor( $path, $args = array() ) { … … 3631 3632 * 3632 3633 * @param array $args Optional. Array of arguments for choosing a capable editor. Default empty array. 3633 * @return string|false Class name for the first editor that claims to support the request. False if no3634 * editor claims to support the request.3634 * @return string|false Class name for the first editor that claims to support the request. 3635 * False if no editor claims to support the request. 3635 3636 */ 3636 3637 function _wp_image_editor_choose( $args = array() ) { -
trunk/src/wp-includes/taxonomy.php
r49693 r49769 725 725 * Retrieve object_ids of valid taxonomy and term. 726 726 * 727 * The strings of $taxonomies must exist before this function will continue. On728 * failure of finding a valid taxonomy, it will return an WP_Error class, kind729 * of like Exceptions in PHP 5, except you can't catch them. Even so, you can730 * still test for the WP_Error class and get the error message.727 * The strings of $taxonomies must exist before this function will continue. 728 * On failure of finding a valid taxonomy, it will return a WP_Error class, 729 * kind of like Exceptions in PHP 5, except you can't catch them. Even so, 730 * you can still test for the WP_Error class and get the error message. 731 731 * 732 732 * The $terms aren't checked the same as $taxonomies, but still need to exist
Note: See TracChangeset
for help on using the changeset viewer.