Make WordPress Core

Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#10866 closed defect (bug) (fixed)

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

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

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 17 years ago.

Download all attachments as: .zip

Change History (5)

#1 @sudar
17 years ago

  • Cc sudar@… added

#2 @filosofo
17 years ago

  • Keywords has-patch added

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

#3 @ryan
17 years ago

  • Resolution → fixed
  • Status new → closed

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

#4 @ryan
17 years ago

  • Milestone Unassigned → 2.9
Note: See TracTickets for help on using tickets.