Reduce duplication in $wpdb
|Reported by:||scribu||Owned by:|
Currently, update(), insert() and soon delete() [see #18948] use the same code to generate the WHERE clause.
It should be moved into a helper method.
Change History (18)
- Milestone changed from Future Release to 3.5
- Severity changed from normal to minor
- Keywords 3.6-early added
- Milestone changed from 3.5 to Future Release
comment:10 follow-up: ↓ 14 @nacin — 2 years ago
- Keywords 3.7-early added; 3.6-early removed
- Milestone changed from 3.6 to Future Release
Note: See TracTickets for help on using tickets.