Code Duplication    Length = 16-17 lines in 2 locations

projects/plugins/jetpack/modules/subscriptions/views.php 2 locations

@@ 169-184 (lines=16) @@
166
							__( 'Manage your email preferences.', 'jetpack' )
167
						); ?></p>
168
					<?php break;
169
				case 'many_pending_subs':
170
					?>
171
					<p class="error">
172
						<?php
173
						printf(
174
							wp_kses(
175
								/* translators: 1: Link to Subscription Management page https://subscribe.wordpress.com/, 2: Description of this link */
176
								__( 'You already have several pending email subscriptions. <br /> Approve or delete a few subscriptions at <a href="%1$s" title="%2$s" target="_blank" rel="noopener noreferrer">subscribe.wordpress.com</a> before continuing.', 'jetpack' ),
177
								self::$allowed_html_tags_for_message
178
							),
179
							'https://subscribe.wordpress.com/',
180
							esc_attr__( 'Manage your email preferences.', 'jetpack' )
181
						);
182
						?>
183
					</p>
184
					<?php break;
185
				case 'pending':
186
					?>
187
					<p class="error">
@@ 185-201 (lines=17) @@
182
						?>
183
					</p>
184
					<?php break;
185
				case 'pending':
186
					?>
187
					<p class="error">
188
						<?php
189
						printf(
190
							wp_kses(
191
								/* translators: 1: Link to Subscription Management page https://subscribe.wordpress.com/, 2: Description of this link */
192
								__( 'You subscribed this site before but you have not clicked the confirmation link yet. Please check your inbox. <br /> Otherwise, you can manage your preferences at <a href="%1$s" title="%2$s" target="_blank" rel="noopener noreferrer">subscribe.wordpress.com</a>.', 'jetpack' ),
193
								self::$allowed_html_tags_for_message
194
							),
195
							'https://subscribe.wordpress.com/',
196
							esc_attr__( 'Manage your email preferences.', 'jetpack' )
197
						);
198
						?>
199
					</p>
200
					<?php
201
					break;
202
				case 'success' : ?>
203
                    <div class="success"><?php echo wpautop( str_replace( '[total-subscribers]', number_format_i18n( $subscribers_total['value'] ), $success_message ) ); ?></div>
204
					<?php break;