[wp-meta] [Making WordPress.org] #5570: Plugins API - inconsistent results for short_description if being trimmed.

Making WordPress.org noreply at wordpress.org
Sun Jan 10 15:40:30 UTC 2021


#5570: Plugins API - inconsistent results for short_description if being trimmed.
--------------------------+--------------------
 Reporter:  polevaultweb  |      Owner:  (none)
     Type:  defect        |     Status:  new
 Priority:  normal        |  Milestone:
Component:  API           |   Keywords:
--------------------------+--------------------
 My plugin has a short description longer than 150 characters in the
 readme.txt (due to the ampersand being turned into it's HTML entity taking
 it over the limit).

 However, the API request for 'plugin_information' returns different
 results for the short_description at different times of the day.


 {{{
 curl --location -g --request GET
 'https://api.wordpress.org/plugins/info/1.2/?action=plugin_information&request[slug
 ]=wp-user-manager&request[fields]=short_description'
 }}}


 It can return:

 **The most customizable profiles & community builder WordPress plugin
 with front-end login, registration, profile customization and content
 restrict …
 **
 Which is 150 chars if you don't count ' …'

 But then a later call to the API returns:

 **The most customizable profiles & community builder WordPress plugin
 with front-end login, registration, profile customization…**

 It feels like some double trimming is happening somewhere along the line.

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


More information about the wp-meta mailing list