Ticket #33206: 33206.4.diff
File 33206.4.diff, 867 bytes (added by , 9 years ago) |
---|
-
src/wp-admin/includes/upgrade.php
1685 1685 1686 1686 $tables = $wpdb->tables( 'global' ); 1687 1687 1688 // sitecategories may not exist. 1689 if ( ! $this->get_var( "SHOW TABLES LIKE '{$tables['sitecategories']}'" ) ) { 1690 unset( $tables['sitecategories'] ); 1691 } 1692 1688 1693 foreach ( $tables as $table ) { 1689 1694 maybe_convert_table_to_utf8mb4( $table ); 1690 1695 } … … 1709 1714 1710 1715 $tables = $wpdb->tables( 'global' ); 1711 1716 1717 // sitecategories may not exist. 1718 if ( ! $this->get_var( "SHOW TABLES LIKE '{$tables['sitecategories']}'" ) ) { 1719 unset( $tables['sitecategories'] ); 1720 } 1721 1712 1722 foreach ( $tables as $table ) { 1713 1723 maybe_convert_table_to_utf8mb4( $table ); 1714 1724 }