Combine two strings. props kenan3008, see #18429.
git-svn-id: https://develop.svn.wordpress.org/trunk@19879 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
a3055f1031
commit
9c98b02e1d
@ -729,7 +729,7 @@ class wp_xmlrpc_server extends IXR_Server {
|
||||
return new IXR_Error( 401, __( 'Sorry, one of the given taxonomies is not supported by the post type.' ) );
|
||||
|
||||
if ( ! current_user_can( $post_type_taxonomies[$taxonomy]->cap->assign_terms ) )
|
||||
return new IXR_Error( 401, __( 'Sorry, you are not allowed to assign a term to one of the given taxonomies' ) );
|
||||
return new IXR_Error( 401, __( 'Sorry, you are not allowed to assign a term to one of the given taxonomies.' ) );
|
||||
|
||||
$term_ids = $post_data['terms'][$taxonomy];
|
||||
foreach ( $term_ids as $term_id ) {
|
||||
|
Loading…
Reference in New Issue
Block a user