[wp-meta] [Making WordPress.org] #2810: plugin_information API Missing Screenshot Captions
Making WordPress.org
noreply at wordpress.org
Thu May 4 03:00:35 UTC 2017
#2810: plugin_information API Missing Screenshot Captions
-----------------------+-----------------
Reporter: blobfolio | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: General | Keywords:
-----------------------+-----------------
I'm not sure when exactly this started, but I noticed tonight that the
plugin_information API is no longer providing screenshot captions; there's
a key for them, but the values are empty strings.
{{{
// Example call from within WordPress.
$response = plugins_api('plugin_information', array('slug'=>'apocalypse-
meow'));
print_r($response);
/*
...
[screenshots] => Array
(
[1] => Array
(
[src] => https://ps.w.org/apocalypse-
meow/assets/screenshot-1.png?rev=1421211
[caption] =>
)
...
*/
}}}
The problem doesn't appear to be within the Core's `plugins_api()` wrapper
function; the raw responses (both serialized and JSON) are also missing
captions.
The WordPress.org plugin landing pages, however, are still correctly
showing screenshot captions.
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/2810>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list