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

Debug Bar Plugin Activation

설명

Ever been “greeted” when you activated a plugin with the dreaded:

This plugin generated # characters of unexpected output during activation….

And wondered what the unexpected output was ?

Or wondered whether a de-activation or uninstall routine was free of typical PHP errors ?

Well, no need to wonder anymore, as you can now see the output within your favorite debugging tool – the Debug Bar.

Debug Bar Plugin Activation adds a new panel to the Debug Bar which displays the output generated during plugin activation, deactivation and uninstall.

Once you’ve fixed the issues, you can remove the logged output straight from the Debug Bar panel.
And when you uninstall a plugin, the associated logged activation and deactivation output entries will be removed automatically.

This plugin was inspired by a conversation with Mika Epstein during the contributors day at WordCamp Europe 2016.

Important

This plugin requires the Debug Bar plugin to be installed and activated.

Also note that this plugin should be used solely for debugging and/or in a development environment and is not intended for use on a production site.

If you like this plugin, please rate and/or review it. If you have ideas on how to make the plugin even better or if you have found any bugs, please report these in the Support Forum or in the GitHub repository.

스크린샷

  • Debug Bar Plugin Activation displaying error notices.

설치

  1. Install Debug Bar if not already installed (https://wordpress.org/plugins/debug-bar/).
  2. Extract the .zip file for this plugin and upload its contents to the /wp-content/plugins/ directory. Alternatively, you can install directly from the Plugin directory within your WordPress Install.
  3. Activate the plugin through the “Plugins” menu in WordPress.

Don’t use this plugin on a live site. This plugin is only intended to be used for development purposes.

FAQ

Can it be used on live site ?

This plugin is only meant to be used for development purposes, but shouldn’t cause any issues if run on a production site.

What is plugin (de-)activation ?

Activation and deactivation hooks provide ways to perform actions when plugins are activated or deactivated.

Plugins can run an installation routine when they are activated in order to add rewrite rules, add custom database tables, or set default option values. … The deactivation hook is best used to clear temporary data such as caches and temp directories.

Ref: Plugin Handbook

What about uninstalling ?

Your plugin may need to do some clean-up when it is uninstalled from a site. A plugin is considered uninstalled if a user has deactivated the plugin, and then clicks the delete link.

When your plugin is uninstalled, you’ll want to clear out any rewrite rules added by the plugin, options and/or settings specific to to the plugin, or other database values that need to be removed.

Ref: Plugin Handbook

How do I add activation, deactivation and uninstall routines to my plugin ?

All the information you need is in the Plugin Handbook on Plugin Basics.

Why won’t the plugin activate ?

Have you read what it says in the beautifully red bar at the top of your plugins page ? As it says there, the Debug Bar plugin needs to be active for this plugin to work. If the Debug Bar plugin is not active, this plugin will automatically de-activate itself.

후기

2023년 1월 25일
Just a note of thank you to the developer. And, a note to potential users, this still worked on my localhost dev site in helping me debug the activation error 'headers already sent'. The plugin allowed me to read the additional output to see where the error was coming from and resolve it. Thanks!
2020년 7월 20일
I know this plugin currently doesn't show any updates for several versions of WordPress. However, it continues to work just fine. I find it a necessary tool for plugin development. It adds to the debug bar, and if there are any errors that occur during plugin activation, you can get them in the debug bar - an essential message if you're trying to develop a plugin and need to debug the activation process. The plugin is an add-on to the Debug Bar plugin, so if you don't have that installed, it won't work.
모든 2 평가 읽기

기여자 & 개발자

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

기여자

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

자국어로 “Debug Bar Plugin Activation”(을)를 번역하세요.

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

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

변경이력

1.0 (2016-07-02)

  • Initial release.