AMPM Dashboard Admin Note

توضیحات

AMPM Dashboard Admin Note adds an “Important Note” widget to the WordPress Dashboard (wp-admin Dashboard). Only administrators (capability manage_options) and (in Multisite) Super Admins can view and edit it.

Features:

  • Visual editor (TinyMCE) inside the dashboard widget.
  • AJAX saving with feedback (“Saving…” label + spinner).
  • Strict sanitization via allowlist (wp_kses) and limited inline styles (color, background-color, text-align).
  • Links forced to target="_blank" with rel="nofollow noopener noreferrer".
  • Widget severity/color: Neutral / Info / Warning / Error.
  • Shows: “Modified by: user_login (Display Name. ID: X) — date/time” using the site timezone configured in WordPress.
  • Multisite-friendly: stored per site (blog) by default.

Translations

  • English (Default)
  • Spanish (Español)
  • Argentinean Spanish (Español de Argentina)
  • Dutch (Nederlands)
  • French (Français)
  • German (Deutsch)
  • Italian (Italiano)
  • Portuguese (Português brasileiro)

عکس‌های صفحه

  • “Important Note” widget on the Dashboard.
  • Editing with TinyMCE and severity color selection.1. Dashboard widget showing a formatted admin note.

نصب

  1. Upload the ampm-dashboard-admin-note folder to /wp-content/plugins/ or install via “Plugins Add New Upload Plugin”.
  2. Activate the plugin.
  3. Go to “Dashboard” and use the “Important Note” widget.

سوالات متداول

Who can see and edit the note?

Administrators (manage_options) and Super Admins in Multisite.

Can I use HTML?

Yes. HTML is allowed but strictly sanitized.

Why does it show in English even though my site is in another language?

WordPress 6.5 introduced a major upgrade to how plugin translations are loaded natively. On WordPress versions older than 6.5 (like 6.2 or 6.4), the translation engine can sometimes fail to intercept the widget rendering in time, falling back to English. For perfect internationalization support, updating to WordPress 6.5+ is required.

نقد و بررسی‌ها

نقد و بررسی‌ای برای این افزونه یافت نشد.

توسعه دهندگان و همکاران

“AMPM Dashboard Admin Note” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت کرده‌اند.

مشارکت کنندگان

“AMPM Dashboard Admin Note” به 3 زبان ترجمه شده است. با تشکر از مترجمین برای همکاری و کمک‌هایشان.

ترجمه “AMPM Dashboard Admin Note” به زبان شما.

علاقه‌ مند به توسعه هستید؟

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

گزارش تغییرات

1.0.4

  • Fix: Prevented TinyMCE editor from breaking when moving the widget via drag & drop.
  • Fix: Removed str_contains to ensure strict PHP 7.2 compatibility.
  • Tweak: Changed textdomain loading to plugins_loaded hook.
  • Fixed translations.

1.0.3

  • Fix: Prefixing to avoid conflicts + ajax rename.
  • Added translations: Dutch, French, German, Italian, Brazilian Portuguese.

1.0.2

  • Public release packaging.
  • UI/UX improvements: spinner, action buttons toggle, editor height and reliable re-init after drag&drop.
  • Fix: Timezone fix for metadata.