Title: Aggregator
Author: EdwardBock
Published: <strong>2015 年 6 月 5 日</strong>
Last modified: 2019 年 12 月 4 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/aggregator.svg)

# Aggregator

 作者：[EdwardBock](https://profiles.wordpress.org/edwardbock/)

[下载](https://downloads.wordpress.org/plugin/aggregator.2.1.2.zip)

 * [详情](https://cn.wordpress.org/plugins/aggregator/#description)
 * [评价](https://cn.wordpress.org/plugins/aggregator/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/aggregator/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/aggregator/#developers)

 [支持](https://wordpress.org/support/plugin/aggregator/)

## 描述

It’s best practise to have only a very few page requests. This plugin aggregates
all your local JavaScript files to two requests only.

### Arbitrary section

## 安装

 1. Upload `aggragator-wordpress.zip` to the `/wp-content/plugins/` directory
 2. Extract the Plugin to a `aggregator` Folder
 3. 通过WordPress的“插件”菜单激活插件

## 评价

此插件暂无评价。

## 贡献者及开发者

「Aggregator」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ EdwardBock ](https://profiles.wordpress.org/edwardbock/)
 *   [ Palasthotel GmbH ](https://profiles.wordpress.org/palasthotel/)

[帮助将「Aggregator」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/aggregator)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/aggregator/)，查看[SVN仓库](https://plugins.svn.wordpress.org/aggregator/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/aggregator/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/aggregator/)。

## 更新日志

#### 2.1.2

 * PHP 7.3 compatibility update

#### 2.1.1

 * only add aggregated file if not empty
 * tiny refactorings

#### 2.1

 * additional attributes for script tags

#### 2.0.4

 * localize scripts on wp_print_scripts action fix

#### 2.0.3

 * main php file rename
 * external scripts with https:// and // fix aggregation fix

#### 2.0.2

 * typos fixed (hook name and html comments)

#### 2.0.1

 * rerender on javascript content file changes

#### 2.0

 * we can handle different aggregation combinations now
 * scripts need to be rerendered
 * Hook `ph_aggregator_ignore` is marked as deprecated, please make sure to update
   your code to use the new hook `aggregator_ignore`, which provides a js handle
   argument.

#### 1.1.4

 * added try catch blocks around each javascript file to prevent script execution
   after an error

#### 1.1.3

 * wp_enqueue with aggregated files time as version

#### 1.1.2

 * get correct working theme directory

#### 1.1.1

 * default to uploads
 * theme slug for aggregated scripts

#### 1.1

 * aggregated location configuratable
 * object orientation implemented

#### 1.0.8

 * localization data for aggregated scripts fix

#### 1.0.7

 * dequeue wrong scripts fix

#### 1.0.6

 * new rules

#### 1.0.5

 * aggregated folder in plugin deprecated

#### 1.0.4

 * aggregation to theme directory

#### 1.0.3

 * when to aggregate optimization

#### 1.0.2

 * aggregate to subfolder to prevent deployment issues

#### 1.0.1

 * Separate logged in and logged out aggregation

#### 1.0

 * First release
 * aggregates JavaScript files

## 额外信息

 *  版本 **2.1.2**
 *  最后更新：**6 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 4.8 或更高版本 **
 *  已测试的最高版本为 **5.3.21**
 *  语言
 * [English (US)](https://wordpress.org/plugins/aggregator/)
 * 标签
 * [aggregator](https://cn.wordpress.org/plugins/tags/aggregator/)[javascript](https://cn.wordpress.org/plugins/tags/javascript/)
   [seo](https://cn.wordpress.org/plugins/tags/seo/)
 *  [高级视图](https://cn.wordpress.org/plugins/aggregator/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/aggregator/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/aggregator/reviews/)

## 贡献者

 *   [ EdwardBock ](https://profiles.wordpress.org/edwardbock/)
 *   [ Palasthotel GmbH ](https://profiles.wordpress.org/palasthotel/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/aggregator/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](http://palasthotel.de/)