Completed
Push — master ( a7cd2a...eabd6c )
by Stephen
38:42
created
src/wp-content/themes/twentyeleven/single.php 2 patches
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Template for displaying all single posts
4
- *
5
- * @package WordPress
6
- * @subpackage Twenty_Eleven
7
- * @since Twenty Eleven 1.0
8
- */
3
+					 * Template for displaying all single posts
4
+					 *
5
+					 * @package WordPress
6
+					 * @subpackage Twenty_Eleven
7
+					 * @since Twenty Eleven 1.0
8
+					 */
9 9
 
10 10
 get_header(); ?>
11 11
 
Please login to merge, or discard this patch.
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -12,17 +12,17 @@
 block discarded – undo
12 12
 		<div id="primary">
13 13
 			<div id="content" role="main">
14 14
 
15
-				<?php while ( have_posts() ) : the_post(); ?>
15
+				<?php while (have_posts()) : the_post(); ?>
16 16
 
17 17
 					<nav id="nav-single">
18
-						<h3 class="assistive-text"><?php _e( 'Post navigation', 'twentyeleven' ); ?></h3>
19
-						<span class="nav-previous"><?php previous_post_link( '%link', __( '<span class="meta-nav">&larr;</span> Previous', 'twentyeleven' ) ); ?></span>
20
-						<span class="nav-next"><?php next_post_link( '%link', __( 'Next <span class="meta-nav">&rarr;</span>', 'twentyeleven' ) ); ?></span>
18
+						<h3 class="assistive-text"><?php _e('Post navigation', 'twentyeleven'); ?></h3>
19
+						<span class="nav-previous"><?php previous_post_link('%link', __('<span class="meta-nav">&larr;</span> Previous', 'twentyeleven')); ?></span>
20
+						<span class="nav-next"><?php next_post_link('%link', __('Next <span class="meta-nav">&rarr;</span>', 'twentyeleven')); ?></span>
21 21
 					</nav><!-- #nav-single -->
22 22
 
23
-					<?php get_template_part( 'content-single', get_post_format() ); ?>
23
+					<?php get_template_part('content-single', get_post_format()); ?>
24 24
 
25
-					<?php comments_template( '', true ); ?>
25
+					<?php comments_template('', true); ?>
26 26
 
27 27
 				<?php endwhile; // end of the loop. ?>
28 28
 
Please login to merge, or discard this patch.
src/wp-content/themes/twentyeleven/content-page.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,9 +15,9 @@
 block discarded – undo
15 15
 
16 16
 	<div class="entry-content">
17 17
 		<?php the_content(); ?>
18
-		<?php wp_link_pages( array( 'before' => '<div class="page-link"><span>' . __( 'Pages:', 'twentyeleven' ) . '</span>', 'after' => '</div>' ) ); ?>
18
+		<?php wp_link_pages(array('before' => '<div class="page-link"><span>'.__('Pages:', 'twentyeleven').'</span>', 'after' => '</div>')); ?>
19 19
 	</div><!-- .entry-content -->
20 20
 	<footer class="entry-meta">
21
-		<?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?>
21
+		<?php edit_post_link(__('Edit', 'twentyeleven'), '<span class="edit-link">', '</span>'); ?>
22 22
 	</footer><!-- .entry-meta -->
23 23
 </article><!-- #post-<?php the_ID(); ?> -->
Please login to merge, or discard this patch.
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Template used for displaying page content in page.php
4
- *
5
- * @package WordPress
6
- * @subpackage Twenty_Eleven
7
- * @since Twenty Eleven 1.0
8
- */
3
+				 * Template used for displaying page content in page.php
4
+				 *
5
+				 * @package WordPress
6
+				 * @subpackage Twenty_Eleven
7
+				 * @since Twenty Eleven 1.0
8
+				 */
9 9
 ?>
10 10
 
11 11
 <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
Please login to merge, or discard this patch.
src/wp-content/themes/twentyeleven/searchform.php 2 patches
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -7,8 +7,8 @@
 block discarded – undo
7 7
  * @since Twenty Eleven 1.0
8 8
  */
9 9
 ?>
10
-	<form method="get" id="searchform" action="<?php echo esc_url( home_url( '/' ) ); ?>">
11
-		<label for="s" class="assistive-text"><?php _e( 'Search', 'twentyeleven' ); ?></label>
12
-		<input type="text" class="field" name="s" id="s" placeholder="<?php esc_attr_e( 'Search', 'twentyeleven' ); ?>" />
13
-		<input type="submit" class="submit" name="submit" id="searchsubmit" value="<?php esc_attr_e( 'Search', 'twentyeleven' ); ?>" />
10
+	<form method="get" id="searchform" action="<?php echo esc_url(home_url('/')); ?>">
11
+		<label for="s" class="assistive-text"><?php _e('Search', 'twentyeleven'); ?></label>
12
+		<input type="text" class="field" name="s" id="s" placeholder="<?php esc_attr_e('Search', 'twentyeleven'); ?>" />
13
+		<input type="submit" class="submit" name="submit" id="searchsubmit" value="<?php esc_attr_e('Search', 'twentyeleven'); ?>" />
14 14
 	</form>
Please login to merge, or discard this patch.
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Template for displaying search forms in Twenty Eleven
4
- *
5
- * @package WordPress
6
- * @subpackage Twenty_Eleven
7
- * @since Twenty Eleven 1.0
8
- */
3
+				 * Template for displaying search forms in Twenty Eleven
4
+				 *
5
+				 * @package WordPress
6
+				 * @subpackage Twenty_Eleven
7
+				 * @since Twenty Eleven 1.0
8
+				 */
9 9
 ?>
10 10
 	<form method="get" id="searchform" action="<?php echo esc_url( home_url( '/' ) ); ?>">
11 11
 		<label for="s" class="assistive-text"><?php _e( 'Search', 'twentyeleven' ); ?></label>
