Changeset 47287 for trunk/src/wp-admin/includes/image.php
- Timestamp:
- 02/14/2020 12:05:43 AM (6 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-admin/includes/image.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/image.php
r47219 r47287 639 639 } 640 640 641 list( $n , $d) = explode( '/', $str );642 if ( ! empty( $d ) ) {643 return $n / $d;641 list( $numerator, $denominator ) = explode( '/', $str ); 642 if ( ! empty( $denominator ) ) { 643 return $numerator / $denominator; 644 644 } 645 645 return $str;
Note: See TracChangeset
for help on using the changeset viewer.