Opened 16 years ago
Closed 16 years ago
#5127 closed task (blessed) (fixed)
Move all mysql_* function calls to wp-db.php
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 2.5 | Priority: | normal |
Severity: | normal | Version: | 2.3 |
Component: | General | Keywords: | mysql has-patch |
Focuses: | Cc: |
Description
All calls to database-specific functions should be in a single file for portablility and organization purposes (in this case, wp-db.php for MySQL).
The only mysql_* function not yet constrained to wp-db.php is mysql_get_server_info();
Patch attached. Changes schema.php, upgrade.php, and wp-db.php.
Attachments (1)
Change History (5)
Note: See
TracTickets for help on using
tickets.
As this is a "feature request", I'm bumping the milestone to 2.4.
Feature requests shouldn't be done in maintenance releases.