wp core update 6.6
This commit is contained in:
@@ -16,7 +16,8 @@ $submenu_file = 'edit-comments.php';
|
||||
* @global string $action
|
||||
*/
|
||||
global $action;
|
||||
wp_reset_vars( array( 'action' ) );
|
||||
|
||||
$action = ! empty( $_REQUEST['action'] ) ? sanitize_text_field( $_REQUEST['action'] ) : '';
|
||||
|
||||
if ( isset( $_POST['deletecomment'] ) ) {
|
||||
$action = 'deletecomment';
|
||||
|
||||
Reference in New Issue
Block a user