Make WordPress Core


Ignore:
Timestamp:
01/08/2015 09:11:46 PM (11 years ago)
Author:
wonderboymusic
Message:

Use && instead of and in the 3 places where and was used.

See #30799.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/image.php

    r30458 r31099  
    321321                $meta['credit'] = trim( $iptc['2#080'][0] );
    322322
    323             if ( ! empty( $iptc['2#055'][0] ) and ! empty( $iptc['2#060'][0] ) ) // created date and time
     323            if ( ! empty( $iptc['2#055'][0] ) && ! empty( $iptc['2#060'][0] ) ) // created date and time
    324324                $meta['created_timestamp'] = strtotime( $iptc['2#055'][0] . ' ' . $iptc['2#060'][0] );
    325325
Note: See TracChangeset for help on using the changeset viewer.