Bail out of 4.3 term splitting routine when no shared terms are found.
Props dd32. See #30261. Built from https://develop.svn.wordpress.org/trunk@32819 git-svn-id: http://core.svn.wordpress.org/trunk@32790 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
8fba763f37
commit
f62bf61b2c
|
@ -1870,6 +1870,10 @@ function split_all_shared_terms() {
|
|||
HAVING term_tt_count > 1"
|
||||
);
|
||||
|
||||
if ( empty( $shared_terms ) ) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Rekey shared term array for faster lookups.
|
||||
$_shared_terms = array();
|
||||
foreach ( $shared_terms as $shared_term ) {
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.3-alpha-32818';
|
||||
$wp_version = '4.3-alpha-32819';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue