Ticket #34521: 34521-text-change-add categories.patch
File 34521-text-change-add categories.patch, 622 bytes (added by , 7 years ago) |
---|
-
wp-includes/class-wp-xmlrpc-server.php
3053 3053 3054 3054 // Make sure the user is allowed to add a category. 3055 3055 if ( !current_user_can('manage_categories') ) 3056 return new IXR_Error(401, __('Sorry, you are not allowed to add a category.'));3056 return new IXR_Error(401, __('Sorry, you are not allowed to add categories.')); 3057 3057 3058 3058 // If no slug was provided make it empty so that 3059 3059 // WordPress will generate one.