Skip to content

Commit

Permalink
Default to rg4wp_noadmintracking enabled
Browse files Browse the repository at this point in the history
And fix formatting
  • Loading branch information
redJ4y committed Jun 14, 2024
1 parent 89e8dd4 commit 7390d5d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion main.php
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ function rg4wp_install() {
add_option('rg4wp_pulse', '');
add_option('rg4wp_js_tags', '');
add_option('rg4wp_async', '0');
add_option('rg4wp_noadmintracking', '0');
add_option('rg4wp_noadmintracking', '1');
}

function rg4wp_uninstall() {
Expand Down
2 changes: 1 addition & 1 deletion settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
<?php _e("Client-side errors"); ?> (JavaScript)
</label>
<br/>
<label for="rg4wp_js_ignore3rdpartyerrors">
<label for="rg4wp_js_ignore3rdpartyerrors" style="margin-left: 20px;">
<input type="checkbox" name="rg4wp_js_ignore3rdpartyerrors"
id="rg4wp_js_ignore3rdpartyerrors"<?php echo get_option('rg4wp_js_ignore3rdpartyerrors') ? ' checked="checked"' : ''; ?>
value="1"/>
Expand Down

0 comments on commit 7390d5d

Please sign in to comment.