Skip to content

Commit

Permalink
Check for default style mismatch
Browse files Browse the repository at this point in the history
  • Loading branch information
ajaydsouza committed Sep 19, 2015
1 parent 37cd83d commit e73822d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions admin/admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ function crp_options() {
$crp_settings['crp_styles'] = 'no_style';
update_option( 'ald_crp_settings', $crp_settings );
}
if ( ( true == $crp_settings['include_default_style'] ) && ( 'rounded_thumbs' != $crp_settings['crp_styles'] ) ) {
$crp_settings['crp_styles'] = 'rounded_thumbs';
update_option( 'ald_crp_settings', $crp_settings );
}


if ( ( isset( $_POST['crp_save'] ) ) && ( check_admin_referer( 'crp-plugin-settings' ) ) ) {
Expand Down

0 comments on commit e73822d

Please sign in to comment.