WordPress.org

Make WordPress Core

Ticket #34521: 34521-text-change-add categories.patch

File 34521-text-change-add categories.patch, 622 bytes (added by ramiy, 5 years ago)

Text change: add categories

  • wp-includes/class-wp-xmlrpc-server.php

     
    30533053
    30543054                // Make sure the user is allowed to add a category.
    30553055                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.'));
    30573057
    30583058                // If no slug was provided make it empty so that
    30593059                // WordPress will generate one.