Skip to content

Commit 0af1650

Browse files
committed
Inverse Option Restore
1 parent 599b683 commit 0af1650

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tootpress_database.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,10 +128,11 @@ function tootpress_restore_factory_settings() {
128128
update_option('tootpress_page_id', "");
129129
update_option('tootpress_amount_toots_page',"50");
130130
update_option('tootpress_navigation',"standard");
131-
update_option('tootpress_css',"1");
131+
// CSS Option requires an inverse value
132+
update_option('tootpress_css',"0");
132133
update_option('tootpress_backlink','0');
133134
update_option('tootpress_developer',"0");
134-
135+
135136
global $wpdb;
136137
$table_name=$wpdb->prefix . 'tootpress_toots';
137138
$wpdb->get_var( "DELETE FROM $table_name" );

0 commit comments

Comments
 (0)