[wp-meta] [Making WordPress.org] #7644: Add "Plugin Name" from plugin file to API response

Making WordPress.org noreply at wordpress.org
Fri May 17 14:35:48 UTC 2024


#7644: Add "Plugin Name" from plugin file to API response
-------------------------+--------------------
 Reporter:  supersoju    |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:
Component:  API          |   Keywords:
-------------------------+--------------------
 (This may apply to other endpoints, but I'm primarily focusing on plugins
 here)

 On the wordpress.org API (https://codex.wordpress.org/WordPress.org_API),
 when querying for plugin metadata, I running into the issue where the
 plugin name is not actually available. Instead I'm only seeing the SEO'd
 title and not what would be shown in the plugin area within the WordPress
 admin area. Basically the difference between what's in the readme.txt and
 what's in the "Plugin Name" field in the plugin's main PHP file header.

 For example, the plugin WP-Optimize (https://wordpress.org/plugins/wp-
 optimize/) shows up in the WordPress admin as "WP-Optimize - Clean,
 Compress, Cache", which is the "Plugin Name" field from the main plugin
 php file. However, the title on WordPress.org and in the API response is
 "WP-Optimize – Cache, Compress images, Minify & Clean database to boost
 page speed & performance", from the readme.txt.

 There's lots of cases where these two are exactly the same, which is nice.
 But there's some instances where the readme.txt Title is almost unusable
 and it would be nice to have the shorter one available.

 Basically this is a request to also include the "Plugin Name" field within
 the API response.

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/7644>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list