WordPress.org

Make WordPress Core

Ticket #39130: 39130.6.patch

File 39130.6.patch, 600 bytes (added by keesiemeijer, 4 years ago)

improvements for /wp-includes/media.php

  • src/wp-includes/media.php

     
    10451045        /**
    10461046         * Let plugins pre-filter the image meta to be able to fix inconsistencies in the stored data.
    10471047         *
     1048         * @since  4.5.0
     1049         *
    10481050         * @param array  $image_meta    The image meta data as returned by 'wp_get_attachment_metadata()'.
    10491051         * @param array  $size_array    Array of width and height values in pixels (in that order).
    10501052         * @param string $image_src     The 'src' of the image.