littlebizzy/force-https 问题修复 & 功能扩展

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

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

littlebizzy/force-https

Composer 安装命令:

composer require littlebizzy/force-https

包简介

Redirects all HTTP requests to the HTTPS version and fixes insecure links and resources without altering the database (also works with CloudFlare).

README 文档

README

HTTPS enforcement for WordPress

Changelog

3.0.1

  • improved WP-CLI and WP-Cron compatibility with home/siteurl filtering logic

3.0.0

  • added Tested up to header
  • added Update URI header
  • added Text Domain header
  • improved HTTPS redirection that skips WP-CLI, WP-Cron, and AJAX
  • now leveraging pre_option_home and pre_option_siteurl to override WordPress sequence early
  • several more add_filter being enforced
  • refined regex in the_content to correctly process <script> and <style> blocks
  • refinded and expanded regex for HTML elements
  • support for several WooCommerce add_filter if detected
  • significant code structure, syntax, and efficiency improvements

2.0.3

  • added Requires PHP plugin header

2.0.2

  • improved gu_override_dot_org snippet

2.0.1

  • fixed gu_override_dot_org snippet

2.0.0

  • completely refactored code to WordPress standards
  • no more defined constants or options (hardcoded to enforce HTTPS on all internal/external links and resources)
  • much more extensive add_filter rules and HTML enforcement of HTTPS
  • supports PHP 7.0 to 8.3
  • supports Multisite

1.4.3

  • fixed undefined variable error (new default $modified = false)

1.4.2

  • improved composer.json
  • updated metadata

1.4.1

  • tested with WP 5.1
  • updated metadata
  • tweaked composer.json

1.4.0

  • PBP v1.2.0
  • removed FORCE_SSL constant references
  • added support to force HTTPS on source elements (previously unsupported) ... this fixes GitHub Issue #7
  • late support for new FORCE_HTTPS defined constant
  • define('FORCE_HTTPS', true);
  • define('FORCE_HTTPS_EXTERNAL_LINKS', false);
  • define('FORCE_HTTPS_EXTERNAL_RESOURCES', true);
  • define('FORCE_HTTPS_INTERNAL_LINKS', true);
  • define('FORCE_HTTPS_INTERNAL_RESOURCES', true);

1.3.0

  • PBP v1.1.0
  • tested with PHP 7.0, 7.1, 7.2
  • tested with PHP 5.6 (no fatal errors only, tweaked code style and several corrections)
  • better support for WP-CLI (fixes GitHub Issue #6/#2)
  • simplified plugin class organization
  • late support for FORCE_SSL constant aborting the plugin functionality in the last minute if false

1.2.0

  • tested with WP 5.0

1.1.4

  • updated metadata

1.1.3

  • updated recommended plugins

1.1.2

  • updated metadata

1.1.1

  • updated metadata
  • updated recommended plugins

1.1.0

  • versioning correction (major changes in 1.0.6)
  • (no code changes)

1.0.6

  • changed filters to force HTTPS for external resources (but not hyperlinks) including src, srcset, embed, and object
  • (if an external resource does not exist in HTTPS version, it may generate a 404 error)
  • (philosophy = "green padlock" more important than a resource 404 error)
  • added warning for Multisite installations
  • updated recommended plugins
  • updated metadata

1.0.5

  • better support for DISABLE_NAG_NOTICES

1.0.4

  • partial support for DISABLE_NAG_NOTICES
  • updated metadata

1.0.3

  • tested with WP 4.9
  • updated recommended plugins
  • updated metadata

1.0.2

  • filter to "skip" external hyperlinks
  • better HTTPS filters for internal links, internal sources, and image srcset
  • optimized plugin code
  • added rating request notice
  • updated recommended plugins

1.0.1

  • added recommended plugins notice

1.0.0

  • initial release

统计信息

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

GitHub 信息

  • Stars: 26
  • Watchers: 3
  • Forks: 9
  • 开发语言: PHP

其他信息

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

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固