[wp-trac] [WordPress Trac] #34035: Document $args parameter for plugins_api()
WordPress Trac
noreply at wordpress.org
Fri Oct 2 04:49:37 UTC 2015
#34035: Document $args parameter for plugins_api()
--------------------------+------------------------
Reporter: ocean90 | Owner: ocean90
Type: defect (bug) | Status: reviewing
Priority: normal | Milestone: 4.4
Component: Plugins | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses: docs
--------------------------+------------------------
Changes (by DrewAPicture):
* owner: DrewAPicture => ocean90
Comment:
@ocean90 I think we're good on the docs aspect.
If 'hot_tags' and 'hot_categories' return an array as you said, should we
not either cast that response as an object regardless or handle the array
case? This would be for the case where the object/array is being replaced
using the `plugins_api` hook. I suppose handling that in a separate ticket
might be best.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34035#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list