WordPress.org

Make WordPress Core

Changeset 42419


Ignore:
Timestamp:
12/22/2017 03:17:14 AM (20 months ago)
Author:
dd32
Message:

WP: Don't attempt to convert multiple-nested arrays to a string in WP->parse_request().

See #14330.
Fixes #42752.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp.php

    r42343 r42419  
    309309                } else {
    310310                    foreach ( $this->query_vars[ $wpvar ] as $vkey => $v ) {
    311                         if ( ! is_object( $v ) ) {
     311                        if ( is_scalar( $v ) ) {
    312312                            $this->query_vars[ $wpvar ][ $vkey ] = (string) $v;
    313313                        }
Note: See TracChangeset for help on using the changeset viewer.