Ticket #5302 (closed defect (bug): fixed)

Opened 4 years ago

Last modified 4 years ago

upload breaks

Reported by: pizzamx Owned by: anonymous
Priority: normal Milestone: 2.5
Component: General Version: 2.5
Severity: normal Keywords: upload sql has-patch
Cc:

Description

Upload function breaks when creating a new post or editing an existing post. The file *did* get uploaded, and the problem occurs when trying to modify the database:

WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 
'WHERE ID = '3' LIMIT 1' at line 1]
UPDATE wp2_posts SET WHERE ID = '3' LIMIT 1

ps., tested on a fresh copy checked out from trunk

Attachments

5302.diff Download (515 bytes) - added by DD32 4 years ago.
fix typo

Change History

DD324 years ago

fix typo

comment:1   DD324 years ago

  • Keywords has-patch added

comment:2   ryan4 years ago

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

(In [6304]) Typo fix from DD32. Fixes uploads. fixes #5302

Note: See TracTickets for help on using tickets.