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 特朗普确认解除邦迪职务,托德·布兰奇将出任美代理司法部长 – 环球焦点
首页 新闻 特朗普确认解除邦迪职务,托德·布兰奇将出任美代理司法部长

特朗普确认解除邦迪职务,托德·布兰奇将出任美代理司法部长

托德·布兰奇(资料图)

当地时间4月2日,美国总统特朗普在其社交媒体“真实社交”发文表示,帕姆·邦迪在过去一年里担任了司法部长,她即将转任私营部门一个“亟需且重要的新职位”,相关详情将于近期择日公布。届时,美国现任副司法部长托德·布兰奇将出任代理司法部长。

帕姆·邦迪(资料图)

邦迪成为特朗普第二个总统任期内第二名被解职的内阁成员。

据悉,特朗普对邦迪的不满已持续数月,包括认为她对“爱泼斯坦文件”处置不力、对打击特朗普的政治对手不够强硬。3月17日,国会众议院监督与政府改革委员会向邦迪发出传票,要求她就爱泼斯坦案接受国会闭门质询。根据传票要求,邦迪定于4月14日接受该委员会质询。此前,邦迪已出席过相关听证会,但未能消除国会两党多名议员对司法部的质疑与批评。

邦迪2025年2月出任司法部长,此前是特朗普法律团队的一员。

3月5日,特朗普宣布,本届内阁另一名女将、陷入争议的国土安全部长克丽丝蒂·诺姆改任他职,并提名国会参议员马克韦恩·马林接替。国会参议院已投票确认这一提名。

司法部长提名也须参议院确认。目前共和党议员在参议院占据多数席位.

热门文章