Skip to content

Commit

Permalink
feat: Set enable_image_source to on by default
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisWiegman committed Apr 16, 2024
1 parent bced682 commit 20b74dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/faustwp/includes/settings/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ function maybe_set_default_settings() {
faustwp_update_setting( 'disable_theme', '0' );
faustwp_update_setting( 'enable_rewrites', '1' );
faustwp_update_setting( 'enable_redirects', '1' );
faustwp_update_setting( 'enable_image_source', '1' );

// Force WP to regenerate rewrite rules without calling flush_rewrite_rules which breaks
// things when used inside of `switch_to_blog()`.
Expand Down Expand Up @@ -191,4 +192,3 @@ function get_icon( $icon ) {

return '';
}

0 comments on commit 20b74dc

Please sign in to comment.