Please login to merge, or discard this patch.
src/wp-content/themes/twentyeleven/content-intro.php 2 patches
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -8,14 +8,14 @@
 block discarded – undo
8 8
  */
9 9
 ?>
10 10
 
11
-<article id="post-<?php the_ID(); ?>" <?php post_class( 'intro' ); ?>>
11
+<article id="post-<?php the_ID(); ?>" <?php post_class('intro'); ?>>
12 12
 	<header class="entry-header">
13 13
 		<h2 class="entry-title"><?php the_title(); ?></h2>
14 14
 	</header><!-- .entry-header -->
15 15
 
16 16
 	<div class="entry-content">
17 17
 		<?php the_content(); ?>
18
-		<?php wp_link_pages( array( 'before' => '<div class="page-link"><span>' . __( 'Pages:', 'twentyeleven' ) . '</span>', 'after' => '</div>' ) ); ?>
19
-		<?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?>
18
+		<?php wp_link_pages(array('before' => '<div class="page-link"><span>'.__('Pages:', 'twentyeleven').'</span>', 'after' => '</div>')); ?>
19
+		<?php edit_post_link(__('Edit', 'twentyeleven'), '<span class="edit-link">', '</span>'); ?>
20 20
 	</div><!-- .entry-content -->
21 21
 </article><!-- #post-<?php the_ID(); ?> -->
Please login to merge, or discard this patch.
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Template for displaying page content in the showcase.php page template
4
- *
5
- * @package WordPress
6
- * @subpackage Twenty_Eleven
7
- * @since Twenty Eleven 1.0
8
- */
3
+					 * Template for displaying page content in the showcase.php page template
4
+					 *
5
+					 * @package WordPress
6
+					 * @subpackage Twenty_Eleven
7
+					 * @since Twenty Eleven 1.0
8
+					 */
9 9
 ?>
10 10
 
11 11
 <article id="post-<?php the_ID(); ?>" <?php post_class( 'intro' ); ?>>
Please login to merge, or discard this patch.
src/wp-content/themes/twentyeleven/404.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -14,30 +14,30 @@
 block discarded – undo
14 14
 
15 15
 			<article id="post-0" class="post error404 not-found">
16 16
 				<header class="entry-header">
17
-					<h1 class="entry-title"><?php _e( 'This is somewhat embarrassing, isn&rsquo;t it?', 'twentyeleven' ); ?></h1>
17
+					<h1 class="entry-title"><?php _e('This is somewhat embarrassing, isn&rsquo;t it?', 'twentyeleven'); ?></h1>
18 18
 				</header>
19 19
 
20 20
 				<div class="entry-content">
21
-					<p><?php _e( 'It seems we can&rsquo;t find what you&rsquo;re looking for. Perhaps searching, or one of the links below, can help.', 'twentyeleven' ); ?></p>
21
+					<p><?php _e('It seems we can&rsquo;t find what you&rsquo;re looking for. Perhaps searching, or one of the links below, can help.', 'twentyeleven'); ?></p>
22 22
 
23 23
 					<?php get_search_form(); ?>
24 24
 
25
-					<?php the_widget( 'WP_Widget_Recent_Posts', array( 'number' => 10 ), array( 'widget_id' => '404' ) ); ?>
25
+					<?php the_widget('WP_Widget_Recent_Posts', array('number' => 10), array('widget_id' => '404')); ?>
26 26
 
27 27
 					<div class="widget">
28
-						<h2 class="widgettitle"><?php _e( 'Most Used Categories', 'twentyeleven' ); ?></h2>
28
+						<h2 class="widgettitle"><?php _e('Most Used Categories', 'twentyeleven'); ?></h2>
29 29
 						<ul>
30
-						<?php wp_list_categories( array( 'orderby' => 'count', 'order' => 'DESC', 'show_count' => 1, 'title_li' => '', 'number' => 10 ) ); ?>
30
+						<?php wp_list_categories(array('orderby' => 'count', 'order' => 'DESC', 'show_count' => 1, 'title_li' => '', 'number' => 10)); ?>
31 31
 						</ul>
32 32
 					</div>
33 33
 
34 34
 					<?php
35 35
 					/* translators: %1$s: smilie */
36
-					$archive_content = '<p>' . sprintf( __( 'Try looking in the monthly archives. %1$s', 'twentyeleven' ), convert_smilies( ':)' ) ) . '</p>';
37
-					the_widget( 'WP_Widget_Archives', array( 'count' => 0, 'dropdown' => 1 ), array( 'after_title' => '</h2>' . $archive_content ) );
36
+					$archive_content = '<p>'.sprintf(__('Try looking in the monthly archives. %1$s', 'twentyeleven'), convert_smilies(':)')).'</p>';
37
+					the_widget('WP_Widget_Archives', array('count' => 0, 'dropdown' => 1), array('after_title' => '</h2>'.$archive_content));
38 38
 					?>
39 39
 
40
-					<?php the_widget( 'WP_Widget_Tag_Cloud' ); ?>
40
+					<?php the_widget('WP_Widget_Tag_Cloud'); ?>
41 41
 
42 42
 				</div><!-- .entry-content -->
43 43
 			</article><!-- #post-0 -->
Please login to merge, or discard this patch.
src/wp-content/themes/twentyeleven/content.php 3 patches
Spacing   +21 added lines, -21 removed lines patch added patch discarded remove patch
@@ -10,75 +10,75 @@
 block discarded – undo
10 10
 
11 11
 	<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
12 12
 		<header class="entry-header">
13
-			<?php if ( is_sticky() ) : ?>
13
+			<?php if (is_sticky()) : ?>
14 14
 				<hgroup>
15 15
 					<h2 class="entry-title"><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
16
-					<h3 class="entry-format"><?php _e( 'Featured', 'twentyeleven' ); ?></h3>
16
+					<h3 class="entry-format"><?php _e('Featured', 'twentyeleven'); ?></h3>
17 17
 				</hgroup>
18 18
 			<?php else : ?>
