WordPress.org

Make WordPress Core

Ticket #47177: 47177.diff

File 47177.diff, 429 bytes (added by dkarfa, 7 months ago)

Final fix, ignore all previous files.

  • src/wp-includes/general-template.php

     
    217217         * in 5.2.0. Then we deal with the $args array and cast its defaults.
    218218         */
    219219        $echo = true;
    220         if ( false === $args ) {
     220        if ( false === boolval( $args ) ) {
    221221                $echo = false;
    222222        }
    223223