Make WordPress Core

Ticket #51439: 51439-ajax-actions.php.patch

File 51439-ajax-actions.php.patch, 783 bytes (added by ravipatel, 4 years ago)

Added file patch another file - undefined variable

  • src/wp-admin/includes/ajax-actions.php

     
    426426 *
    427427 * @param int $comment_id
    428428 * @param int $delta
     429 * @var array $query_vars See {@link WP::parse_request()}.
    429430 */
    430431function _wp_ajax_delete_comment_response( $comment_id, $delta = -1 ) {
    431432        $total    = isset( $_POST['_total'] ) ? (int) $_POST['_total'] : 0;
     
    36143615 * @global WP_Embed   $wp_embed   Embed API instance.
    36153616 * @global WP_Scripts $wp_scripts
    36163617 * @global int        $content_width
     3618 * @var    array      $matches
    36173619 */
    36183620function wp_ajax_parse_embed() {
    36193621        global $post, $wp_embed, $content_width;