이 플러그인은 최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다. 워드프레스의 좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 있을 수 있습니다.

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.

FAQ

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.

후기

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.
2017년 5월 22일
I need need need need this plugin 😀 It works perfect! Thank you so much!! Fantastic idea!
2017년 3월 9일
I was tinkering with this for automation already, then I stumbled on this plugin. Thanks for saving me time!
모든 24 평가 읽기

기여자 & 개발자

“Pluginception”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

“Pluginception”(이)가 9(으)로 번역되었습니다. 기여해 주셔서 번역자님께 감사드립니다.

자국어로 “Pluginception”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

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.