Case insensitive URL validation
-
Firstly, this is my first time using this plugin on a project. I’d been using reed-write which is fine, but custom-content-type-manager rocks.
I’ve found that our editors like to use urls such as http://Twitter.com/foo which fails the validation check in validators/url.php. I changed that line to:
if(!preg_match(‘@’.$regex.’@i’, $input)){
Consider doing this for trunk/ ?
http://wordpress.org/extend/plugins/custom-content-type-manager/
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Case insensitive URL validation’ is closed to new replies.