Make WordPress Core

Opened 12 years ago

Closed 12 years ago

#2542 closed defect (bug) (fixed)

write_post() passes in bad $post_date formats.

Reported by: masquerade Owned by:
Milestone: 2.1 Priority: normal
Severity: normal Version: 2.0
Component: General Keywords: has-patch
Focuses: Cc:


$_POSTpost_date? is set to a string without certain values padded. post_date_gmt could also be affected, although its not as likely, but the patch still tries to avoid it just in case.

Attachments (1)

admin-functions.php.diff (651 bytes) - added by masquerade 12 years ago.

Download all attachments as: .zip

Change History (3)

#2 @ryan
12 years ago

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

(In [3632]) Pad post_date elements. Props: masquerade. fixes #2542

Note: See TracTickets for help on using tickets.