Skip to content
Permalink
Browse files

Deprecated passing string for 2nd argument of h().

  • Loading branch information...
ADmad committed Apr 29, 2018
1 parent 8ae48eb commit ae7059cbda116fcf0fa188c4634f1577920e7a4e
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/Core/functions.php
@@ -64,6 +64,10 @@ function h($text, $double = true, $charset = null)
}
}
if (is_string($double)) {
deprecationWarning(
'Passing charset string for 2nd argument is deprecated. ' .
'Use the 3rd argument instead.'
);
$charset = $double;
}

0 comments on commit ae7059c

Please sign in to comment.
You can’t perform that action at this time.