WordPress.org

Make WordPress Core

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#10866 closed defect (bug) (fixed)

mysql2date: wrong parameter order in wp-admin/includes/media.php

Reported by: fabifott Owned by:
Milestone: 2.9 Priority: normal
Severity: normal Version: 2.8.4
Component: Administration Keywords: mysql2date media.php has-patch
Focuses: Cc:

Description

In wp-admin/includes/media.php:1185 function get_media_item the parameters of mysql2date are in the wrong order:

<tr><td>" . mysql2date($post->post_date, get_option('time_format')) . "</td></tr>

Attachments (1)

mysql2date.typo.10866.diff (608 bytes) - added by filosofo 11 years ago.

Download all attachments as: .zip

Change History (5)

#1 @sudar
11 years ago

  • Cc sudar@… added

#2 @filosofo
11 years ago

  • Keywords has-patch added

I was about to create a ticket for this, but discovered your ticket.

#3 @ryan
11 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [11989]) Pass args to mysql2date() in the correct order. Props filosofo, fabifott. fixes #10866

#4 @ryan
11 years ago

  • Milestone changed from Unassigned to 2.9
Note: See TracTickets for help on using tickets.