Make WordPress Core

Ticket #22096: 22096.diff

File 22096.diff, 518 bytes (added by DrewAPicture, 11 years ago)

notice

  • wp-includes/meta.php

     
    716716
    717717                // Split out the queries with empty arrays as value
    718718                foreach ( $this->queries as $k => $q ) {
    719                         if ( is_array( $q['value'] ) && empty( $q['value'] ) ) {
     719                        if ( isset( $q['value'] ) && is_array( $q['value'] ) && empty( $q['value'] ) ) {
    720720                                $key_only_queries[$k] = $q;
    721721                                unset( $this->queries[$k] );
    722722                        }