Ticket #26887: tableprefix.2.diff
File tableprefix.2.diff, 568 bytes (added by , 11 years ago) |
---|
-
wp-includes/wp-db.php
171 171 var $prefix = ''; 172 172 173 173 /** 174 * WordPress base table prefix 175 * 176 * @since 3.0 177 * @access public 178 * @var string 179 */ 180 var $base_prefix; 181 182 /** 174 183 * Whether the database queries are ready to start executing. 175 184 * 176 185 * @since 2.3.2 … … 664 673 665 674 $old_prefix = is_multisite() ? '' : $prefix; 666 675 667 if ( isset( $this->base_prefix ) )676 if ( !empty( $this->base_prefix ) ) 668 677 $old_prefix = $this->base_prefix; 669 678 670 679 $this->base_prefix = $prefix;