diff --git a/wp-admin/edit-pages.php b/wp-admin/edit-pages.php index aa3c6e99f2..6e3b2864bb 100644 --- a/wp-admin/edit-pages.php +++ b/wp-admin/edit-pages.php @@ -41,7 +41,7 @@ printf( _c( '%1$s%2$s%3$s|manage pages header' ), $post_status_label, $h2_author - +
' . __('No Tags Found!') . '
' . sprintf( __('Done! %s tags were read.'), $count ) . '
' . __('The following tags were found:') . '
' . __('If you don’t want to import any of these tags, you should delete them from the UTW tag management page and then re-run this import.') . '
' . sprintf( __('Done! %s tag to post relationships were read.'), $count ) . '
' . sprintf( __('Done! %s tags where added!'), $tags_added ) . '
' . __('OK, so we lied about this being a 5-step program! You’re done!') . '
' . __('Now wasn’t that easy?') . '
' . __('Howdy! This converter allows you to selectively convert existing categories to tags. To get started, check the checkboxes of the categories you wish to be converted, then click the Convert button.') . '
' . __('Keep in mind that if you convert a category with child categories, those child categories get their parent setting removed, so they\'re in the root.') . '
'.__('You have no categories to convert!').'
' . sprintf(__('Uh, oh. Something didn\'t work. Please try again.'), 'admin.php?import=wp-cat2tag') . '
' . __('You are about to convert all categories to tags. Are you sure you want to continue?') . '
' . __('Cheatin’ uh?') . '
'; - + if ( $approved > 0 ) { printf( __ngettext( '%s comment approved.', '%s comments approved.', $approved ), $approved ); echo ''; } - + if ( $deleted > 0 ) { printf( __ngettext( '%s comment deleted', '%s comments deleted.', $deleted ), $deleted ); echo ''; } - + if ( $spam > 0 ) { printf( __ngettext( '%s comment marked as spam', '%s comments marked as spam', $spam ), $spam ); echo ''; } - + echo '
Warning: This can’t be undone.' ); ?>
follow these instructions.' ); /* TODO: article on codex */; ?>
@@ -309,17 +309,17 @@ if ( isset( $_POST['action'] ) ) { foreach ( $wp_registered_sidebars as $index => $sidebar ) { ?> - +
You are currently browsing the weblog archives.
'); } $content = trim($content); - + if (stripos($content_transfer_encoding, "quoted-printable") !== false) { $content = quoted_printable_decode($content); } diff --git a/wp-settings.php b/wp-settings.php index b69664abbc..e73c1fd4f0 100644 --- a/wp-settings.php +++ b/wp-settings.php @@ -146,7 +146,7 @@ if ( !is_blog_installed() && (strpos($_SERVER['PHP_SELF'], 'install.php') === fa $link = 'install.php'; else $link = 'wp-admin/install.php'; - + wp_die( sprintf( 'It doesn’t look like you’ve installed WP yet. Try running install.php.', $link ) ); } diff --git a/xmlrpc.php b/xmlrpc.php index 648548328f..ad30a7c01d 100644 --- a/xmlrpc.php +++ b/xmlrpc.php @@ -505,7 +505,7 @@ class wp_xmlrpc_server extends IXR_Server { if(empty($category["description"])) { $category["description"] = ""; } - + $new_category = array( "cat_name" => $category["name"], "category_nicename" => $category["slug"], @@ -784,7 +784,7 @@ class wp_xmlrpc_server extends IXR_Server { if (!$this->login_pass_ok($user_login, $user_pass)) { return $this->error; } - + $cap = ($publish) ? 'publish_posts' : 'edit_posts'; $user = set_current_user(0, $user_login); if ( !current_user_can($cap) ) @@ -1216,7 +1216,7 @@ class wp_xmlrpc_server extends IXR_Server { if(isset($content_struct["mt_allow_comments"])) { $comment_status = (int) $content_struct["mt_allow_comments"]; } - + // Do some timestamp voodoo $dateCreatedd = $content_struct['dateCreated']; if (!empty($dateCreatedd)) {