Changeset 31099
- Timestamp:
- 01/08/2015 09:11:46 PM (10 years ago)
- Location:
- trunk/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/image.php
r30458 r31099 321 321 $meta['credit'] = trim( $iptc['2#080'][0] ); 322 322 323 if ( ! empty( $iptc['2#055'][0] ) and! empty( $iptc['2#060'][0] ) ) // created date and time323 if ( ! empty( $iptc['2#055'][0] ) && ! empty( $iptc['2#060'][0] ) ) // created date and time 324 324 $meta['created_timestamp'] = strtotime( $iptc['2#055'][0] . ' ' . $iptc['2#060'][0] ); 325 325 -
trunk/src/wp-includes/media.php
r31090 r31099 360 360 */ 361 361 function wp_constrain_dimensions( $current_width, $current_height, $max_width=0, $max_height=0 ) { 362 if ( !$max_width and!$max_height )362 if ( !$max_width && !$max_height ) 363 363 return array( $current_width, $current_height ); 364 364 -
trunk/src/wp-includes/shortcodes.php
r30545 r31099 312 312 elseif (!empty($m[5])) 313 313 $atts[strtolower($m[5])] = stripcslashes($m[6]); 314 elseif (isset($m[7]) andstrlen($m[7]))314 elseif (isset($m[7]) && strlen($m[7])) 315 315 $atts[] = stripcslashes($m[7]); 316 316 elseif (isset($m[8]))
Note: See TracChangeset
for help on using the changeset viewer.