Ticket #2542 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

write_post() passes in bad $post_date formats.

Reported by: masquerade Assigned to: 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

admin-functions.php.diff (0.6 kB) - added by masquerade on 03/07/06 08:38:04.

Change History

03/07/06 08:38:04 changed by masquerade

  • attachment admin-functions.php.diff added.

03/07/06 08:39:13 changed by markjaquith

1

03/07/06 21:00:40 changed by ryan

  • status changed from new to closed.
  • resolution set to fixed.

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