n Name: HQJDW Popular Posts Cache * Description: Caches the Zimeiti popular-posts widget and prevents per-request view-count sorting. */ defined( 'ABSPATH' ) || exit; function hqjdw_popular_posts_cache_key( WP_Query $query ) { $excluded = $query->get( 'post__not_in' ); $excluded = is_array( $excluded ) ? array_map( 'absint', $excluded ) : array(); sort( $excluded, SORT_NUMERIC ); return 'hqjdw_popular_posts_' . md5( implode( ',', $excluded ) ); } add_filter( 'posts_pre_query', static function ( $posts, $query ) { if ( is_admin() || 'post_views_count' !== $query->get( 'meta_key' ) || 'meta_value_num' !== $query->get( 'orderby' ) || 5 !== (int) $query->get( 'posts_per_page' ) ) { return $posts; } $cache_key = hqjdw_popular_posts_cache_key( $query ); $ids = get_transient( $cache_key ); if ( false === $ids ) { $query->set( '_hqjdw_popular_cache_key', $cache_key ); $query->set( 'no_found_rows', true ); return $posts; } $ids = array_values( array_filter( array_map( 'absint', (array) $ids ) ) ); if ( ! $ids ) { return array(); } $query->found_posts = count( $ids ); $query->max_num_pages = 1; return get_posts( array( 'post__in' => $ids, 'orderby' => 'post__in', 'post_type' => 'post', 'post_status' => 'publish', 'posts_per_page' => count( $ids ), 'no_found_rows' => true, 'ignore_sticky_posts' => true, 'suppress_filters' => true, ) ); }, 10, 2 ); add_filter( 'posts_results', static function ( $posts, $query ) { $cache_key = $query->get( '_hqjdw_popular_cache_key' ); if ( $cache_key && $posts ) { set_transient( $cache_key, wp_list_pluck( $posts, 'ID' ), 10 * MINUTE_IN_SECONDS ); } return $posts; }, 10, 2 ); :wq 英媒:英国军方将再建9所“方舱”医院应对疫情 – 环球焦点
首页 新闻 英媒:英国军方将再建9所“方舱”医院应对疫情

英媒:英国军方将再建9所“方舱”医院应对疫情

  中新网4月9日电
据英国《独立报》8日报道,为应对新冠肺炎疫情危机,英国军方正在制定计划,拟在全国各地再建立9所“方舱”医院,与此同时,还有8所在考虑中。

  报道称,这些“方舱”医院的规模将小于能提供4000张床位的伦敦南丁格尔“方舱医院”。7日,英国为应对新冠肺炎疫情而临时搭建的南丁格尔“方舱医院”已迎来首批患者。

  资料图:疫情下的伦敦市中心特拉法加广场。中新社记者 张平

  据报道,9家医院中的4家已经开始搭建。据信,这些医院将分别建在伯明翰、曼彻斯特、格拉斯哥、卡迪夫、布里斯托尔、哈罗盖特、贝尔法斯特和坎布里亚等地。

  据信,其它正在考察的地点包括梅斯顿附近的肯特活动中心、苏塞克斯郡的布莱顿中心,以及剑桥和诺维奇的会议中心等。

  英国国防官员称,近2.5万名现役军人目前处于“高度戒备”的状态,其中1万人专注于执行新冠肺炎疫情相关任务。

  当地时间4月8日,英国卫生和社会保障部公布最新数据,过去24小时,英国新增新冠肺炎确诊患者5492例,累计患者达到60733例。

[ 责编:张璋 ]

热门文章

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注