WordPress.org

Make WordPress Core

Ticket #40164: 40164.diff

File 40164.diff, 757 bytes (added by bor0, 4 years ago)
  • wp-admin/edit-comments.php

     
    118118                $redirect_to = add_query_arg( 'untrashed', $untrashed, $redirect_to );
    119119        if ( $deleted )
    120120                $redirect_to = add_query_arg( 'deleted', $deleted, $redirect_to );
    121         if ( $trashed || $spammed )
    122                 $redirect_to = add_query_arg( 'ids', join( ',', $comment_ids ), $redirect_to );
    123121
    124122        wp_safe_redirect( $redirect_to );
    125123        exit;
     
    304302
    305303<?php $wp_list_table->views(); ?>
    306304
    307 <form id="comments-form" method="get">
     305<form id="comments-form" method="post">
    308306
    309307<?php $wp_list_table->search_box( __( 'Search Comments' ), 'comment' ); ?>
    310308