diff --git a/includes/class-main.php b/includes/class-main.php index 7d594e8e58bb129e444ca64e4a6fd4eec471d34c..b9500e5939f10737b4712f6c5bd327451361b8bb 100644 --- a/includes/class-main.php +++ b/includes/class-main.php @@ -71,8 +71,6 @@ class Main { private static function capture_vars() { $vars = (object) array_fill_keys( array( 'user_id', 'action', 'post_type', 'posts', 'tax_input', 'post_author', 'comment_status', 'ping_status', 'post_status', 'post_sticky', 'post_format', ), null ); - // TODO: replace with foreach and switch - $vars->user_id = get_current_user_id(); if ( isset( $_REQUEST['delete_all'] ) ) {