WP Manifestindependent plugin directory
manifest / admin / my-admin-bar-customizer

My Admin Bar Customizer WP Registry grade B. Medium-severity findings · 1 findingWP RegistryMedium-severity findings · 1 findingOpen the reportB

Hide admin bar items & auto-truncate site names. / 不要な管理バー項目を非表示にし、長いサイト名を自動省略して整理。

★ 0stars
v1.1.1latest · 5mo ago

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/ms13th-cyber/my-admin-bar-customizer/archive/refs/heads/main.zip
Updates itself. It ships its own updater (Plugin Update Checker), so new versions appear under Dashboard → Updates.

A minimalist yet robust WordPress plugin that allows you to easily hide specific items from the admin bar and automatically shortens long site names for a cleaner workspace.


Key Features

  • Dynamic Item Detection: Automatically detects all admin bar items, including those from third-party plugins (e.g., WP Fastest Cache, SEO tools).
  • Rock-Solid Persistence: Custom logic prevents settings from disappearing during save—a common issue with dynamic admin bar menus.
  • Instant Synchronization: Changes reflect immediately after saving, thanks to advanced hook priority and redirection logic.
  • Smart Site Name Truncation: Automatically shortens long site titles (default: 15 characters) to prevent toolbar layout breaking.
  • Automatic Updates: Integrated with GitHub, allowing you to receive update notifications directly in your WordPress dashboard.
  • Performance Focused: Minimal database impact using lightweight options instead of heavy meta-data.

Installation

  1. Upload the my-admin-bar-customizer folder to your /wp-content/plugins/ directory.
  2. Activate the plugin through the 'Plugins' menu in WordPress.
  3. Go to Settings > 管理バー設定 (Admin Bar Settings) to configure your preferences.
  4. Tip: If a specific item isn't listed, visit your site's front-end once to trigger the auto-detection.

主な機能(日本語)

WordPress管理バーの不要な項目を安全に非表示にし、長すぎるサイト名を自動で省略する、安定性と軽量さにこだわったプラグインです。

  • 高度な項目検知: 標準メニューに加え、外部プラグインが追加した項目も自動でリスト化します。
  • データ消失防止ロジック: 動的なメニュー保存時に発生しがちな「一覧が消える」問題を、独自の先行保存プロセスで完全に解決しています。
  • 即時反映: 保存ボタンをクリックした瞬間に管理バーの表示が同期されます(リロード不要)。
  • サイト名の自動省略: サイト名が長い場合に自動で15文字に省略し、管理バーの表示崩れを防ぎます。
  • GitHub自動更新対応: GitHubのリポジトリと連動し、管理画面から標準プラグイン同様にアップデート通知を受け取れます。
  • パフォーマンス最適化: 余計なスクリプトを読み込まず、サーバーのメモリ制限が厳しい環境でも軽快に動作します。

インストール・設定

  1. my-admin-bar-customizer フォルダを /wp-content/plugins/ にアップロードします。
  2. 管理画面の「プラグイン」から有効化してください。
  3. 「設定」 > 「管理バー設定」から、非表示にしたい項目を選択して「変更を保存」をクリックしてください。
    • ※項目が表示されない場合は、一度サイトのフロントページ(公開側)を表示してから設定画面をリロードしてください。

開発者情報

Releases

3 releases.

Tag
Published
v1.1.1 latest
May 21, 2026 5mo ago
Apr 28, 2026 5mo ago
Apr 28, 2026 5mo ago

These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.

B grade

Security

My Admin Bar Customizer 1.1.1 · audited by WP Registry

Medium-severity findings.

1 medium
Audited release
1.1.1
Findings
1
Worst severity
medium
Content hash
1b6859377876c3d1858b6c2b…

Findings

  • medium Missing capability check on admin_init option update

    missing_capability

    The admin_init handler updates hidden_admin_bar_nodes / resets options after check_admin_referer only. Any authenticated user can generate a valid nonce for admin_bar_save_action (or reset_nodes_action) via wp_create_nonce and POST to any wp-admin screen that fires admin_init (e.g. profile.php), modifying site-wide admin-bar visibility options without manage_options.

    my-admin-bar-customizer.php:17-35

WP Registry hashes the installable build and reports on that exact bytes-for-bytes copy. Embargoed findings are withheld until they are disclosed, so a clean verdict means nothing public is outstanding. WP Manifest does not audit code itself.