[wp-hackers] 'same category name'-issue

Stephen Rider wp-hackers at striderweb.com
Sat Apr 11 14:17:47 GMT 2009


You might download the .diff file from http://core.trac.wordpress.org/changeset/10905 
  and patch your install.  That would give you the one change only,  
which you need.

Thanks for committing Ryan -- that was a bothersome bug that would  
have bitten me sooner or later.  :)

Stephen

On Apr 11, 2009, at 8:17 AM, robin niemeyer wrote:

> Works great with the current svn version, but with 2.7.1 I  
> unfortunately
> get an 'Could not insert term into the database' error when trying to
> add a non-uniquely named category from the categories view (first I
> replaced the changed functions and snippets only, then all three  
> files,
> same outcome on both ways).
>
> But I'll try to figure it out myself, so thanks again!
>
> Ryan Boren schrieb:
>>
>> Fix for trunk here: http://core.trac.wordpress.org/changeset/10905
>>
>> This was caused by an over restrictive check added to the ajax  
>> handler
>> for category adds.  When adding cats, the parent should be taken into
>> account when determining if a cat already exists.



More information about the wp-hackers mailing list