Changeset 6160
- Timestamp:
- 11/22/2017 11:09:15 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wcpt/wcpt-wordcamp/wordcamp-admin.php
r6158 r6160 1152 1152 // @todo When you refactor meta_keys() to support changing labels -- see note in meta_keys() -- also make it support these notes 1153 1153 $messages = array( 1154 'Telephone' => 'Required for shipping.', 1155 'Mailing Address' => 'Shipping address.', 1156 'Physical Address' => 'Please include the city, state/province and country.', // So it can be geocoded correctly for the map 1157 'Global Sponsorship Grant' => 'Deprecated.' 1154 'Telephone' => 'Required for shipping.', 1155 'Mailing Address' => 'Shipping address.', 1156 'Physical Address' => 'Please include the city, state/province and country.', // So it can be geocoded correctly for the map 1157 'Global Sponsorship Grant Amount' => 'No commas, thousands separators or currency symbols. Ex. 1234.56', 1158 'Global Sponsorship Grant' => 'Deprecated.', 1158 1159 ); 1159 1160 … … 1191 1192 case 'number' : ?> 1192 1193 1193 <input type="number" size="16" name="<?php echo $object_name; ?>" id="<?php echo $object_name; ?>" value="<?php echo esc_attr( get_post_meta( $post_id, $key, true ) ); ?>" <?php echo $readonly; ?> />1194 <input type="number" size="16" name="<?php echo $object_name; ?>" id="<?php echo $object_name; ?>" value="<?php echo esc_attr( get_post_meta( $post_id, $key, true ) ); ?>" step="any" min="0"<?php echo $readonly; ?> /> 1194 1195 1195 1196 <?php break;
Note: See TracChangeset
for help on using the changeset viewer.