Replace request_var() with $request->variable()

Please, close this PR.
Open an issue in issue tracker for this. After update your fork and create a ticket/ID branch and re-apply for changes.

Thanks.