Title: Ganohrs Toggle Shortcode
Author: ganohr
Published: <strong>2018 年 6 月 7 日</strong>
Last modified: 2025 年 1 月 11 日

---

搜索插件

![](https://ps.w.org/ganohrs-toggle-shortcode/assets/banner-772x250.png?rev=1888505)

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

![](https://ps.w.org/ganohrs-toggle-shortcode/assets/icon-256x256.png?rev=1888505)

# Ganohrs Toggle Shortcode

 作者：[ganohr](https://profiles.wordpress.org/ganohr/)

[下载](https://downloads.wordpress.org/plugin/ganohrs-toggle-shortcode.0.2.6.zip)

 * [详情](https://cn.wordpress.org/plugins/ganohrs-toggle-shortcode/#description)
 * [评价](https://cn.wordpress.org/plugins/ganohrs-toggle-shortcode/#reviews)
 * [开发进展](https://cn.wordpress.org/plugins/ganohrs-toggle-shortcode/#developers)

 [支持](https://wordpress.org/support/plugin/ganohrs-toggle-shortcode/)

## 描述

You can insert to WordPress that toggle-code for CSS-based Or details Tag.
 簡単
にCSSベース又はdetailsによる折りたたみコードをワードプレスへ追加できます。

Usage（使い方）:

[toggle title=”title here” (optional)load=”open / close” (optional)suffix=”(empty)
or 1 to 19″]
 contents here [/toggle]

ex)
 [toggle title=”Hello Vivid World!” load=”open” suffix=”vivid”] 0.2.0 when you
choose “Details Default” style, you can change Toggle style with suffix! [/toggle]

### Please Update because of CVE-2024-12459

Previous versions of this plugin were vulnerable to CVE-2024-12459, which was addressed
in 0.2.5. Thanks to Wordfence and yudaha for reporting it.

Prior to 0.2.5, there was a vulnerability that allowed arbitrary JavaScript code
to be loaded on “websites that have been cracked and administrator access rights
given to an attacker.”

However, this is a problem for already cracked on website, so users do not need 
to be overly cautious. Even if you don’t use a plugin, an attacker with the necessary
access can freely inject any JavaScript code they want. An attacker does not need
to bother to use this plugin, and is free to inject any JavaScript code they have
access to. I recommend updating just in case.

このプラグインの以前のバージョンにはCVE-2024-12459の脆弱性があり、0.2.5で対応しま
した。Wordfenceおよび報告者のyudaha氏に感謝します。

0.2.5以前は「クラッキングされて管理者のアクセス権が、攻撃者に渡ったウェブサイト」
においては、任意のJavaScriptコードをロードできる脆弱性があります。

ただし、それはそもそもクラッキングされたことが問題なのであって、プラグインの使用
以前の問題であり、利用者が過度に身構える必要はありません。攻撃者はこのプラグイン
をわざわざ使用する必要はなく、攻撃者はアクセス権があれば任意のJavaScriptコードを
自由に設置できるのですから。念の為アップデートをおすすめします。

## 屏幕截图

 * [[
 * Easy to insert details-based toggle code.
 * [[
 * If you wanna insert many toggles, then use “suffix”.
 * [[
 * “suffix” is useful. It because can change the css class.

## 常见问题

Q. Can I use “details” tag to build toggles?
 A. Yes you can! Please chose named“
Details xxx” style.

Q. Can I use build toggle with “Old css based”?
 A. Please chose not named “Details
xxx” style.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Ganohrs Toggle Shortcode」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ ganohr ](https://profiles.wordpress.org/ganohr/)

[帮助将「Ganohrs Toggle Shortcode」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/ganohrs-toggle-shortcode)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/ganohrs-toggle-shortcode/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/ganohrs-toggle-shortcode/)，或通过
[RSS](https://plugins.trac.wordpress.org/log/ganohrs-toggle-shortcode/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/ganohrs-toggle-shortcode/)。

## 更新日志

0.2.6 Tested WordPress 6.7.1 ja, debug suffix bugs.
 0.2.5 Tested WordPress 6.7.1
ja, And Thanks “CVE-2024-12459” for Wordfence yudha. 0.2.4 Tested WordPress 6.4.1
ja, append link to css customize tool. 0.2.3 Tested WordPress 6.3 ja 0.2.2 Bugfix:
Change “Details Default CSS” styles, Append “Replace None Number Suffix”. 0.2.1 
Bugfix: Change “Details Default CSS” styles, Append “Replace Number Suffix”. 0.2.0
Append “Details Default CSS”, you can change styles with sufix “black, blue, etc!”.
0.1.2 Bugfix: CSS minifier 0.1.1 Append Option “Output CSS When AMP”, And any updated.
0.1.0 Append Option “Enqueue Type”, And any updated. 0.0.3 Append “Details” styles,
And any updated. 0.0.2 Change “readme.txt”. And any updated. 0.0.1 New Release

## 额外信息

 *  版本 **0.2.6**
 *  最后更新：**1 年前**
 *  活跃安装数量 **80+**
 *  WordPress 版本 ** 4.0 或更高版本 **
 *  已测试的最高版本为 **6.7.5**
 *  PHP 版本 ** 5.0 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/ganohrs-toggle-shortcode/)
 * 标签
 * [amp](https://cn.wordpress.org/plugins/tags/amp/)[css](https://cn.wordpress.org/plugins/tags/css/)
   [toggle](https://cn.wordpress.org/plugins/tags/toggle/)
 *  [高级视图](https://cn.wordpress.org/plugins/ganohrs-toggle-shortcode/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/ganohrs-toggle-shortcode/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/ganohrs-toggle-shortcode/reviews/)

## 贡献者

 *   [ ganohr ](https://profiles.wordpress.org/ganohr/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/ganohrs-toggle-shortcode/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](http://amzn.asia/gw9HHbg)