[wp-trac] [WordPress Trac] #65145: Plugins: Display plugin slug/identifier in Installed Plugins row meta

WordPress Trac noreply at wordpress.org
Tue Apr 28 20:35:26 UTC 2026


#65145: Plugins: Display plugin slug/identifier in Installed Plugins row meta
----------------------------+-----------------------------
 Reporter:  crweiner        |      Owner:  (none)
     Type:  enhancement     |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Plugins         |    Version:  6.9.4
 Severity:  normal          |   Keywords:
  Focuses:  administration  |
----------------------------+-----------------------------
 On the Installed Plugins screen (`/wp-admin/plugins.php`), the row meta
 currently shows the metadata, such as the plugin version, author, and
 either “View details” or “Visit plugin site”, as well as whatever else a
 plugin author manually defines.

 It would be helpful to also display the plugin's slug / identifier as
 well.

 This would make it easier to match plugins shown in WP Admin with WP-CLI
 output, where all of the `wp plugin` commands like `wp plugin list`
 identify plugins by slug/name rather than the human-readable plugin title.

 Suggested behavior:

 - If `$plugin_data['slug']` is available, display that value.
 - Otherwise, fall back to an identifier derived from `$plugin_file`:
   - directory-based plugins: directory name
   - single-file plugins: filename without `.php`

 Example:

 Current:
 Version 2.11.2 | By Activity Log Team | View details

 Proposed:
 Version 2.11.2 | By Activity Log Team | Slug: activity-log | View details

 I am not tied to having the slug be after the author name specifically,
 just an idea!

 `WP_Plugins_List_Table::single_row()` already uses `$plugin_data['slug']`
 for the “View details” link when available to pull up a WP.org card, so
 this appears to be available for many installed plugins already.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/65145>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list