19 19
 			<h1 class="entry-title"><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h1>
20 20
 			<?php endif; ?>
21 21
 
22
-			<?php if ( 'post' == get_post_type() ) : ?>
22
+			<?php if ('post' == get_post_type()) : ?>
23 23
 			<div class="entry-meta">
24 24
 				<?php twentyeleven_posted_on(); ?>
25 25
 			</div><!-- .entry-meta -->
26 26
 			<?php endif; ?>
27 27
 
28
-			<?php if ( comments_open() && ! post_password_required() ) : ?>
28
+			<?php if (comments_open() && ! post_password_required()) : ?>
29 29
 			<div class="comments-link">
30
-				<?php comments_popup_link( '<span class="leave-reply">' . __( 'Reply', 'twentyeleven' ) . '</span>', _x( '1', 'comments number', 'twentyeleven' ), _x( '%', 'comments number', 'twentyeleven' ) ); ?>
30
+				<?php comments_popup_link('<span class="leave-reply">'.__('Reply', 'twentyeleven').'</span>', _x('1', 'comments number', 'twentyeleven'), _x('%', 'comments number', 'twentyeleven')); ?>
31 31
 			</div>
32 32
 			<?php endif; ?>
33 33
 		</header><!-- .entry-header -->
34 34
 
35
-		<?php if ( is_search() ) : // Only display Excerpts for Search ?>
35
+		<?php if (is_search()) : // Only display Excerpts for Search ?>
36 36
 		<div class="entry-summary">
37 37
 			<?php the_excerpt(); ?>
38 38
 		</div><!-- .entry-summary -->
39 39
 		<?php else : ?>
40 40
 		<div class="entry-content">
41
-			<?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentyeleven' ) ); ?>
42
-			<?php wp_link_pages( array( 'before' => '<div class="page-link"><span>' . __( 'Pages:', 'twentyeleven' ) . '</span>', 'after' => '</div>' ) ); ?>
41
+			<?php the_content(__('Continue reading <span class="meta-nav">&rarr;</span>', 'twentyeleven')); ?>
42
+			<?php wp_link_pages(array('before' => '<div class="page-link"><span>'.__('Pages:', 'twentyeleven').'</span>', 'after' => '</div>')); ?>
43 43
 		</div><!-- .entry-content -->
44 44
 		<?php endif; ?>
45 45
 
46 46
 		<footer class="entry-meta">
47 47
 			<?php $show_sep = false; ?>
48
-			<?php if ( is_object_in_taxonomy( get_post_type(), 'category' ) ) : // Hide category text when not supported ?>
48
+			<?php if (is_object_in_taxonomy(get_post_type(), 'category')) : // Hide category text when not supported ?>
49 49
 			<?php
50 50
 				/* translators: used between list items, there is a space after the comma */
51
-				$categories_list = get_the_category_list( __( ', ', 'twentyeleven' ) );
52
-				if ( $categories_list ):
51
+				$categories_list = get_the_category_list(__(', ', 'twentyeleven'));
52
+				if ($categories_list):
53 53
 			?>
54 54
 			<span class="cat-links">
