Make WordPress Core


Ignore:
Timestamp:
12/09/2009 12:00:55 PM (15 years ago)
Author:
westi
Message:

Remove passing of spurious argument to wpdb->db_version().

File:
1 edited

Legend:

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

    r12157 r12348  
    4141
    4242    if ( method_exists( $wpdb, 'db_version' ) )
    43         $mysql_version = preg_replace('/[^0-9.].*/', '', $wpdb->db_version($wpdb->users));
     43        $mysql_version = preg_replace('/[^0-9.].*/', '', $wpdb->db_version());
    4444    else
    4545        $mysql_version = 'N/A';
Note: See TracChangeset for help on using the changeset viewer.