Changes between Initial Version and Version 1 of Ticket #36996, comment 10
- Timestamp:
- 12/15/2016 10:38:46 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #36996, comment 10
initial v1 6 6 <?php 7 7 if ( is_array( $size ) ) { 8 $size = '$size[0]x$size[1]';9 $classes = 'attachment- $size size-$size';8 $size = "$size[0]x$size[1]"; 9 $classes = 'attachment-' . $size . ' size-' . $size; 10 10 } else { 11 11 $classes = 'attachment-' . $size . ' size-' . $size;