Make WordPress Core

Opened 13 years ago

Closed 13 years ago

#5302 closed defect (bug) (fixed)

upload breaks

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


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 (1)

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

Download all attachments as: .zip

Change History (3)

13 years ago

fix typo

#1 @DD32
13 years ago

  • Keywords has-patch added

#2 @ryan
13 years ago

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

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

Note: See TracTickets for help on using tickets.