Changeset 562
- Timestamp:
- Oct 9, 2004, 12:04:23 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/include/functions_metadata.php
r493 r562 52 52 } 53 53 54 if (isset($iptc['keywords'])) 55 { 56 // keywords separator is the comma, nothing else. Allowed characters in 57 // keywords : [A-Za-z0-9], "-" and "_". All other characters will be 58 // considered as separators 59 $iptc['keywords'] = preg_replace('/[^\w-]+/', ',', $iptc['keywords']); 60 $iptc['keywords'] = preg_replace('/^,+|,+$/', '', $iptc['keywords']); 61 } 62 54 63 return $iptc; 55 64 }
Note: See TracChangeset
for help on using the changeset viewer.