55
-				<?php printf( __( '<span class="%1$s">Posted in</span> %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-cat-links', $categories_list );
55
+				<?php printf(__('<span class="%1$s">Posted in</span> %2$s', 'twentyeleven'), 'entry-utility-prep entry-utility-prep-cat-links', $categories_list);
56 56
 				$show_sep = true; ?>
57 57
 			</span>
58 58
 			<?php endif; // End if categories ?>
59 59
 			<?php endif; // End if is_object_in_taxonomy( get_post_type(), 'category' ) ?>
60
-			<?php if ( is_object_in_taxonomy( get_post_type(), 'post_tag' ) ) : // Hide tag text when not supported ?>
60
+			<?php if (is_object_in_taxonomy(get_post_type(), 'post_tag')) : // Hide tag text when not supported ?>
61 61
 			<?php
62 62
 				/* translators: used between list items, there is a space after the comma */
63
-				$tags_list = get_the_tag_list( '', __( ', ', 'twentyeleven' ) );
64
-				if ( $tags_list ):
65
-				if ( $show_sep ) : ?>
63
+				$tags_list = get_the_tag_list('', __(', ', 'twentyeleven'));
64
+				if ($tags_list):
65
+				if ($show_sep) : ?>
66 66
 			<span class="sep"> | </span>
67 67
 				<?php endif; // End if $show_sep ?>
68 68
 			<span class="tag-links">
69
-				<?php printf( __( '<span class="%1$s">Tagged</span> %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-tag-links', $tags_list );
69
+				<?php printf(__('<span class="%1$s">Tagged</span> %2$s', 'twentyeleven'), 'entry-utility-prep entry-utility-prep-tag-links', $tags_list);
70 70
 				$show_sep = true; ?>
71 71
 			</span>
72 72
 			<?php endif; // End if $tags_list ?>
73 73
 			<?php endif; // End if is_object_in_taxonomy( get_post_type(), 'post_tag' ) ?>
74 74
 
75
-			<?php if ( comments_open() ) : ?>
76
-			<?php if ( $show_sep ) : ?>
75
+			<?php if (comments_open()) : ?>
76
+			<?php if ($show_sep) : ?>
77 77
 			<span class="sep"> | </span>
78 78
 			<?php endif; // End if $show_sep ?>
79
-			<span class="comments-link"><?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a reply', 'twentyeleven' ) . '</span>', __( '<b>1</b> Reply', 'twentyeleven' ), __( '<b>%</b> Replies', 'twentyeleven' ) ); ?></span>
79
+			<span class="comments-link"><?php comments_popup_link('<span class="leave-reply">'.__('Leave a reply', 'twentyeleven').'</span>', __('<b>1</b> Reply', 'twentyeleven'), __('<b>%</b> Replies', 'twentyeleven')); ?></span>
80 80
 			<?php endif; // End if comments_open() ?>
81 81
 
82
-			<?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?>
82
+			<?php edit_post_link(__('Edit', 'twentyeleven'), '<span class="edit-link">', '</span>'); ?>
83 83
 		</footer><!-- .entry-meta -->
84 84
 	</article><!-- #post-<?php the_ID(); ?> -->
Please login to merge, or discard this patch.
Braces   +10 added lines, -4 removed lines patch added patch discarded remove patch
@@ -15,8 +15,11 @@  discard block
 block discarded – undo
15 15
 					<h2 class="entry-title"><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
16 16
 					<h3 class="entry-format"><?php _e( 'Featured', 'twentyeleven' ); ?></h3>
17 17
 				</hgroup>
18
-			<?php else : ?>
19
-			<h1 class="entry-title"><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h1>
18
+			<?php else {
19
+	: ?>
20
+			<h1 class="entry-title"><a href="<?php the_permalink();
21
+}
22
+?>" rel="bookmark"><?php the_title(); ?></a></h1>
20 23
 			<?php endif; ?>
21 24
 
22 25
 			<?php if ( 'post' == get_post_type() ) : ?>
@@ -36,9 +39,12 @@  discard block
 block discarded – undo
36 39
 		<div class="entry-summary">
37 40
 			<?php the_excerpt(); ?>
38 41
 		</div><!-- .entry-summary -->
39
-		<?php else : ?>
42
+		<?php else {
43
+	: ?>
40 44
 		<div class="entry-content">
41
-			<?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentyeleven' ) ); ?>
45
+			<?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentyeleven' ) );
46
+}
47
+?>
42 48
 			<?php wp_link_pages( array( 'before' => '<div class="page-link"><span>' . __( 'Pages:', 'twentyeleven' ) . '</span>', 'after' => '</div>' ) ); ?>
43 49
 		</div><!-- .entry-content -->
44 50
 		<?php endif; ?>
Please login to merge, or discard this patch.
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Template for displaying content
4
- *
5
- * @package WordPress
6
- * @subpackage Twenty_Eleven
7
- * @since Twenty Eleven 1.0
8
- */
3
+	 * Template for displaying content
4
+	 *
5
+	 * @package WordPress
6
+	 * @subpackage Twenty_Eleven
7
+	 * @since Twenty Eleven 1.0
8
+	 */
9 9
 ?>
10 10
 
11 11
 	<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
Please login to merge, or discard this patch.
src/wp-content/themes/twentyeleven/comments.php 1 patch
Spacing   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -13,8 +13,8 @@  discard block
 block discarded – undo
13 13
  */
14 14
 ?>
15 15
 	<div id="comments">
16
-	<?php if ( post_password_required() ) : ?>
17
-		<p class="nopassword"><?php _e( 'This post is password protected. Enter the password to view any comments.', 'twentyeleven' ); ?></p>
16
+	<?php if (post_password_required()) : ?>
17
+		<p class="nopassword"><?php _e('This post is password protected. Enter the password to view any comments.', 'twentyeleven'); ?></p>
18 18
 	</div><!-- #comments -->
19 19
 	<?php
20 20
 			/*
@@ -28,19 +28,19 @@  discard block
 block discarded – undo
28 28
 
29 29
 	<?php // You can start editing here -- including this comment! ?>
30 30
 
31
-	<?php if ( have_comments() ) : ?>
31
+	<?php if (have_comments()) : ?>
32 32
 		<h2 id="comments-title">
33 33
 			<?php
34
-				printf( _n( 'One thought on &ldquo;%2$s&rdquo;', '%1$s thoughts on &ldquo;%2$s&rdquo;', get_comments_number(), 'twentyeleven' ),
35
-					number_format_i18n( get_comments_number() ), '<span>' . get_the_title() . '</span>' );
34
+				printf(_n('One thought on &ldquo;%2$s&rdquo;', '%1$s thoughts on &ldquo;%2$s&rdquo;', get_comments_number(), 'twentyeleven'),
35
+					number_format_i18n(get_comments_number()), '<span>'.get_the_title().'</span>');
36 36
 			?>
37 37
 		</h2>
38 38
 
39
-		<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // are there comments to navigate through ?>
39
+		<?php if (get_comment_pages_count() > 1 && get_option('page_comments')) : // are there comments to navigate through ?>
40 40
 		<nav id="comment-nav-above">
41
-			<h1 class="assistive-text"><?php _e( 'Comment navigation', 'twentyeleven' ); ?></h1>
42
-			<div class="nav-previous"><?php previous_comments_link( __( '&larr; Older Comments', 'twentyeleven' ) ); ?></div>
43
-			<div class="nav-next"><?php next_comments_link( __( 'Newer Comments &rarr;', 'twentyeleven' ) ); ?></div>
41
+			<h1 class="assistive-text"><?php _e('Comment navigation', 'twentyeleven'); ?></h1>
42
+			<div class="nav-previous"><?php previous_comments_link(__('&larr; Older Comments', 'twentyeleven')); ?></div>
43
+			<div class="nav-next"><?php next_comments_link(__('Newer Comments &rarr;', 'twentyeleven')); ?></div>
44 44
 		</nav>
45 45
 		<?php endif; // check for comment navigation ?>
46 46
 
@@ -53,15 +53,15 @@  discard block
 block discarded – undo
53 53
 				 * define twentyeleven_comment() and that will be used instead.
54 54
 				 * See twentyeleven_comment() in twentyeleven/functions.php for more.
55 55
 				 */
56
-				wp_list_comments( array( 'callback' => 'twentyeleven_comment' ) );
56
+				wp_list_comments(array('callback' => 'twentyeleven_comment'));
57 57
 			?>
58 58
 		</ol>
59 59
 
60
-		<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // are there comments to navigate through ?>
60
+		<?php if (get_comment_pages_count() > 1 && get_option('page_comments')) : // are there comments to navigate through ?>
61 61
 		<nav id="comment-nav-below">
62
-			<h1 class="assistive-text"><?php _e( 'Comment navigation', 'twentyeleven' ); ?></h1>
63
-			<div class="nav-previous"><?php previous_comments_link( __( '&larr; Older Comments', 'twentyeleven' ) ); ?></div>
64
-			<div class="nav-next"><?php next_comments_link( __( 'Newer Comments &rarr;', 'twentyeleven' ) ); ?></div>
62
+			<h1 class="assistive-text"><?php _e('Comment navigation', 'twentyeleven'); ?></h1>
63
+			<div class="nav-previous"><?php previous_comments_link(__('&larr; Older Comments', 'twentyeleven')); ?></div>
64
+			<div class="nav-next"><?php next_comments_link(__('Newer Comments &rarr;', 'twentyeleven')); ?></div>
65 65
 		</nav>
66 66
 		<?php endif; // check for comment navigation ?>
67 67
 
@@ -70,8 +70,8 @@  discard block
 block discarded – undo
70 70
 		 * If there are no comments and comments are closed, let's leave a little note, shall we?
71 71
 		 * But we only want the note on posts and pages that had comments in the first place.
72 72
 		 */
73
-		if ( ! comments_open() && get_comments_number() ) : ?>
74
-		<p class="nocomments"><?php _e( 'Comments are closed.' , 'twentyeleven' ); ?></p>
73
+		if ( ! comments_open() && get_comments_number()) : ?>
74
+		<p class="nocomments"><?php _e('Comments are closed.', 'twentyeleven'); ?></p>
75 75
 		<?php endif; ?>
76 76
 
77 77
 	<?php endif; // have_comments() ?>
Please login to merge, or discard this patch.
src/wp-content/plugins/hello.php 2 patches
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -44,10 +44,10 @@  discard block
 block discarded – undo
44 44
 Dolly'll never go away again";
45 45
 
46 46
 	// Here we split it into lines
47
-	$lyrics = explode( "\n", $lyrics );
47
+	$lyrics = explode("\n", $lyrics);
48 48
 
49 49
 	// And then randomly choose a line
50
-	return wptexturize( $lyrics[ mt_rand( 0, count( $lyrics ) - 1 ) ] );
50
+	return wptexturize($lyrics[mt_rand(0, count($lyrics) - 1)]);
51 51
 }
52 52
 
53 53
 // This just echoes the chosen line, we'll position it later
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
 }
