Make WordPress Core


Ignore:
Timestamp:
08/22/2017 11:11:23 AM (7 years ago)
Author:
johnbillion
Message:

Media: Rename several attachment related parameters from $post_id to $attachment_id for clarity, and improve related
documentation.

See #41017

File:
1 edited

Legend:

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

    r41162 r41288  
    165165     * @abstract
    166166     *
    167      * @param string $mime_type
    168      * @return bool|WP_Error
     167     * @param string $mime_type The mime type of the image.
     168     * @return bool|WP_Error True on success, WP_Error object or false on failure.
    169169     */
    170170    abstract public function stream( $mime_type = null );
Note: See TracChangeset for help on using the changeset viewer.