Ticket #31644: 31644.diff
File 31644.diff, 640 bytes (added by , 10 years ago) |
---|
-
src/wp-includes/wp-db.php
2810 2810 $client_version = mysql_get_client_info(); 2811 2811 } 2812 2812 2813 return version_compare( $client_version, '5.5.3', '>=' ); 2813 if ( false !== stristr( $client_version, 'mysqlnd' ) ) { 2814 preg_match( '/[\d]+[\.][\d]+[\.][\d]+/', $client_version, $match ); 2815 return version_compare( $match[0], '5.0.9', '>=' ); 2816 } else { 2817 return version_compare( $client_version, '5.5.3', '>=' ); 2818 } 2814 2819 } 2815 2820 2816 2821 return false;