58 58
 
59 59
 // Now we set that function up to execute when the admin_notices action is called
60
-add_action( 'admin_notices', 'hello_dolly' );
60
+add_action('admin_notices', 'hello_dolly');
61 61
 
62 62
 // We need some CSS to position the paragraph
63 63
 function dolly_css() {
@@ -77,6 +77,6 @@  discard block
 block discarded – undo
77 77
 	";
78 78
 }
79 79
 
80
-add_action( 'admin_head', 'dolly_css' );
80
+add_action('admin_head', 'dolly_css');
81 81
 
82 82
 ?>
Please login to merge, or discard this patch.
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @package Hello_Dolly
4
- * @version 1.6
5
- */
3
+			 * @package Hello_Dolly
4
+			 * @version 1.6
5
+			 */
6 6
 /*
7 7
 Plugin Name: Hello Dolly
8 8
 Plugin URI: http://wordpress.org/plugins/hello-dolly/
Please login to merge, or discard this patch.
src/wp-mail.php 3 patches
Braces   +29 added lines, -17 removed lines patch added patch discarded remove patch
@@ -11,8 +11,9 @@  discard block
 block discarded – undo
11 11
 require(dirname(__FILE__) . '/wp-load.php');
12 12
 
13 13
 /** This filter is documented in wp-admin/options.php */
14
-if ( ! apply_filters( 'enable_post_by_email_configuration', true ) )
14
+if ( ! apply_filters( 'enable_post_by_email_configuration', true ) ) {
15 15
 	wp_die( __( 'This action has been disabled by the administrator.' ) );
16
+}
16 17
 
17 18
 /**
18 19
  * Fires to allow a plugin to do a complete takeover of Post by Email.
@@ -25,13 +26,16 @@  discard block
 block discarded – undo
25 26
 require_once( ABSPATH . WPINC . '/class-pop3.php' );
26 27
 
27 28
 /** Only check at this interval for new messages. */
28
-if ( !defined('WP_MAIL_INTERVAL') )
29
-	define('WP_MAIL_INTERVAL', 300); // 5 minutes
29
+if ( !defined('WP_MAIL_INTERVAL') ) {
30
+	define('WP_MAIL_INTERVAL', 300);
31
+}
32
+// 5 minutes
30 33
 
31 34
 $last_checked = get_transient('mailserver_last_checked');
32 35
 
33
-if ( $last_checked )
36
+if ( $last_checked ) {
34 37
 	wp_die(__('Slow down cowboy, no need to check for new mails so often!'));
38
+}
35 39
 
36 40
 set_transient('mailserver_last_checked', true, WP_MAIL_INTERVAL);
37 41
 
@@ -41,13 +45,15 @@  discard block
 block discarded – undo
41 45
 
42 46
 $pop3 = new POP3();
43 47
 
44
-if ( !$pop3->connect( get_option('mailserver_url'), get_option('mailserver_port') ) || !$pop3->user( get_option('mailserver_login') ) )
48
+if ( !$pop3->connect( get_option('mailserver_url'), get_option('mailserver_port') ) || !$pop3->user( get_option('mailserver_login') ) ) {
45 49
 	wp_die( esc_html( $pop3->ERROR ) );
50
+}
46 51
 
47 52
 $count = $pop3->pass( get_option('mailserver_pass') );
48 53
 
49
-if( false === $count )
54
+if( false === $count ) {
50 55
 	wp_die( esc_html( $pop3->ERROR ) );
56
+}
51 57
 
