WordPress permet aux auteurs/autrices de thèmes et de plugins d’afficher des notifications dans la zone d’administration afin de tenir les utilisateurs/utilisatrices au courant des nouvelles fonctionnalités et des mises à jour. Cependant, à la vitesse à laquelle l’écosystème WordPress se développe, les notifications dans la zone d’administration peuvent devenir incontrôlables.
Mettre à jour vos extensions et voir la moitié de votre écran couvert de notifications d’administration est extrêmement ennuyeux.
Cependant, c’est encore plus frustrant en tant qu’auteurs/autrices d’extensions parce que nous sommes ceux qui sont blâmés pour cela.
Alors bien sûr, il y a des extensions qui abusent des notifications d’administrateurs à des fins promotionnelles. Certains ne peuvent même pas être fermés. Après avoir vu l’article de Jeff sur WPTavern et avoir commenté certains commentaires, nous nous sommes sentis obligés d’écrire sur ce Sujet et d’offrir une suggestion qui pourrait peut-être corriger le problème.
Si vous pensez que les notifications administratives deviennent incontrôlables, sachez que la situation va uniquement empirer (à moins que quelque chose ne soit fait pour y remédier).
Il existe actuellement plus de 44 000 extensions WordPress dans le répertoire officiel des extensions. Sans compter les milliers qui sont hébergés sur GitHub ou les extensions WordPress commerciales.
Comme de plus en plus de développeurs/développeuses saisissent l’écosystème WordPress et que de nouveaux plugins sont créés, vous pouvez imaginer qu’il y aura un moment où vous mettrez à jour 5 extensions et verrez 5 notifications d’administration différentes.
Quelle est donc la solution ?
Un centre de notification centralisé.
Vous voyez, lorsque nous avons converti OptinMonster d’une extension WordPress en un logiciel en tant que service (SaaS app), l’une des premières choses que nous avons construites était un centre de notification pour garder nos utilisateurs/utilisatrices informés des nouvelles modifications.
Ce centre a été très bien accueilli par notre public. Les utilisateurs/utilisatrices peuvent marquer une notification comme lue et peuvent toujours revenir en arrière pour lire les notifications précédentes. Cette fonction est discrète et remplit bien son rôle. Ceux qui veulent rester informés lisent la notification, les autres peuvent l’ignorer en la marquant comme lue.
Chez Awesome Motive, nous avons eu plusieurs discussions internes sur la création de notre propre système de notification pour notre extension WordPress.
Mais ce n’est pas faisable étant donné le grand nombre d’extensions que nous avons. Si jamais nous devions mettre à jour un bogue potentiel dans le centre de notification, nous devrions alors mettre à jour simultanément toutes nos extensions.
Une meilleure solution serait d’ajouter un centre de notification dans le cœur de WordPress et d’avoir une méthode standardisée que tous les développeurs/développeuses pourraient suivre.
Il existe une belle preuve de concept sous la forme d’une extension WordPress que Barry Kooij a créée et qui s’appelle WP Notification Center (nous avons écrit à son sujet ici).
Actuellement, cette extension n’offre pas la faculté d’ignorer la notification ou d’en lire tous les détails. Mais c’est un bon début pour résoudre ce problème.
Combien d’entre vous aimeraient voir un centre de notification intégré au cœur de WordPress ?
Laissez-nous savoir ce que vous en pensez en laissant vos commentaires ci-dessous.
Syed Balkhi says
Hey WPBeginner readers,
Did you know you can win exciting prizes by commenting on WPBeginner?
Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
You can get more details about the contest from here.
Start sharing your thoughts below to stand a chance to win!
John says
YESSSSSSS!!!!!!!!! Do it, WordPress!
Emily says
Could’t agree more. It will look much much much better. The old way of notification is so annoying me.
Glory Adore says
Very good idea but I want to ask who can help design my WordPress site to the best taste?
Jei-Nhy says
I think this is a fabulous idea!
Birgit says
Great idea! Love to be able to use the whole screen, instead of one filled with notices of plugins that reappear on every new load.
Mitchell says
WordPress needs an admin setting to disable admin_notices from selected plugins and themes.
Theme notices to install plugins, that I will never install, are most annoying.
Best wishes,
Mitchell
Rami says
Actually, it’s a great idea!!!
Lloyd says
Excellent, excellent idea
Christopher Haring says
Notification center and management, excellent
Thanks
Chris
Thomas says
I’m sick of messages piling up – a notification center would be awesome!
damyang says
Very good!! Better late than never..
Jagrav says
I’m all for it
Rachel says
Sounds like a good solution. I’m new to wp & find the notices can be overwhelming.
Jim Krenz says
Great idea. Code it up and submit it to the team. This is an open development system, isn’t it?
Oscar Gonzalez says
So what is the notification system where we get WP.com/jetpack alerts. Is that not something that developers can tie into and just start using?
It would be great to have ALL of those notifications in one long list (updates, plugins, themes, blog/site activity, etc).
Whatever option is done, I hope if it’s built into core, that it will have an option to email us as well as making the notification show in the dashboard/bar/wherever.
Candi says
Absolutely!
Christophe Debruel says
We sure do need something like that. It’s a mess with all the admin notices.
Swapnil Jha says
It would be a great idea.
Robin says
Definitely. Should have been in there for a long time.
Valentina says
Really good idea.I was thinking about it yesterday that why no one has made a good plugin to control Notications.
Finally thanks to you
Erick Lacayo says
A must! Let make some noise if it to happen.
Tony Zeoli says
That would be a welcome addition, for sure. All these admin notices coming into the home admin screen and some staying with you throughout each page is certainly annoying and this is something WordPress should address as soon as they can roll it into an update. So many people are talking about it now, that it’s getting to a tipping point, for sure.
Michael R. says
Cant wait for it!
Peter Cralen says
Awesome idea
Scott Bolinger says
Absolutely, I actually tweeted that Barry’s plugin should be in WP core a few months ago. The notification center plugin needs a lot of work (it doesn’t support all plugins, and doesn’t always work properly) but it is definitely needed.
Barry says
I agree. Pushed out an update today to catch more notifications. Need to think on how to work on dismissing notifications because WordPress plugins add them in code, without DB storage or a unique identifier per notification. The joy
Miguel Angel LuisV. says
Good Idea.
Chris says
No brainer – needed this for a long time.
Jack Arturo says
Yes please!