承接 waughj/wp-upload-image 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

waughj/wp-upload-image

Composer 安装命令:

composer require waughj/wp-upload-image

包简介

Class for autogenerating HTML for WordPress media image with just the ID.

README 文档

README

Class for autogenerating HTML for WordPress media image with just the ID.

Just pass in ID & WordPress will automatically generate HTMLImage object based on ID in media. If no item with the given ID is in media database, then it just creates an empty HTMLImage object.

Error Handling

Like HTMLImage, if “show-version” is set on ( the default ) & the server can’t access the file to get its version information, the constructor will throw a MissingFileException that includes fallback content that is the equivalent o’ the object with “show-version” set off & a list o’ missing files. Read HTMLImage’s documentation for mo’ information.

If WordPress can’t find the media ID in its media database, then the constructor will throw a WPMissingMediaException, which keeps a list o’ IDs passed into it ’pon construction, which can be reached through its getMissingIDs() method.

Changelog

0.5.3

  • Update TestHashItem dependency

0.5.2

  • Fix URL problems with date-based URLs

0.5.1

  • Make absoluteToLocal method public so WPUploadPicture can use it

0.5.0

  • Integrate HTMLImages sizes autogeneration & shorthand format

0.4.1

  • Fix Error Handling Bugs for Responsive Images

0.4.0

  • Add Error-handling for missing media ID

0.3.0

  • Update error handling.

0.2.2

  • Make getFormattedURL Method Parameters Less Asinine

0.2.1

  • Make getFormattedURL Method Public So WPUploadPicture Can Access It

0.2.0

  • Implement versioning for fixing cache poisoning

0.1.2

  • Fix WordPress Uploads Compatibility Bug

0.1.1

  • Fix Inaccurate Base URL

0.1.0

  • Initial version

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: AGPL-3.0-or-later
  • 更新时间: 2018-12-28

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固