WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/22/2016 06:00:23 PM (5 years ago)
Author:
DrewAPicture
Message:

Docs: Standardize hook docs in wp-admin/* to use third-person singular verbs per the inline documentation standards for PHP.

See #36913.

File:
1 edited

Legend:

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

    r36970 r37488  
    108108
    109109        /**
    110          * Filter the image sizes automatically generated when uploading an image.
     110         * Filters the image sizes automatically generated when uploading an image.
    111111         *
    112112         * @since 2.9.0
     
    175175                );
    176176                /**
    177                  * Filter the parameters for the attachment thumbnail creation.
     177                 * Filters the parameters for the attachment thumbnail creation.
    178178                 *
    179179                 * @since 3.9.0
     
    200200
    201201    /**
    202      * Filter the generated attachment meta data.
     202     * Filters the generated attachment meta data.
    203203     *
    204204     * @since 2.1.0
     
    338338
    339339    /**
    340      * Filter the image types to check for exif data.
     340     * Filters the image types to check for exif data.
    341341     *
    342342     * @since 2.5.0
     
    418418
    419419    /**
    420      * Filter the array of meta data read from an image's exif data.
     420     * Filters the array of meta data read from an image's exif data.
    421421     *
    422422     * @since 2.5.0
     
    466466
    467467    /**
    468      * Filter whether the current image is displayable in the browser.
     468     * Filters whether the current image is displayable in the browser.
    469469     *
    470470     * @since 2.5.0
     
    507507    if ( is_resource($image) ) {
    508508        /**
    509          * Filter the current image being loaded for editing.
     509         * Filters the current image being loaded for editing.
    510510         *
    511511         * @since 2.9.0
     
    543543        if ( 'full' != $size && ( $data = image_get_intermediate_size( $attachment_id, $size ) ) ) {
    544544            /**
    545              * Filter the path to the current image.
     545             * Filters the path to the current image.
    546546             *
    547547             * The filter is evaluated for all image sizes except 'full'.
     
    557557    } elseif ( function_exists( 'fopen' ) && function_exists( 'ini_get' ) && true == ini_get( 'allow_url_fopen' ) ) {
    558558        /**
    559          * Filter the image URL if not in the local filesystem.
     559         * Filters the image URL if not in the local filesystem.
    560560         *
    561561         * The filter is only evaluated if fopen is enabled on the server.
     
    571571
    572572    /**
    573      * Filter the returned path or URL of the current image.
     573     * Filters the returned path or URL of the current image.
    574574     *
    575575     * @since 2.9.0
Note: See TracChangeset for help on using the changeset viewer.