Making WordPress.org

Changeset 8332


Ignore:
Timestamp:
02/22/2019 08:53:48 PM (7 years ago)
Author:
iandunn
Message:

WordCamp Base: Set default value to avoid notice.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordcamp.org/public_html/wp-content/themes/wordcamp-base-v2/image.php

    r3275 r8332  
    2626                                                                        esc_html( get_the_date() ),
    2727                                                                        wp_get_attachment_url(),
    28                                                                         $metadata['width'],
    29                                                                         $metadata['height'],
     28                                                                        $metadata['width']  ?? 0,
     29                                                                        $metadata['height'] ?? 0,
    3030                                                                        get_permalink( $post->post_parent ),
    3131                                                                        get_the_title( $post->post_parent )
Note: See TracChangeset for help on using the changeset viewer.