Make WordPress Core

Ticket #34522: 34522.diff

File 34522.diff, 722 bytes (added by swissspidy, 10 years ago)
  • src/wp-includes/embed-functions.php

    diff --git src/wp-includes/embed-functions.php src/wp-includes/embed-functions.php
    index ba8b08d..0a3bf18 100644
    function wp_embed_defaults( $url = '' ) { 
    7474         *
    7575         * @since 2.9.0
    7676         *
    77          * @param int    $width  Width of the embed in pixels.
    78          * @param int    $height Height of the embed in pixels.
    79          * @param string $url    The URL that should be embedded.
     77         * @param array  $size An array of embed width and height values
     78         *                     in pixels (in that order).
     79         * @param string $url  The URL that should be embedded.
    8080         */
    8181        return apply_filters( 'embed_defaults', compact( 'width', 'height' ), $url );
    8282}