Title: Dobby
Author: Thorsten Frommen
Published: <strong>2017 年 7 月 30 日</strong>
Last modified: 2021 年 3 月 16 日

---

搜索插件

![](https://ps.w.org/wp-dobby/assets/banner-772x250.png?rev=1705305)

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

![](https://ps.w.org/wp-dobby/assets/icon-256x256.png?rev=1705305)

# Dobby

 作者：[Thorsten Frommen](https://profiles.wordpress.org/tfrommen/)

[下载](https://downloads.wordpress.org/plugin/wp-dobby.1.4.0.zip)

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

 [支持](https://wordpress.org/support/plugin/wp-dobby/)

## 描述

Dobby, the friendly Admin Elf, takes care of all your (unwanted) admin notices.

#### Contribution

To **contribute** to this plugin, please see its [**GitHub repository**](https://github.com/tfrommen/Dobby).

If you have a feature request, or if you have developed the feature already, please
feel free to use the Issues and/or Pull Requests section.

Of course, you can also provide me with [translations](https://translate.wordpress.org/projects/wp-plugins/wp-dobby)
if you would like to use the plugin in another not yet included language.

## 安装

This plugin requires **PHP 5.4**.

 1. Upload the `wp-dobby` folder to the `/wp-content/plugins/` directory on your web
    server.
 2. Activate the plugin through the _Plugins_ menu in WordPress.
 3. See only a single admin notice, if at all.

## 评价

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

### 󠀁[Nice simple and effective](https://wordpress.org/support/topic/nice-simple-and-effective/)󠁿

 [naresh11381](https://profiles.wordpress.org/naresh11381/) 2018 年 2 月 6 日

Great little plugin. Does what it says it will do. Would be awesome to see some 
functionality added, things like an option to put the message in the toolbar with
just a number or similar. Maybe even an option to enable/disable on a plugin by 
plugin basis. Might be possible to port some of WP Hide Plugin Updates and Warnings
functionality over. Great stuff all the same! 🙂

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

### 󠀁[Works almost as promised](https://wordpress.org/support/topic/works-almost-as-promised/)󠁿

 [rja.tcu](https://profiles.wordpress.org/rjatcu/) 2018 年 1 月 17 日

Unwanted notices from other plugins are gone, but unfortunately Dobby creates another
new entry. It would be better to move the Dobby notice in the top admin bar, as 
it is done by “WP Notification Center”, which unfortunately had been discontinued.
Therefore I’m now using “WP Hide Plugin Updates and Warnings”, but would switch 
back to Dobby as soon as its notice could be removed from the main dashboard area
to somewhere else.

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

### 󠀁[i always wanted a house elf. thanks!](https://wordpress.org/support/topic/i-always-wanted-a-house-elf-thanks/)󠁿

 [emilysparkle](https://profiles.wordpress.org/emilysparkle/) 2017 年 11 月 13 日

works just as i expected. might be nice to be able to see what has been logged as
an admin notice somewhere or set an interval (see notices weekly, etc).

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

### 󠀁[Excellent work](https://wordpress.org/support/topic/excellent-work-157/)󠁿

 [Nuno Sarmento](https://profiles.wordpress.org/nunosarmento/) 2017 年 9 月 22 日
1 回复

Thank you very much for making this free for everyone 🙂

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

### 󠀁[Thank you, Dobby!](https://wordpress.org/support/topic/thank-you-dobby/)󠁿

 [con](https://profiles.wordpress.org/conschneider/) 2017 年 8 月 14 日

Every time I see Dobby instead of clutter, I briefly smile inside. House elves are
great.

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

### 󠀁[I kept on thinking of making something like this….](https://wordpress.org/support/topic/i-kept-on-thinking-of-making-something-like-this/)󠁿

 [Mayank Gupta](https://profiles.wordpress.org/mayankgupta/) 2017 年 8 月 6 日

Believe me or not, I wanted to make this plugin but Thorsten made it and he’s done
a far more smarter job than what I was thinking. I was thinking of doing a far more
complex job, however Thorsten did a smarter job of just hiding and revealing. 5 
stars for the fact that it does what its supposed to and I wish I could give one
or two more stars for smartness behind it!

 [ 阅读所有10条评价 ](https://wordpress.org/support/plugin/wp-dobby/reviews/)

## 贡献者及开发者

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

贡献者

 *   [ Thorsten Frommen ](https://profiles.wordpress.org/tfrommen/)

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

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

### 对开发感兴趣吗?

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

## 更新日志

#### 1.4.0

 * Bump “Tested up to” header, see [issue #12](https://github.com/tfrommen/Dobby/issues/12).

#### 1.3.0

 * Fix dismissible notices not being able to get dismissed, see [issue #9](https://github.com/tfrommen/Dobby/issues/9).
 * Add PHP_CodeSniffer, and adapt code.
 * Pass custom selectors to JavaScript.

#### 1.2.1

 * Fix output buffering priority.

#### 1.2.0

 * WordPress.org release.

#### 1.1.1

 * Only ignore images for export (e.g., the generated ZIP file).

#### 1.1.0

 * Add `\tfrommen\Dobby\FILTER_THRESHOLD` to filter the minimum number of admin 
   notices required for Dobby to take action.
 * Add … MAGIC.
 * Make Dobby reveal the captured admin notices once and for all instead of toggling
   them.
 * Make Dobby pick up the according notice level based on what admin notices he 
   captured—error wins over warning, otherwise it is an info.
 * Make Dobby also capture admin notices with only the `error` or `updated` class.

#### 1.0.1

 * Move `load_plugin_textdomain()` call to where it actually is needed.
 * Add missing `Text Domain` information in plugin header.
 * Fix typos.

#### 1.0.0

 * Initial release.

## 额外信息

 *  版本 **1.4.0**
 *  最后更新：**5 年前**
 *  活跃安装数量 **900+**
 *  WordPress 版本 ** 3.1 或更高版本 **
 *  已测试的最高版本为 **5.7.15**
 *  PHP 版本 ** 5.4 或更高版本 **
 *  语言
 * [Danish](https://da.wordpress.org/plugins/wp-dobby/) 、 [Dutch](https://nl.wordpress.org/plugins/wp-dobby/)、
   [English (Australia)](https://en-au.wordpress.org/plugins/wp-dobby/) 、 [English (Canada)](https://en-ca.wordpress.org/plugins/wp-dobby/)、
   [English (New Zealand)](https://en-nz.wordpress.org/plugins/wp-dobby/) 、 [English (South Africa)](https://en-za.wordpress.org/plugins/wp-dobby/)、
   [English (UK)](https://en-gb.wordpress.org/plugins/wp-dobby/) 、 [English (US)](https://wordpress.org/plugins/wp-dobby/)、
   [French (France)](https://fr.wordpress.org/plugins/wp-dobby/) 、 [German](https://de.wordpress.org/plugins/wp-dobby/)、
   [Norwegian (Bokmål)](https://nb.wordpress.org/plugins/wp-dobby/) 、 [Russian](https://ru.wordpress.org/plugins/wp-dobby/)、
   [Spanish (Chile)](https://cl.wordpress.org/plugins/wp-dobby/) 、 [Spanish (Spain)](https://es.wordpress.org/plugins/wp-dobby/)
   和 [Swedish](https://sv.wordpress.org/plugins/wp-dobby/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/wp-dobby)
 * 标签
 * [admin](https://cn.wordpress.org/plugins/tags/admin/)[notices](https://cn.wordpress.org/plugins/tags/notices/)
 *  [高级视图](https://cn.wordpress.org/plugins/wp-dobby/advanced/)

## 评级

 4.9 星（最高 5 星）。

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

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

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

## 贡献者

 *   [ Thorsten Frommen ](https://profiles.wordpress.org/tfrommen/)

## 支持

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

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