Grammar fixes from takayukister and thenlich. fixes #5992
git-svn-id: https://develop.svn.wordpress.org/trunk@7026 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
7c95cd976f
commit
f3b2ffc10d
@ -91,7 +91,7 @@ class STP_Import {
|
||||
// run that funky magic!
|
||||
$tags_added = $this->tag2post();
|
||||
|
||||
echo '<p>' . sprintf( __ngettext('Done! <strong>%s</strong> tags where added!', 'Done! <strong>%s</strong> tags where added!', $tags_added), $tags_added ) . '<br /></p>';
|
||||
echo '<p>' . sprintf( __ngettext('Done! <strong>%s</strong> tag was added!', 'Done! <strong>%s</strong> tags were added!', $tags_added), $tags_added ) . '<br /></p>';
|
||||
echo '<form action="admin.php?import=stp&step=3" method="post">';
|
||||
wp_nonce_field('import-stp');
|
||||
echo '<p class="submit"><input type="submit" name="submit" value="'.__('Step 3').'" /></p>';
|
||||
|
@ -636,7 +636,7 @@ class wp_xmlrpc_server extends IXR_Server {
|
||||
|
||||
set_current_user(0, $username);
|
||||
if( !current_user_can("manage_categories") ) {
|
||||
return new IXR_Error( 401, __( "Sorry, you do not the right to delete a category." ) );
|
||||
return new IXR_Error( 401, __( "Sorry, you do not have the right to delete a category." ) );
|
||||
}
|
||||
|
||||
return wp_delete_category( $category_id );
|
||||
|
Loading…
Reference in New Issue
Block a user