Update plugins.php

Fixed - Weird behavior when escaping data (certain data changed throughout the process).