+44 0330 223 3428
Call Us
+44 0330 223 3428

WPTavern: New Dobby Plugin Captures and Hides Unwanted WordPress Admin Notices

WPTavern: New Dobby Plugin Captures and Hides Unwanted WordPress Admin Notices

With the right combination of plugins and events, the WordPress admin area can quickly become a confusing mess of notices. WordPress’ notification system is often abused and overused by plugin authors who want to inject upsells and announcements into the admin. These can stack up like a pile of junk mail vying for users’ attention when they are trying to manage their sites. Ultimately, notice overload decreases users’ enjoyment of the software and may contribute to making it a chore to log into WordPress.

The new Dobby plugin from Thorsten Frommen attempts to solve this problem by capturing and hiding unwanted admin notices. Frommen, a WordPress engineer at Inpsyde, was inspired to create the plugin after he saw a recent tweet from Torsten Landsiedel showing “Everyday life in the WordPress dashboard.”

Dobby rolls up WordPress admin notices and keeps them hidden behind a “Reveal” button that toggles a color-coded list of notices into view. It captures all the notices that are printed via the admin notice hooks, such as network_admin_notices, user_admin_notices, admin_notices and all_admin_notices. Dobby will post an admin notice if any notices have been captured.

Frommen said the target audience for his plugin is “all the people sick and tired of too many admin notifications, which are oftentimes of no real value at all.” Dobby has a filter available for users to define what “too many” means for themselves. The plugin’s GitHub repository has examples of how to use the Dobby filter threshold, which lets users customize the minimum number of admin notices required to trigger Dobby to start hiding them.

“It certainly is possible that people may miss (critical) messages with Dobby being active,” Frommen said. “However, Dobby is smart enough to style his admin notice according to the most critical one captured. This means that Dobby’s notice will have error styling if there was an error notice captured. If the most critical one was a warning, that’s what Dobby’s notice will be as well. Otherwise, it’s an info notice.”

Within the first 10 minutes of requesting translations after announcing that Dobby was on WordPress.org, Frommen received German and Dutch translations for the plugin. The plugin UI has only two strings, which makes it a simple, 5-minute translation job.

Frommen is considering adding a filter for people to define what kind of notices they would like Dobby to capture. He welcomes suggestions, contributions on GitHub, and more translations from the WordPress community.



Source: WordPress

Related Post
Matt: On React and WordPress

Matt: On React and WordPress Big companies like to bury unpleasant news on Fridays: A few weeks ago, Facebook announced they have decided to dig in on their patent clause addition to the React license, even after Apache had said it’s no longer allowed for Apache.org projects. In their words, removing the patent clause would […]

Read more
WPTavern: First WordCamp Dublin Set for October 14-15

WPTavern: First WordCamp Dublin Set for October 14-15 photo credit: Ireland.com Following up on the success of WordCamp Belfast last October, the WordPress community in Dublin will be hosting its first WordCamp October 14-15. Both camps began the early stages of planning last year and the two communities have shared some of the same organizers […]

Read more
WPTavern: GitHub Partners with Facebook to Release Atom-IDE

WPTavern: GitHub Partners with Facebook to Release Atom-IDE GitHub announced the launch of Atom-IDE this week, a new set of packages that extend its open source JavaScript-powered code editor to include IDE-like functionality. This first release includes packages that support TypeScript, Flow, JavaScript, Java, C#, and PHP. “The start of this journey includes smarter context-aware […]

Read more