google-code-export / wordpress-custom-content-type-manager

Automatically exported from code.google.com/p/wordpress-custom-content-type-manager
2 stars 1 forks source link

Custom Field and Post-Type names should be case insensitive #440

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem? (Be specific enough so that someone
else can make the plugin fail for themselves. Remember: if the issue can't
be fixed if it can't be reproduced!)
1. Create a custom field named "MYFIELD"
2. Create another custom field named "myfield"

What is the expected output? What do you see instead?

I expect the 2nd instance to be invalid because the name is already taken.
However, the two variations of the names are allowed because the cases do not 
match.  This could be problematic because MySQL is case-insensitive in its 
searches.

*SYSTEM INFO* 
------------------------ 
Plugin Version: 0.9.7-dev
WordPress Version: 3.5
PHP Version: 5.3.2
MySQL Version: 5.1.44
Server OS: Darwin
------------------------ 
ACTIVE PLUGINS: 
------------------------ 
CURRENT THEME: Twenty Ten v.1.4 http://wordpress.org/

Original issue reported on code.google.com by ever...@fireproofsocks.com on 2 Jan 2013 at 7:12

GoogleCodeExporter commented 9 years ago
Committed revision 646897.

Original comment by ever...@fireproofsocks.com on 2 Jan 2013 at 8:09