Code Duplication    Length = 6-7 lines in 2 locations

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

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