Making WordPress.org

Changeset 10465


Ignore:
Timestamp:
11/25/2020 04:58:40 AM (4 years ago)
Author:
dd32
Message:

WordPress.tv: Fix a variable typo.

See #5512.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.tv/public_html/wp-content/themes/wptv2/functions.php

    r10464 r10465  
    193193                'description'      => get_the_excerpt(),
    194194                'duration'         => gmdate( '\P0\D\TH\Hi\Ms\S', $video->duration ), // 1970-01-01 + duration
    195                 'height'           => $vid->height ?? 530,
     195                'height'           => $video->height ?? 530,
    196196                'inLanguage'       => $lang,
    197197                'isFamilyFriendly' => ( 'G' === $video->rating || 'PG' === $video->rating ),
     
    199199                'thumbnailUrl'     => $this->get_the_video_image(),
    200200                'uploadDate'       => gmdate( 'Y-m-d', strtotime( get_the_date() ) ),
    201                 'width'            => $vid->width ?? 940,
     201                'width'            => $video->width ?? 940,
    202202            ];
    203203
Note: See TracChangeset for help on using the changeset viewer.