WordPress.org

Make WordPress Core

Ticket #20699: 20699-unit-test-fix.patch

File 20699-unit-test-fix.patch, 509 bytes (added by kurtpayne, 6 years ago)

Keep the unit test framework in sync with this change

  • wp-testcase/test_admin_includes_ajax_actions.php

     
    159159
    160160                // Call the hooks
    161161                do_action( 'admin_init' );
    162                 do_action( 'wp_ajax_' . $_REQUEST['action'], $_REQUEST['action'] );
     162                do_action( 'wp_ajax_' . $_REQUEST['action'] );
    163163
    164164                // Save the output
    165165                $buffer = ob_get_clean();