Make WordPress Core

Ticket #46813: 46813.3.diff

File 46813.3.diff, 521 bytes (added by tmdesigned, 6 years ago)

quoted function call, added default priority & args

  • src/wp-includes/functions.php

     
    29792979                $title = '';
    29802980        }
    29812981
     2982        /* Disable doing_it_wrong checks to prevent additional notices while dying */
     2983        add_filter( 'doing_it_wrong_trigger_error', '__return_false', 10, 1 );
     2984
    29822985        if ( wp_doing_ajax() ) {
    29832986                /**
    29842987                 * Filters the callback for killing WordPress execution for Ajax requests.