Skip to content
Browse files

Don't use short tags.

They are not broadly supported before PHP 5.4 and we should escape all
the content the core templates output.
  • Loading branch information...
markstory committed Aug 21, 2015
1 parent d05727b commit 0df0f1a5592df6ece965b6029abea1e91340ceb1
@@ -4,4 +4,4 @@ if (!empty($params['class'])) {
$class .= ' ' . $params['class'];
<div id="<?= $key ?>Message" class="<?= h($class) ?>"><?= h($message) ?></div>
<div id="<?php echo h($key) ?>Message" class="<?php echo h($class) ?>"><?php echo h($message) ?></div>
@@ -1 +1 @@
<div id="<?= $key ?>Message" class="message error"><?= h($message) ?></div>
<div id="<?php echo h($key) ?>Message" class="message error"><?php echo h($message) ?></div>
@@ -1 +1 @@
<div id="<?= $key ?>Message" class="message success"><?= h($message) ?></div>
<div id="<?php echo h($key) ?>Message" class="message success"><?php echo h($message) ?></div>

0 comments on commit 0df0f1a

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