Changed max gift message from 150 to 75 characters.
authorChuck Scott <cscott@gaslightmedia.com>
Wed, 22 Jul 2015 21:09:59 +0000 (17:09 -0400)
committerChuck Scott <cscott@gaslightmedia.com>
Wed, 22 Jul 2015 21:09:59 +0000 (17:09 -0400)
functions.php

index 121070c..4a97868 100755 (executable)
@@ -150,7 +150,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,
+        'maxlength' => 75,
         ), $checkout->get_value( 'tm_gift_message' ));
 
     echo '</div>';
@@ -247,4 +247,4 @@ if ( ! current_user_can('manage_options') && ! current_user_can('edit_product')
     }
 }
 
-?>
\ No newline at end of file
+?>