Changeset 57648 for trunk/src/wp-includes/embed.php
- Timestamp:
- 02/17/2024 03:22:37 PM (8 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/embed.php
r56682 r57648 74 74 } 75 75 76 $height = min( ceil( $width * 1.5 ), 1000 );76 $height = min( (int) ceil( $width * 1.5 ), 1000 ); 77 77 78 78 /** … … 578 578 579 579 $width = min( max( $min_max_width['min'], $width ), $min_max_width['max'] ); 580 $height = max( ceil( $width / 16 * 9 ), 200 );580 $height = max( (int) ceil( $width / 16 * 9 ), 200 ); 581 581 582 582 $data = array(
Note: See TracChangeset
for help on using the changeset viewer.