Skip to content

Commit d4ba088

Browse files
committed
Remove unnecessary code.
1 parent 469a990 commit d4ba088

File tree

2 files changed

+0
-16
lines changed

2 files changed

+0
-16
lines changed

mailchimp.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -449,10 +449,6 @@ function mailchimp_sf_set_form_defaults( $list_name = '' ) {
449449
update_option( 'mc_custom_style', 'off' );
450450
update_option( 'mc_double_optin', true );
451451
update_option( 'mc_use_unsub_link', 'off' );
452-
update_option( 'mc_header_border_width', '1' );
453-
update_option( 'mc_header_border_color', 'E3E3E3' );
454-
update_option( 'mc_header_background', 'FFFFFF' );
455-
update_option( 'mc_header_text_color', 'CC6600' );
456452

457453
update_option( 'mc_form_border_width', '1' );
458454
update_option( 'mc_form_border_color', 'E0E0E0' );

views/css/frontend.php

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -33,18 +33,6 @@
3333
color: #<?php echo esc_attr( get_option( 'mc_form_text_color' ) ); ?>;
3434
background-color: #<?php echo esc_attr( get_option( 'mc_form_background' ) ); ?>;
3535
}
36-
37-
38-
.mc_custom_border_hdr {
39-
border-width: <?php echo absint( get_option( 'mc_header_border_width' ) ); ?>px;
40-
border-style: <?php echo ( get_option( 'mc_header_border_width' ) === 0 ) ? 'none' : 'solid'; ?>;
41-
border-color: #<?php echo esc_attr( get_option( 'mc_header_border_color' ) ); ?>;
42-
color: #<?php echo esc_attr( get_option( 'mc_header_text_color' ) ); ?>;
43-
background-color: #<?php echo esc_attr( get_option( 'mc_header_background' ) ); ?>;
44-
<!-- font-size: 1.2em;-->
45-
padding:5px 10px;
46-
width: 100%;
47-
}
4836
<?php
4937
}
5038
?>

0 commit comments

Comments
 (0)