Make WordPress Core


Ignore:
Timestamp:
10/13/2007 12:54:26 AM (19 years ago)
Author:
markjaquith
Message:

Remove redundant "db_" from db_insert() and db_update() methods. Now just insert() and update(). see #5178

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/wp-db.php

    r6236 r6238  
    257257     * @return mixed results of $this->query()
    258258     */
    259     function db_insert($table, $data) {
     259    function insert($table, $data) {
    260260        $data = add_magic_quotes($data);
    261261        $fields = array_keys($data);
     
    271271     * @return mixed results of $this->query()
    272272     */
    273     function db_update($table, $data, $where_col, $where_val){
     273    function update($table, $data, $where_col, $where_val){
    274274        $data = add_magic_quotes($data);
    275275        $bits = array();
Note: See TracChangeset for help on using the changeset viewer.