WordPress.org

Make WordPress Core

Ticket #18429: missing_dot.patch

File missing_dot.patch, 796 bytes (added by kenan3008, 3 years ago)
  • wp-includes/class-wp-xmlrpc-server.php

     
    729729                                                return new IXR_Error( 401, __( 'Sorry, one of the given taxonomies is not supported by the post type.' ) ); 
    730730 
    731731                                        if ( ! current_user_can( $post_type_taxonomies[$taxonomy]->cap->assign_terms ) ) 
    732                                                 return new IXR_Error( 401, __( 'Sorry, you are not allowed to assign a term to one of the given taxonomies' ) ); 
     732                                                return new IXR_Error( 401, __( 'Sorry, you are not allowed to assign a term to one of the given taxonomies.' ) ); 
    733733 
    734734                                        $term_ids = $post_data['terms'][$taxonomy]; 
    735735                                        foreach ( $term_ids as $term_id ) {