Skip to content

Commit

Permalink
remove debug; closes #6
Browse files Browse the repository at this point in the history
  • Loading branch information
dantheta committed Oct 23, 2023
1 parent a472872 commit 8bd7f02
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
6 changes: 3 additions & 3 deletions blocked.php
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<?php
/**
* @package BlockedWP
* @version 0.8
* @version 0.8.1
*/
/*
Plugin Name: Blocked-WP
Plugin URI: https://www.blocked.org.uk/wp-plugin/
Description: A plugin that adds UK ISP parental control monitoring to the Wordpress Admin panel.
Author: Open Rights Group
Version: 0.8.0
Version: 0.8.1
Author URI: https://www.openrightsgroup.org/
*/

Expand All @@ -18,7 +18,7 @@
exit;
}

define( 'BLOCKED_WP_VERSION', '0.8.0' );
define( 'BLOCKED_WP_VERSION', '0.8.1' );
define( 'BLOCKED_WP__MINIMUM_WP_VERSION', '4.0' );
define( 'BLOCKED_WP__PLUGIN_DIR', plugin_dir_path( __FILE__ ) );

Expand Down
4 changes: 0 additions & 4 deletions class.blocked.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ private static function init_hooks() {
}

public static function admin_init() {
error_log("admin_init");
if ( get_option('Activated BlockedWP')) {
delete_option( 'Activated BlockedWP');
}
Expand All @@ -57,7 +56,6 @@ public static function datestamp() {
}

public static function update_lastview() {
error_log("update");
update_option(BlockedWP::OPTION_LAST_VIEW, BlockedWP::datestamp());
}

Expand Down Expand Up @@ -146,7 +144,6 @@ public static function submit_site() {

$response = wp_remote_post("https://" . BlockedWP::API_HOST . '/1.2/submit/url', $args);

error_log("submit site: " . $response['response']['code']);

}

Expand Down Expand Up @@ -211,7 +208,6 @@ public static function load_resources() {
}

public static function invoke_cron() {
error_log("ran_cron");
if (!BlockedWP::is_registered()) {
return;
}
Expand Down

0 comments on commit 8bd7f02

Please sign in to comment.