Ticket #5992: english-phrase-fix.diff
| File english-phrase-fix.diff, 1.3 kB (added by takayukister, 9 months ago) |
|---|
-
wp-admin/import/stp.php
old new 91 91 // run that funky magic! 92 92 $tags_added = $this->tag2post(); 93 93 94 echo '<p>' . sprintf( __ngettext('Done! <strong>%s</strong> tags w here added!', 'Done! <strong>%s</strong> tags where added!', $tags_added), $tags_added ) . '<br /></p>';94 echo '<p>' . sprintf( __ngettext('Done! <strong>%s</strong> tags were added!', 'Done! <strong>%s</strong> tags were added!', $tags_added), $tags_added ) . '<br /></p>'; 95 95 echo '<form action="admin.php?import=stp&step=3" method="post">'; 96 96 wp_nonce_field('import-stp'); 97 97 echo '<p class="submit"><input type="submit" name="submit" value="'.__('Step 3').'" /></p>'; -
xmlrpc.php
old new 636 636 637 637 set_current_user(0, $username); 638 638 if( !current_user_can("manage_categories") ) { 639 return new IXR_Error( 401, __( "Sorry, you do not the right to delete a category." ) );639 return new IXR_Error( 401, __( "Sorry, you do not have the right to delete a category." ) ); 640 640 } 641 641 642 642 return wp_delete_category( $category_id );
