Title: Pluginception
Author: Samuel Wood (Otto)
Published: <strong>2012 年 6 月 16 日</strong>
Last modified: 2024 年 5 月 13 日

---

搜索插件

![](https://ps.w.org/pluginception/assets/banner-772x250.jpg?rev=567392)

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

![](https://ps.w.org/pluginception/assets/icon-256x256.jpg?rev=992088)

# Pluginception

 作者：[Samuel Wood (Otto)](https://profiles.wordpress.org/otto42/)

[下载](https://downloads.wordpress.org/plugin/pluginception.1.3.zip)

 * [详情](https://cn.wordpress.org/plugins/pluginception/#description)
 * [评价](https://cn.wordpress.org/plugins/pluginception/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/pluginception/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/pluginception/#developers)

 [支持](https://wordpress.org/support/plugin/pluginception/)

## 描述

A plugin that lets you quickly and easily create new plugins.

Install, activate, and then go to the Plugins->Create a New Plugin menu to create
and activate a new blank plugin, live, on your site.

After the plugin is created, you’ll be taken directly to the Plugin Editor screen,
to type or paste in your new plugin’s code.

## 安装

 1. Upload the files to the `/wp-content/plugins/pluginception/` directory or install
    through WordPress directly.
 2. Activate the “Pluginception” plugin through the ‘Plugins’ menu in WordPress
 3. Try the “Create a New Plugin” option in the Plugins menu.

## 常见问题

### The “Create a New Plugin” menu item is missing.

There are 4 cases where you will not see the new menu:

 1. You are not logged in as an admin user.
 2. Your site is on a multisite configuration and you are not logged in as a super-
    admin user.
 3. If the DISALLOW_FILE_EDIT define is enabled, then you cannot edit plugin files.
 4. If the DISALLOW_FILE_MODS define is enabled, then you cannot edit plugin files.

Any of those cases will prevent the menu item from appearing, because you lack the
edit_plugins permission.

### Is this safe?

Nope, not in the slightest. You have been warned.

That said, it’s perfectly “safe”, given a certain defintion of the word “safe”. 
The “create a new plugin” screen itself is secure, and inaccessible to anybody who
lacks the capability to “edit_plugins” to begin with. Pluginception also uses the
proper WP_Filesystem methods to create the plugin, so there’s no worries about incorrect
file ownership on shared hosting. You may have to give it FTP credentials on some
hosts for it to be able to create the plugin, that’s the WP_Filesystem at work, 
making sure the files are correctly “owned”.

All this plugin really does is make it quick and easy to create a new one-off plugin
and take you directly to editing it. Cowboy-coding at its finest.

### For the love of god, man, why?

Because I frequently spin off new plugins in order to paste simple code snippets
into handy places. I know the code works, I’ve already tested it. Having to then
encapsulate it into a plugin, fire up Filezilla, navigate, upload the plugin… It’s
a pain. This gives me an easy way to create a new blank plugin and go to the editor
to paste in the known working code.

If you paste in non-working code, or decide to use the plugin editor to experiment,
then you’ll likely break your site. So don’t do this if you don’t know what you’re
doing. This is a power user’s tool.

### I want this plugin to do something other than what it does.

Then modify the plugin however you like to do whatever you want. Don’t bother me
with it. This plugin does what I want it to do.

## 评价

![](https://secure.gravatar.com/avatar/39f2646df1c0f0e9cf55cb5c9026cb596789c8b55a8dfdf7e438ee731f29a874?
s=60&d=retro&r=g)

### 󠀁[Does perfectly what is says it does](https://wordpress.org/support/topic/does-perfectly-what-is-says-it-does/)󠁿

 [bnirlo](https://profiles.wordpress.org/bnirlo/) 2021 年 4 月 20 日

This is definitely the best idea ever! No risk any more to edit things that will
get overwritten on next update. This is very smart and works as expected.

![](https://secure.gravatar.com/avatar/1034fd1c44fde2324da503b99636485bc870abfcf0ddd9ebd9784059e1ebde6c?
s=60&d=retro&r=g)

### 󠀁[I agree: great plugin](https://wordpress.org/support/topic/i-agree-great-plugin/)󠁿

 [Juha Metsäkallas](https://profiles.wordpress.org/juhametsakallas/) 2018 年 10 
月 14 日

What can I say more? This is awesome.

![](https://secure.gravatar.com/avatar/8f150af2bcdb704c8e3b59e8f14ac036a36e528856ddf2237b21dd70c18407ca?
s=60&d=retro&r=g)

### 󠀁[Great plugin](https://wordpress.org/support/topic/great-plugin-14395/)󠁿

 [andriansah](https://profiles.wordpress.org/andriansah/) 2017 年 7 月 7 日

I just find this plugin and this work great

![](https://secure.gravatar.com/avatar/6ba271e8b62d897ac9a978c4102d0a938aabb488bc35afaeee0e3aab8993fbc3?
s=60&d=retro&r=g)

### 󠀁[love this plugin](https://wordpress.org/support/topic/love-this-plugin-520/)󠁿

 [Elisa](https://profiles.wordpress.org/elisa-demonki/) 2017 年 5 月 22 日

I need need need need this plugin 😀 It works perfect! Thank you so much!! Fantastic
idea!

![](https://secure.gravatar.com/avatar/ced41f2f30909436f09e3776c45c769ea642517d89e39679c9d1e1f7b048a26f?
s=60&d=retro&r=g)

### 󠀁[Perfect!](https://wordpress.org/support/topic/perfect-4017/)󠁿

 [ruuuuuuul](https://profiles.wordpress.org/ruuuuuuul/) 2017 年 5 月 2 日

Many thanks, very useful.

![](https://secure.gravatar.com/avatar/aeb7767e2b6ceb8d8549c46d6e9f040784fc30dfb1985aa150cbfc6b95cd2940?
s=60&d=retro&r=g)

### 󠀁[fantastic!](https://wordpress.org/support/topic/fantastic-1407/)󠁿

 [dfeuster](https://profiles.wordpress.org/dfeuster/) 2017 年 3 月 9 日

I was tinkering with this for automation already, then I stumbled on this plugin.
Thanks for saving me time!

 [ 阅读所有24条评价 ](https://wordpress.org/support/plugin/pluginception/reviews/)

## 贡献者及开发者

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

贡献者

 *   [ Samuel Wood (Otto) ](https://profiles.wordpress.org/otto42/)

「Pluginception」插件已被翻译至 9 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/pluginception/contributors)
为本插件所做的贡献。

[帮助将「Pluginception」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/pluginception)

### 对开发感兴趣吗?

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

## 更新日志

#### 1.3

 * Fixed two minor XSS vulnerabilities

#### 1.2

 * Corrected translation support, added POT file for translators
 * Removed POT file in favor of translate.wordpress.org

#### 1.1

 * Fix problems with quotes being slash-escaped (magic quotes).

#### 1.0

 * First version.

## 额外信息

 *  版本 **1.3**
 *  最后更新：**2 年前**
 *  活跃安装数量 **3,000+**
 *  WordPress 版本 ** 3.0 或更高版本 **
 *  已测试的最高版本为 **6.5.8**
 *  语言
 * [Dutch](https://nl.wordpress.org/plugins/pluginception/) 、 [English (Australia)](https://en-au.wordpress.org/plugins/pluginception/)、
   [English (Canada)](https://en-ca.wordpress.org/plugins/pluginception/) 、 [English (New Zealand)](https://en-nz.wordpress.org/plugins/pluginception/)、
   [English (US)](https://wordpress.org/plugins/pluginception/) 、 [German](https://de.wordpress.org/plugins/pluginception/)、
   [Portuguese (Brazil)](https://br.wordpress.org/plugins/pluginception/) 、 [Spanish (Spain)](https://es.wordpress.org/plugins/pluginception/)、
   [Spanish (Venezuela)](https://ve.wordpress.org/plugins/pluginception/) 和 [Swedish](https://sv.wordpress.org/plugins/pluginception/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/pluginception)
 * 标签
 * [create](https://cn.wordpress.org/plugins/tags/create/)[new](https://cn.wordpress.org/plugins/tags/new/)
 *  [高级视图](https://cn.wordpress.org/plugins/pluginception/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  23 条 5 星评价     ](https://wordpress.org/support/plugin/pluginception/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/pluginception/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/pluginception/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/pluginception/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/pluginception/reviews/?filter=1)

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

[查看全部评论](https://wordpress.org/support/plugin/pluginception/reviews/)

## 贡献者

 *   [ Samuel Wood (Otto) ](https://profiles.wordpress.org/otto42/)

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/pluginception/)