Skip to content

Commit fe74605

Browse files
committed
Fix input maxlength
Signed-off-by: Matt Friedman <maf675@gmail.com>
1 parent 5c427b4 commit fe74605

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

event/listener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ public function pwa_short_sitename($value, $key)
192192
{
193193
$placeholder = $this->get_shortname($this->config['sitename']);
194194

195-
return '<input id="' . $key . '" type="text" size="40" maxlength="255" name="config[' . $key . ']" value="' . $value . '" placeholder="' . $placeholder . '">';
195+
return '<input id="' . $key . '" type="text" size="40" maxlength="12" name="config[' . $key . ']" value="' . $value . '" placeholder="' . $placeholder . '">';
196196
}
197197

198198
/**

0 commit comments

Comments
 (0)