Ticket #51439: 51439-ajax-actions.php.patch
File 51439-ajax-actions.php.patch, 783 bytes (added by , 4 years ago) |
---|
-
src/wp-admin/includes/ajax-actions.php
426 426 * 427 427 * @param int $comment_id 428 428 * @param int $delta 429 * @var array $query_vars See {@link WP::parse_request()}. 429 430 */ 430 431 function _wp_ajax_delete_comment_response( $comment_id, $delta = -1 ) { 431 432 $total = isset( $_POST['_total'] ) ? (int) $_POST['_total'] : 0; … … 3614 3615 * @global WP_Embed $wp_embed Embed API instance. 3615 3616 * @global WP_Scripts $wp_scripts 3616 3617 * @global int $content_width 3618 * @var array $matches 3617 3619 */ 3618 3620 function wp_ajax_parse_embed() { 3619 3621 global $post, $wp_embed, $content_width;