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

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” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Aggregator”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

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