WordPress.org

Make WordPress Core

Ticket #48303: 46644.patch

File 46644.patch, 1.1 KB (added by Marcio Zebedeu, 13 months ago)

Corrected array hash notations

  • wp-admin/includes/image.php

     
    247247         * @param array  $imagesize     {
    248248         *     Indexed array of the image width and height in pixels.
    249249         *
    250          *     @type int $0 The image width.
    251          *     @type int $1 The image height.
     250         *     @type int $width The image width.
     251         *     @type int $height The image height.
    252252         * }
    253253         * @param string $file          Full path to the uploaded image file.
    254254         * @param int    $attachment_id Attachment post ID.
  • wp-includes/embed.php

     
    7979         * @param array  $size {
    8080         *     Indexed array of the embed width and height in pixels.
    8181         *
    82          *     @type int $0 The embed width.
    83          *     @type int $1 The embed height.
     82         *     @type int $width The embed width.
     83         *     @type int $height The embed height.
    8484         * }
    8585         * @param string $url  The URL that should be embedded.
    8686         */