Don't allow duplicate category creation. Props westi and mdawaffe. fixes #3799

git-svn-id: https://develop.svn.wordpress.org/trunk@7336 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2008-03-16 20:37:02 +00:00
parent f0b35af5b9
commit 11620cd3b4
3 changed files with 13 additions and 2 deletions

View File

@@ -41,7 +41,7 @@ class WP_Scripts {
$this->add( 'prototype', '/wp-includes/js/prototype.js', false, '1.6');
$this->add( 'wp-ajax-response', '/wp-includes/js/wp-ajax-response.js', array('jquery'), '20080312' );
$this->add( 'wp-ajax-response', '/wp-includes/js/wp-ajax-response.js', array('jquery'), '20080316' );
$this->localize( 'wp-ajax-response', 'wpAjax', array(
'noPerm' => 'You do not have permission to do that.',
'broken' => 'AJAX is teh b0rked.'