projects
/
WP-Themes
/
TomsMomsCookies.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e1c03b
)
Set maximum size of text for Gift Message to 150 characters.
v1.0.2
author
Chuck Scott
<cscott@gaslightmedia.com>
Thu, 18 Jun 2015 19:30:42 +0000
(15:30 -0400)
committer
Chuck Scott
<cscott@gaslightmedia.com>
Thu, 18 Jun 2015 19:30:42 +0000
(15:30 -0400)
functions.php
patch
|
blob
|
history
diff --git
a/functions.php
b/functions.php
index
6744962
..
a53b19c
100755
(executable)
--- a/
functions.php
+++ b/
functions.php
@@
-146,6
+146,7
@@
function tm_added_checkout_fields( $checkout ) {
'class' => array('my-field-class form-row-wide'),
'label' => __(''),
'placeholder' => __('Enter any desired gift message here.'),
+ 'maxlength' => 150,
), $checkout->get_value( 'tm_gift_message' ));
echo '</div>';