Combine two strings. props kenan3008, see #18429.

git-svn-id: http://svn.automattic.com/wordpress/trunk@19879 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2012-02-08 18:50:25 +00:00
parent 6300514de7
commit a0ec80fff3
1 changed files with 1 additions and 1 deletions

View File

@ -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.' ) ); 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 ) ) 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]; $term_ids = $post_data['terms'][$taxonomy];
foreach ( $term_ids as $term_id ) { foreach ( $term_ids as $term_id ) {