Changeset 570646
- Timestamp:
- 07/11/2012 02:45:41 PM (14 years ago)
- File:
-
- 1 edited
-
easy-custom-fields/trunk/easy-custom-fields.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
easy-custom-fields/trunk/easy-custom-fields.php
r538896 r570646 5 5 Plugin URI: http://wordpress.org/extend/plugins/easy-custom-fields/ 6 6 Description: A set of extendable classes for easy Custom Field Handling 7 Version: 0. 57 Version: 0.6 8 8 Author: Thorsten Ott 9 9 Author URI: http://automattic.com … … 552 552 553 553 // check hint 554 if ( !empty( $field_value ) && $field_name == 'hint' && !preg_match( "#^[a-zA-Z0-9_-\s:/\. ]+$#miU", $field_value ) ) {554 if ( !empty( $field_value ) && $field_name == 'hint' && !preg_match( "#^[a-zA-Z0-9_-\s:/\.\,]+$#miU", $field_value ) ) { 555 555 $this->add_admin_notice( sprintf( __( "Field hint %s for group %s contains invalid chars use only [a-zA-Z0-9_-\s:/\.]" ), $field_value, $group_id ) ); 556 556 continue; … … 558 558 559 559 // check error_msg 560 if ( !empty( $field_value ) && $field_name == 'error_msg' && !preg_match( "#^[a-zA-Z0-9_-\s:/\. ]+$#miU", $field_value ) ) {560 if ( !empty( $field_value ) && $field_name == 'error_msg' && !preg_match( "#^[a-zA-Z0-9_-\s:/\.\,]+$#miU", $field_value ) ) { 561 561 $this->add_admin_notice( sprintf( __( "Field error_msg %s for group %s contains invalid chars use only [a-zA-Z0-9_-\s:/\.]" ), $field_value, $group_id ) ); 562 562 continue;
Note: See TracChangeset
for help on using the changeset viewer.