Code Duplication    Length = 6-7 lines in 2 locations

modules/custom-css/custom-css.php 2 locations

@@ 1468-1474 (lines=7) @@
1465
		$newest_safecss_post = Jetpack_Custom_CSS::get_current_revision();
1466
1467
		if ( $newest_safecss_post ) {
1468
			if ( get_option( 'safecss_content_width' ) ) {
1469
				// Add the meta to the post and the latest revision.
1470
				update_post_meta( $newest_safecss_post['ID'], 'content_width', get_option( 'safecss_content_width' ) );
1471
				update_metadata( 'post', $newest_safecss_post['ID'], 'content_width', get_option( 'safecss_content_width' ) );
1472
1473
				delete_option( 'safecss_content_width' );
1474
			}
1475
1476
			if ( get_option( 'safecss_add' ) ) {
1477
				update_post_meta( $newest_safecss_post['ID'], 'custom_css_add', get_option( 'safecss_add' ) );
@@ 1476-1481 (lines=6) @@
1473
				delete_option( 'safecss_content_width' );
1474
			}
1475
1476
			if ( get_option( 'safecss_add' ) ) {
1477
				update_post_meta( $newest_safecss_post['ID'], 'custom_css_add', get_option( 'safecss_add' ) );
1478
				update_metadata( 'post', $newest_safecss_post['ID'], 'custom_css_add', get_option( 'safecss_add' ) );
1479
1480
				delete_option( 'safecss_add' );
1481
			}
1482
		}
1483
	}
1484