| @@ -57,9 +57,9 @@ | ||
| 57 | 57 | return faustwp_get_setting( 'secret_key', '' ); |
| 58 | 58 | } |
| 59 | 59 | |
| 60 | 60 | /** |
| 61 | - * Get a FaustWP setting by name. | |
| 61 | + * Get a Faust setting by name. | |
| 62 | 62 | * |
| 63 | 63 | * @param string $name The setting name. |
| 64 | 64 | * @param mixed $default Optional setting value. Default false. |
| 65 | 65 | * |
| @@ -83,9 +83,9 @@ | ||
| 83 | 83 | return apply_filters( 'faustwp_get_setting', $value, $name, $default ); |
| 84 | 84 | } |
| 85 | 85 | |
| 86 | 86 | /** |
| 87 | - * Update a FaustWP setting value. | |
| 87 | + * Update a Faust setting value. | |
| 88 | 88 | * |
| 89 | 89 | * @link https://developer.wordpress.org/reference/functions/update_option/ |
| 90 | 90 | * |
| 91 | 91 | * @param string $name The setting name. |
| @@ -100,9 +100,9 @@ | ||
| 100 | 100 | update_option( 'faustwp_settings', $settings ); |
| 101 | 101 | } |
| 102 | 102 | |
| 103 | 103 | /** |
| 104 | - * Get all FaustWP settings. | |
| 104 | + * Get all Faust settings. | |
| 105 | 105 | * |
| 106 | 106 | * @return array An array of settings. |
| 107 | 107 | */ |
| 108 | 108 | function faustwp_get_settings() { |
| @@ -125,9 +125,9 @@ | ||
| 125 | 125 | $secret_key = get_secret_key(); |
| 126 | 126 | $settings = faustwp_get_settings(); |
| 127 | 127 | |
| 128 | 128 | if ( empty( $settings ) ) { |
| 129 | - faustwp_update_setting( 'disable_theme', '1' ); | |
| 129 | + faustwp_update_setting( 'disable_theme', '0' ); | |
| 130 | 130 | faustwp_update_setting( 'enable_rewrites', '1' ); |
| 131 | 131 | faustwp_update_setting( 'enable_redirects', '1' ); |
| 132 | 132 | |
| 133 | 133 | // Force WP to regenerate rewrite rules without calling flush_rewrite_rules which breaks |