Make WordPress Core


Ignore:
Timestamp:
08/22/2017 11:11:23 AM (9 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-gd.php

    r41162 r41288  
    430430         * @since 3.5.0
    431431         *
    432          * @param string $mime_type
    433          * @return bool
     432         * @param string $mime_type The mime type of the image.
     433         * @return bool True on success, false on failure.
    434434         */
    435435        public function stream( $mime_type = null ) {
Note: See TracChangeset for help on using the changeset viewer.