Ticket #54453: 54453.patch
File 54453.patch, 479 bytes (added by , 3 years ago) |
---|
-
wp-includes/wp-db.php
diff --git wp-includes/wp-db.php wp-includes/wp-db.php index 2ec3312c4..2f4d4a994 100644
class wpdb { 1320 1320 1321 1321 // If args were passed as an array (as in vsprintf), move them up. 1322 1322 $passed_as_array = false; 1323 if ( is _array( $args[0] ) && count( $args ) === 1 ) {1323 if ( isset( $args[0] ) && is_array( $args[0] ) && count( $args ) === 1 ) { 1324 1324 $passed_as_array = true; 1325 1325 $args = $args[0]; 1326 1326 }