定制 peterwilsoncc/embed-redirects 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

peterwilsoncc/embed-redirects

最新稳定版本:1.0.0

Composer 安装命令:

composer require peterwilsoncc/embed-redirects

包简介

A WordPress plugin to enable links in embeds to third party sites via a redirect.

README 文档

README

A WordPress plugin to enable links in embeds to third party sites via a redirect.

By default, WordPress prevents embedded content from containing links to sites other than the source of the redirect.

While this is fine for the standard WordPress embeds. For sites that customize the embed template to display the full content of the post it will prevent links to third party sites working when the post is embedded on another site.

This allows the use of links to third party sites in the content by creating a redirect endpoint in WordPress for redirecting to other sites. To avoid an open redirect, it validates the URL to ensure the redirect is permitted by the site doing the redirect.

This plugin needs to run on the site with the modified embed template. For sites using the embed the plugin does not have any effect.

== Frequently Asked Questions == = Where is this plugin's menu page? =

There isn't one, the plugin doesn't have any options to configure so works upon activation.

= The redirects aren't working =

The plugin attempts to flush the WordPress rewrite rules during activation. If this failed for some reason then visit the WordPress Dashboard > Settings > Permalinks page and see if that helps.

== Changelog == = 1.0 =

Initial release.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-05-26

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固