Skip to content

Commit 46b2d12

Browse files
authored
Updates
1 parent 59ca653 commit 46b2d12

File tree

1 file changed

+12
-15
lines changed

1 file changed

+12
-15
lines changed

simple-wp-optimizer.php

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -178,26 +178,25 @@ function es_optimizer_init_settings() {
178178
*/
179179
function es_optimizer_get_default_options() {
180180
return array(
181-
'disable_emojis' => 1,
182-
'remove_jquery_migrate' => 1,
183-
'disable_classic_theme_styles' => 1,
184-
'remove_wp_version' => 1,
185-
'remove_wlw_manifest' => 1,
186-
'remove_shortlink' => 1,
187-
'remove_recent_comments_style' => 1,
188-
'enable_dns_prefetch' => 1,
181+
'disable_emojis' => 0,
182+
'remove_jquery_migrate' => 0,
183+
'disable_classic_theme_styles' => 0,
184+
'remove_wp_version' => 0,
185+
'remove_wlw_manifest' => 0,
186+
'remove_shortlink' => 0,
187+
'remove_recent_comments_style' => 0,
188+
'enable_dns_prefetch' => 0,
189189
'dns_prefetch_domains' => implode(
190190
"\n",
191191
array(
192192
'https://fonts.googleapis.com',
193193
'https://fonts.gstatic.com',
194194
'https://ajax.googleapis.com',
195195
'https://apis.google.com',
196-
'https://www.google-analytics.com',
197196
)
198197
),
199-
'disable_jetpack_ads' => 1,
200-
'disable_post_via_email' => 1,
198+
'disable_jetpack_ads' => 0,
199+
'disable_post_via_email' => 0,
201200
);
202201
}
203202

@@ -505,8 +504,7 @@ function es_optimizer_render_textarea_option( $options, $option_name, $title, $d
505504
*/
506505
printf( 'es_optimizer_options[%s]', esc_attr( $option_name ) );
507506
?>
508-
" rows="5" cols="50" class="large-text code">
509-
<?php
507+
" rows="5" cols="50" class="large-text code"><?php
510508
if ( isset( $options[ $option_name ] ) ) {
511509
// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
512510

@@ -517,8 +515,7 @@ function es_optimizer_render_textarea_option( $options, $option_name, $title, $d
517515
*/
518516
printf( '%s', esc_textarea( $options[ $option_name ] ) );
519517
}
520-
?>
521-
</textarea>
518+
?></textarea>
522519
</td>
523520
</tr>
524521
<?php

0 commit comments

Comments
 (0)