52 58
 if( 0 === $count ) {
53 59
 	$pop3->quit();
@@ -69,8 +75,9 @@  discard block
 block discarded – undo
69 75
 	$dmonths = array('Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec');
70 76
 	foreach ($message as $line) {
71 77
 		// Body signal.
72
-		if ( strlen($line) < 3 )
73
-			$bodysignal = true;
78
+		if ( strlen($line) < 3 ) {
79
+					$bodysignal = true;
80
+		}
74 81
 		if ( $bodysignal ) {
75 82
 			$content .= $line;
76 83
 		} else {
@@ -113,10 +120,11 @@  discard block
 block discarded – undo
113 120
 			 * otherwise use the site admin.
114 121
 			 */
115 122
 			if ( ! $author_found && preg_match( '/^(From|Reply-To): /', $line ) ) {
116
-				if ( preg_match('|[a-z0-9_.-]+@[a-z0-9_.-]+(?!.*<)|i', $line, $matches) )
117
-					$author = $matches[0];
118
-				else
119
-					$author = trim($line);
123
+				if ( preg_match('|[a-z0-9_.-]+@[a-z0-9_.-]+(?!.*<)|i', $line, $matches) ) {
124
+									$author = $matches[0];
125
+				} else {
126
+									$author = trim($line);
127
+				}
120 128
 				$author = sanitize_email($author);
121 129
 				if ( is_email($author) ) {
122 130
 					echo '<p>' . sprintf(__('Author is %s'), $author) . '</p>';
@@ -220,7 +228,9 @@  discard block
 block discarded – undo
220 228
 
221 229
 	$post_title = xmlrpc_getposttitle($content);
222 230
 
223
-	if ($post_title == '') $post_title = $subject;
231
+	if ($post_title == '') {
232
+		$post_title = $subject;
233
+	}
224 234
 
225 235
 	$post_category = array(get_option('default_email_category'));
226 236
 
@@ -228,12 +238,14 @@  discard block
 block discarded – undo
228 238
 	$post_data = wp_slash($post_data);
229 239
 
230 240
 	$post_ID = wp_insert_post($post_data);
231
-	if ( is_wp_error( $post_ID ) )
232
-		echo "\n" . $post_ID->get_error_message();
241
+	if ( is_wp_error( $post_ID ) ) {
242
+			echo "\n" . $post_ID->get_error_message();
243
+	}
233 244
 
234 245
 	// We couldn't post, for whatever reason. Better move forward to the next email.
235
-	if ( empty( $post_ID ) )
236
-		continue;
246
+	if ( empty( $post_ID ) ) {
247
+			continue;
248
+	}
237 249
 
238 250
 	/**
239 251
 	 * Fires after a post submitted by email is published.
Please login to merge, or discard this patch.
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Gets the email message from the user's mailbox to add as
4
- * a WordPress post. Mailbox connection information must be
5
- * configured under Settings > Writing
6
- *
7
- * @package WordPress
8
- */
3
+	 * Gets the email message from the user's mailbox to add as
4
+	 * a WordPress post. Mailbox connection information must be
5
+	 * configured under Settings > Writing
6
+	 *
7
+	 * @package WordPress
8
+	 */
9 9
 
10 10
 /** Make sure that the WordPress bootstrap has run before continuing. */
11 11
 require(dirname(__FILE__) . '/wp-load.php');
Please login to merge, or discard this patch.
Spacing   +59 added lines, -59 removed lines patch added patch discarded remove patch
@@ -8,29 +8,29 @@  discard block
 block discarded – undo
8 8
  */
9 9
 
10 10
 /** Make sure that the WordPress bootstrap has run before continuing. */
11
-require(dirname(__FILE__) . '/wp-load.php');
11
+require(dirname(__FILE__).'/wp-load.php');
12 12
 
13 13
 /** This filter is documented in wp-admin/options.php */
14
-if ( ! apply_filters( 'enable_post_by_email_configuration', true ) )
15
-	wp_die( __( 'This action has been disabled by the administrator.' ) );
14
+if ( ! apply_filters('enable_post_by_email_configuration', true))
15
+	wp_die(__('This action has been disabled by the administrator.'));
16 16
 
17 17
 /**
18 18
  * Fires to allow a plugin to do a complete takeover of Post by Email.
19 19
  *
20 20
  * @since 2.9.0
21 21
  */
22
-do_action( 'wp-mail.php' );
22
+do_action('wp-mail.php');
23 23
 
24 24
 /** Get the POP3 class with which to access the mailbox. */
25
-require_once( ABSPATH . WPINC . '/class-pop3.php' );
25
+require_once(ABSPATH.WPINC.'/class-pop3.php');
26 26
 
27 27
 /** Only check at this interval for new messages. */
28
-if ( !defined('WP_MAIL_INTERVAL') )
28
+if ( ! defined('WP_MAIL_INTERVAL'))
29 29
 	define('WP_MAIL_INTERVAL', 300); // 5 minutes
30 30
 
31 31
 $last_checked = get_transient('mailserver_last_checked');
32 32
 
33
-if ( $last_checked )
33
+if ($last_checked)
34 34
 	wp_die(__('Slow down cowboy, no need to check for new mails so often!'));
35 35
 
36 36
 set_transient('mailserver_last_checked', true, WP_MAIL_INTERVAL);
@@ -41,20 +41,20 @@  discard block
 block discarded – undo
41 41
 
42 42
 $pop3 = new POP3();
43 43
 
44
-if ( !$pop3->connect( get_option('mailserver_url'), get_option('mailserver_port') ) || !$pop3->user( get_option('mailserver_login') ) )
45
-	wp_die( esc_html( $pop3->ERROR ) );
44
+if ( ! $pop3->connect(get_option('mailserver_url'), get_option('mailserver_port')) || ! $pop3->user(get_option('mailserver_login')))
45
+	wp_die(esc_html($pop3->ERROR));
46 46
 
47
-$count = $pop3->pass( get_option('mailserver_pass') );
47
+$count = $pop3->pass(get_option('mailserver_pass'));
48 48
 
49
-if( false === $count )
50
-	wp_die( esc_html( $pop3->ERROR ) );
49
+if (false === $count)
50
+	wp_die(esc_html($pop3->ERROR));
51 51
 
52
-if( 0 === $count ) {
52
+if (0 === $count) {
53 53
 	$pop3->quit();
54
-	wp_die( __('There doesn&#8217;t seem to be any new mail.') );
54
+	wp_die(__('There doesn&#8217;t seem to be any new mail.'));
55 55
 }
56 56
 
57
-for ( $i = 1; $i <= $count; $i++ ) {
57
+for ($i = 1; $i <= $count; $i++) {
58 58
 
59 59
 	$message = $pop3->get($i);
60 60
 
@@ -69,28 +69,28 @@  discard block
 block discarded – undo
69 69
 	$dmonths = array('Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec');
70 70
 	foreach ($message as $line) {
71 71
 		// Body signal.
72
-		if ( strlen($line) < 3 )
72
+		if (strlen($line) < 3)
73 73
 			$bodysignal = true;
74
-		if ( $bodysignal ) {
74
+		if ($bodysignal) {
75 75
 			$content .= $line;
76 76
 		} else {
77
-			if ( preg_match('/Content-Type: /i', $line) ) {
77
+			if (preg_match('/Content-Type: /i', $line)) {
78 78
 				$content_type = trim($line);
79 79
 				$content_type = substr($content_type, 14, strlen($content_type) - 14);
80 80
 				$content_type = explode(';', $content_type);
81
-				if ( ! empty( $content_type[1] ) ) {
81
+				if ( ! empty($content_type[1])) {
82 82
 					$charset = explode('=', $content_type[1]);
83
-					$charset = ( ! empty( $charset[1] ) ) ? trim($charset[1]) : '';
83
+					$charset = ( ! empty($charset[1])) ? trim($charset[1]) : '';
84 84
 				}
85 85
 				$content_type = $content_type[0];
86 86
 			}
87
-			if ( preg_match('/Content-Transfer-Encoding: /i', $line) ) {
87
+			if (preg_match('/Content-Transfer-Encoding: /i', $line)) {
88 88
 				$content_transfer_encoding = trim($line);
89 89
 				$content_transfer_encoding = substr($content_transfer_encoding, 27, strlen($content_transfer_encoding) - 27);
90 90
 				$content_transfer_encoding = explode(';', $content_transfer_encoding);
91 91
 				$content_transfer_encoding = $content_transfer_encoding[0];
92 92
 			}
93
-			if ( ( $content_type == 'multipart/alternative' ) && ( false !== strpos($line, 'boundary="') ) && ( '' == $boundary ) ) {
93
+			if (($content_type == 'multipart/alternative') && (false !== strpos($line, 'boundary="')) && ('' == $boundary)) {
94 94
 				$boundary = trim($line);
95 95
 				$boundary = explode('"', $boundary);
96 96
 				$boundary = $boundary[1];
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
 				$subject = trim($line);
100 100
 				$subject = substr($subject, 9, strlen($subject) - 9);
101 101
 				// Captures any text in the subject before $phone_delim as the subject
102
-				if ( function_exists('iconv_mime_decode') ) {
102
+				if (function_exists('iconv_mime_decode')) {
103 103
 					$subject = iconv_mime_decode($subject, 2, get_option('blog_charset'));
104 104
 				} else {
105 105
 					$subject = wp_iso_descrambler($subject);
@@ -112,36 +112,36 @@  discard block
 block discarded – undo
112 112
 			 * Set the author using the email address (From or Reply-To, the last used)
113 113
 			 * otherwise use the site admin.
114 114
 			 */
115
-			if ( ! $author_found && preg_match( '/^(From|Reply-To): /', $line ) ) {
116
-				if ( preg_match('|[a-z0-9_.-]+@[a-z0-9_.-]+(?!.*<)|i', $line, $matches) )
115
+			if ( ! $author_found && preg_match('/^(From|Reply-To): /', $line)) {
116
+				if (preg_match('|[a-z0-9_.-]+@[a-z0-9_.-]+(?!.*<)|i', $line, $matches))
117 117
 					$author = $matches[0];
118 118
 				else
119 119
 					$author = trim($line);
120 120
 				$author = sanitize_email($author);
121
-				if ( is_email($author) ) {
122
-					echo '<p>' . sprintf(__('Author is %s'), $author) . '</p>';
121
+				if (is_email($author)) {
122
+					echo '<p>'.sprintf(__('Author is %s'), $author).'</p>';
123 123
 					$userdata = get_user_by('email', $author);
124
-					if ( ! empty( $userdata ) ) {
124
+					if ( ! empty($userdata)) {
125 125
 						$post_author = $userdata->ID;
126 126
 						$author_found = true;
127 127
 					}
128 128
 				}
129 129
 			}
130 130
 
131
-			if ( preg_match( '/Date: /i', $line ) ) { // of the form '20 Mar 2002 20:32:37 +0100'
132
-				$ddate = str_replace( 'Date: ', '', trim( $line ) );
133
-				$ddate = preg_replace( '!\s*\(.+\)\s*$!', '', $ddate );	// remove parenthesised timezone string if it exists, as this confuses strtotime
134
-				$ddate_U = strtotime( $ddate );
135
-				$post_date = gmdate( 'Y-m-d H:i:s', $ddate_U + $time_difference );
136
-				$post_date_gmt = gmdate( 'Y-m-d H:i:s', $ddate_U );
131
+			if (preg_match('/Date: /i', $line)) { // of the form '20 Mar 2002 20:32:37 +0100'
132
+				$ddate = str_replace('Date: ', '', trim($line));
133
+				$ddate = preg_replace('!\s*\(.+\)\s*$!', '', $ddate); // remove parenthesised timezone string if it exists, as this confuses strtotime
134
+				$ddate_U = strtotime($ddate);
135
+				$post_date = gmdate('Y-m-d H:i:s', $ddate_U + $time_difference);
136
+				$post_date_gmt = gmdate('Y-m-d H:i:s', $ddate_U);
137 137
 			}
138 138
 		}
139 139
 	}
140 140
 
141 141
 	// Set $post_status based on $author_found and on author's publish_posts capability
142
-	if ( $author_found ) {
142
+	if ($author_found) {
143 143
 		$user = new WP_User($post_author);
144
-		$post_status = ( $user->has_cap('publish_posts') ) ? 'publish' : 'pending';
144
+		$post_status = ($user->has_cap('publish_posts')) ? 'publish' : 'pending';
145 145
 	} else {
146 146
 		// Author not found in DB, set status to pending. Author already set to admin.
147 147
 		$post_status = 'pending';
@@ -149,12 +149,12 @@  discard block
 block discarded – undo
149 149
 
150 150
 	$subject = trim($subject);
151 151
 
152
-	if ( $content_type == 'multipart/alternative' ) {
152
+	if ($content_type == 'multipart/alternative') {
153 153
 		$content = explode('--'.$boundary, $content);
154 154
 		$content = $content[2];
155 155
 
156 156
 		// Match case-insensitive content-transfer-encoding.
157
-		if ( preg_match( '/Content-Transfer-Encoding: quoted-printable/i', $content, $delim) ) {
157
+		if (preg_match('/Content-Transfer-Encoding: quoted-printable/i', $content, $delim)) {
158 158
 			$content = explode($delim[0], $content);
159 159
 			$content = $content[1];
160 160
 		}
@@ -172,19 +172,19 @@  discard block
 block discarded – undo
172 172
 	 *
173 173
 	 * @param string $content The original email content.
174 174
 	 */
175
-	$content = apply_filters( 'wp_mail_original_content', $content );
175
+	$content = apply_filters('wp_mail_original_content', $content);
176 176
 
177
-	if ( false !== stripos($content_transfer_encoding, "quoted-printable") ) {
177
+	if (false !== stripos($content_transfer_encoding, "quoted-printable")) {
178 178
 		$content = quoted_printable_decode($content);
179 179
 	}
180 180
 
181
-	if ( function_exists('iconv') && ! empty( $charset ) ) {
181
+	if (function_exists('iconv') && ! empty($charset)) {
182 182
 		$content = iconv($charset, get_option('blog_charset'), $content);
183 183
 	}
184 184
 
185 185
 	// Captures any text in the body after $phone_delim as the body
186 186
 	$content = explode($phone_delim, $content);
187
-	$content = empty( $content[1] ) ? $content[0] : $content[1];
187
+	$content = empty($content[1]) ? $content[0] : $content[1];
188 188
 
189 189
 	$content = trim($content);
190 190
 
@@ -195,7 +195,7 @@  discard block
 block discarded – undo
195 195
 	 *
196 196
 	 * @param string $content The email content.
197 197
 	 */
198
-	$post_content = apply_filters( 'phone_content', $content );
198
+	$post_content = apply_filters('phone_content', $content);
199 199
 
200 200
 	$post_title = xmlrpc_getposttitle($content);
201 201
 
@@ -203,15 +203,15 @@  discard block
 block discarded – undo
203 203
 
204 204
 	$post_category = array(get_option('default_email_category'));
205 205
 
206
-	$post_data = compact('post_content','post_title','post_date','post_date_gmt','post_author','post_category', 'post_status');
206
+	$post_data = compact('post_content', 'post_title', 'post_date', 'post_date_gmt', 'post_author', 'post_category', 'post_status');
207 207
 	$post_data = wp_slash($post_data);
208 208
 
209 209
 	$post_ID = wp_insert_post($post_data);
210
-	if ( is_wp_error( $post_ID ) )
211
-		echo "\n" . $post_ID->get_error_message();
210
+	if (is_wp_error($post_ID))
211
+		echo "\n".$post_ID->get_error_message();
212 212
 
213 213
 	// We couldn't post, for whatever reason. Better move forward to the next email.
214
-	if ( empty( $post_ID ) )
214
+	if (empty($post_ID))
215 215
 		continue;
216 216
 
217 217
 	/**
@@ -221,25 +221,25 @@  discard block
 block discarded – undo
221 221
 	 *
222 222
 	 * @param int $post_ID The post ID.
223 223
 	 */
224
-	do_action( 'publish_phone', $post_ID );
224
+	do_action('publish_phone', $post_ID);
225 225
 
226
-	echo "\n<p><strong>" . __( 'Author:' ) . '</strong> ' . esc_html( $post_author ) . '</p>';
227
-	echo "\n<p><strong>" . __( 'Posted title:' ) . '</strong> ' . esc_html( $post_title ) . '</p>';
226
+	echo "\n<p><strong>".__('Author:').'</strong> '.esc_html($post_author).'</p>';
227
+	echo "\n<p><strong>".__('Posted title:').'</strong> '.esc_html($post_title).'</p>';
228 228
 
229
-	if(!$pop3->delete($i)) {
230
-		echo '<p>' . sprintf(
229
+	if ( ! $pop3->delete($i)) {
230
+		echo '<p>'.sprintf(
231 231
 			/* translators: %s: POP3 error */
232
-			__( 'Oops: %s' ),
233
-			esc_html( $pop3->ERROR )
234
-		) . '</p>';
232
+			__('Oops: %s'),
233
+			esc_html($pop3->ERROR)
234
+		).'</p>';
235 235
 		$pop3->reset();
236 236
 		exit;
237 237
 	} else {
238
-		echo '<p>' . sprintf(
238
+		echo '<p>'.sprintf(
239 239
 			/* translators: %s: the message ID */
240
-			__( 'Mission complete. Message %s deleted.' ),
241
-			'<strong>' . $i . '</strong>'
242
-		) . '</p>';
240
+			__('Mission complete. Message %s deleted.'),
241
+			'<strong>'.$i.'</strong>'
242
+		).'</p>';
243 243
 	}
244 244
 
245 245
 }
Please login to merge, or discard this patch.