Forums / General Questions / Question about zen_db_output and htmlspecialchars

Question about zen_db_output and htmlspecialchars

Views: 440

Results 1 to 1 of 1
13 Dec 2012, 3:07 PM
#1
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,109
Plugin Contributions:
56

Question about zen_db_output and htmlspecialchars

Is there a reason why the call to htmlspecialchars by zen_db_output (/includes/functions/functions_general.php) doesn't include the ENT_COMPAT and CHARSET parameters?

////
  function zen_db_output($string) {
    return htmlspecialchars($string);
  }