Remove references to invalid $filter variable in WP_JSON_Post_Controller::get_items.