Making WordPress.org


Ignore:
Timestamp:
09/11/2013 08:36:35 PM (13 years ago)
Author:
Otto42
Message:

Correct function call to has_post_thumbnail

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-makehome/masthead.php

    r80 r81  
    44                <hgroup <?php post_class( 'wrap' ); ?>>
    55                        <?php
    6                                 if ( have_post_thumbnail() ) {
     6                                if ( has_post_thumbnail() ) {
    77                                        the_post_thumbnail( array( 400, 200 ) );
    88                                }
Note: See TracChangeset for help on using the changeset viewer.