Ticket #11101: 11101.2.diff
| File 11101.2.diff, 713 bytes (added by , 15 years ago) |
|---|
-
wp-includes/media.php
818 818 $itemtag = tag_escape($itemtag); 819 819 $captiontag = tag_escape($captiontag); 820 820 $columns = intval($columns); 821 $itemwidth = $columns > 0 ? floor(100/$columns) : 100;821 $itemwidth = $columns > 0 ? round(100/$columns,2) : 100; 822 822 $float = is_rtl() ? 'right' : 'left'; 823 823 824 824 $selector = "gallery-{$instance}"; … … 1405 1405 require_once( ABSPATH . WPINC . '/class-oembed.php' ); 1406 1406 $oembed = _wp_oembed_get_object(); 1407 1407 $oembed->providers[$format] = array( $provider, $regex ); 1408 } 1409 No newline at end of file 1408 }