automattic/jetpack-image-cdn 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

automattic/jetpack-image-cdn

最新稳定版本:v0.7.24

Composer 安装命令:

composer require automattic/jetpack-image-cdn

包简介

Serve images through Jetpack's powerful CDN

README 文档

README

Serve images through Jetpack's powerful CDN

How to install image-cdn

  1. Run: Automattic\Jetpack\Image_CDN\Image_CDN_Core::setup(). You can just load it without a hook. Make sure to definitely load it before plugins_loaded priority 10. This should be ran regardless of if you want image-cdn to be active or not. It provides some core functionality and compatibility layer for the photon module in Jetpack.

  2. When you want to activate image-cdn in images and start replacing image URLs, run Automattic\Jetpack\Image_CDN\Image_CDN_Setup::load().

Contribute

https://github.com/Automattic/jetpack

Using this package in your WordPress plugin

If you plan on using this package in your WordPress plugin, we would recommend that you use Jetpack Autoloader as your autoloader. This will allow for maximum interoperability with other plugins that use this package as well.

Security

Need to report a security vulnerability? Go to https://automattic.com/security/ or directly to our security bug bounty site https://hackerone.com/automattic.

License

image-cdn is licensed under GNU General Public License v2 (or later)

统计信息

  • 总下载量: 16.7k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 1
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 3
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2023-03-21