Code Duplication    Length = 5-5 lines in 2 locations

includes/admin/class-auto-load-next-post-admin-settings.php 2 locations

@@ 273-277 (lines=5) @@
270
				$description = $tip = '';
271
			}
272
273
			if ($description && in_array($value['type'], array('textarea', 'radio'))) {
274
				$description = '<p style="margin-top:0">'.wp_kses_post($description).'</p>';
275
			} else if ($description) {
276
				$description = '<span class="description">'.wp_kses_post($description).'</span>';
277
			}
278
279
			if ($tip && in_array($value['type'], array('checkbox'))) {
280
				$tip = '<p class="description">'.$tip.'</p>';
@@ 279-283 (lines=5) @@
276
				$description = '<span class="description">'.wp_kses_post($description).'</span>';
277
			}
278
279
			if ($tip && in_array($value['type'], array('checkbox'))) {
280
				$tip = '<p class="description">'.$tip.'</p>';
281
			} else if ($tip) {
282
				$tip = '<img class="help_tip" data-tip="'.esc_attr($tip).'" src="' . AUTO_LOAD_NEXT_POST_URL_PATH . '/assets/images/help.png" height="16" width="16" />';
283
			}
284
285
			// Switch based on type
286
			switch ($value['type']) {