Opened 7 years ago

Closed 7 years ago

#2542 closed defect (bug) (fixed)

write_post() passes in bad $post_date formats.

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

Description

$_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 7 years ago.

Download all attachments as: .zip

Change History (3)

comment:2   ryan7 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.