[wp-meta] [Making WordPress.org] #1579: Plugins API

Making WordPress.org noreply at wordpress.org
Sun Jun 26 10:50:43 UTC 2016


#1579: Plugins API
------------------------------+---------------------------------------
 Reporter:  obenland          |       Owner:  dd32
     Type:  task              |      Status:  assigned
 Priority:  high              |   Milestone:  Plugin Directory v3 - M5
Component:  Plugin Directory  |  Resolution:
 Keywords:                    |
------------------------------+---------------------------------------

Comment (by tellyworth):

 attachment:1579-fix-plugin-object-type.diff fixes two issues in the PHP
 API:

 1. `PHP Warning:  Invalid argument supplied for foreach()` when the
 `$contribs` array is null.

 2. A regression: in the old API, `query_plugins` returns an array of
 plugin objects. In the new one, they were assoc arrays - this casts them
 to objects.

--
Ticket URL: <https://meta.trac.wordpress.org/ticket/1579#comment:25>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list