[wp-trac] [WordPress Trac] #16378: Use of array_intersect_key() breaks PHP4 compat

WordPress Trac wp-trac at lists.automattic.com
Thu Jan 27 19:39:38 UTC 2011


#16378: Use of array_intersect_key() breaks PHP4 compat
------------------------------+---------------------
 Reporter:  ryan              |       Owner:
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  3.1
Component:  Warnings/Notices  |     Version:  3.1
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch         |
------------------------------+---------------------

Comment (by nacin):

 I see no reason to create a wrapper for array_intersect_key simply to keep
 my own cleverness. If anyone wanted to use the filter to modify the
 strings, they can use gettext instead. As Ryan said, this is gone in 3.2
 anyway. Thanks for the efforts though.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16378#comment:9>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list