Ticket #14397: 14397.diff
File 14397.diff, 603 bytes (added by , 14 years ago) |
---|
-
wp-includes/functions.php
1832 1832 return true; 1833 1833 1834 1834 $suppress = $wpdb->suppress_errors(); 1835 $tables = $wpdb->get_col('SHOW TABLES'); 1835 $blog_prefix = $wpdb->get_blog_prefix(); 1836 if ( substr( $blog_prefix, -1 ) == '_' ) 1837 $blog_prefix = substr( $blog_prefix, 0, -1 ) . '\_'; 1838 1839 $tables = $wpdb->get_col( "SHOW TABLES LIKE '{$blog_prefix}%'" ); 1836 1840 $wpdb->suppress_errors( $suppress ); 1837 1841 1838 1842 $wp_tables = $wpdb->tables();