Opened 18 years ago
Closed 18 years ago
#3441 closed defect (bug) (invalid)
WP ignores MySQL errors rather than displaying them
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 2.1 |
Component: | General | Keywords: | wpdb error |
Focuses: | Cc: |
Description
How to reproduce:
- Activate the attached plugin.
- Edit a post and save it, the post will not updated because there are error in MySQL query, WP should display the error.
- Open file
wp-includes/post.php
(in trunk) and go to line 604, pass it todie
function. - Edit a post again and save it, you will see MySQL error.
- Deactivate the attached plugin.
- Edit a post again and save it, you will see blank page, the post updated and no error returned.
This affects both trunk (2.1) and 2.0.x.
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
Breaking MySQL Query Plugin: for debug MySQL query errors