Make WordPress Core


Ignore:
Timestamp:
12/08/2020 11:49:23 AM (4 years ago)
Author:
SergeyBiryukov
Message:

Docs: Fix typo in references to WP_Error in some DocBlocks.

See #51800.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/media.php

    r49751 r49769  
    35063506 * @param int $width  Image width in pixels.
    35073507 * @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.
    35093510 */
    35103511function wp_imagecreatetruecolor( $width, $height ) {
     
    35793580 * @param array  $args Optional. Additional arguments for retrieving the image editor.
    35803581 *                     Default empty array.
    3581  * @return WP_Image_Editor|WP_Error The WP_Image_Editor object if successful, an WP_Error
    3582  *                                  object otherwise.
     3582 * @return WP_Image_Editor|WP_Error The WP_Image_Editor object on success,
     3583 *                                  a WP_Error object otherwise.
    35833584 */
    35843585function wp_get_image_editor( $path, $args = array() ) {
     
    36313632 *
    36323633 * @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 no
    3634  *                     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.
    36353636 */
    36363637function _wp_image_editor_choose( $args = array() ) {
Note: See TracChangeset for help on using the changeset viewer.