WordPress.org

Make WordPress Core

Ticket #10866: mysql2date.typo.10866.diff

File mysql2date.typo.10866.diff, 608 bytes (added by filosofo, 5 years ago)
  • wp-admin/includes/media.php

     
    11821182                        <td>$filename</td> 
    11831183                </tr> 
    11841184                <tr><td>$post->post_mime_type</td></tr> 
    1185                 <tr><td>" . mysql2date($post->post_date, get_option('time_format')) . "</td></tr> 
     1185                <tr><td>" . mysql2date(get_option('time_format'), $post->post_date) . "</td></tr> 
    11861186                <tr><td>" . apply_filters('media_meta', $media_dims, $post) . "</td></tr> 
    11871187                <tr><td class='A1B1'>$image_edit_button</td></tr> 
    11881188                </thead>