WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

Last modified 5 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 5 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 sudar5 years ago

  • Cc sudar@… added

comment:2 filosofo5 years ago

  • Keywords has-patch added

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

comment:3 ryan5 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

comment:4 ryan5 years ago

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