An even better way, which touches no core files, is to add this file to the plugin's files:
/admin/includes/extra_datafiles/sanitizer_categories_sub.php
Code:<?php $sanitizer = AdminRequestSanitizer::getInstance(); $group = array( 'categories_description_sub' => array('sanitizerType' => 'PRODUCT_DESC_REGEX', 'method' => 'post'), ); $sanitizer->addComplexSanitization($group);
Bookmarks