[wp-trac] [WordPress Trac] #10535: _wp_filter_build_unique_id issues with the first time a filter is hooked by a class

WordPress Trac wp-trac at lists.automattic.com
Wed Sep 8 15:28:35 UTC 2010


#10535: _wp_filter_build_unique_id issues with the first time a filter is hooked by
a class
------------------------------------+---------------------------------------
 Reporter:  simonwheatley           |        Owner:          
     Type:  defect (bug)            |       Status:  reopened
 Priority:  normal                  |    Milestone:  3.0.2   
Component:  Plugins                 |      Version:  2.9     
 Severity:  normal                  |   Resolution:          
 Keywords:  has-patch dev-feedback  |  
------------------------------------+---------------------------------------

Comment(by hakre):

 I tested the routine now. It works with Zend Egine 1 and Zend Egine 2 w/o
 spl_object_hash(). This covers all three scenarios:

  1. PHP 4 - works properly on the fallback variant.
  2. PHP < 5.2.0 - works properly on the fallback variant.
  3. PHP >= 5.2.0 - works (as not tested in life systems) with
 sp_object_hash().

 My tests did run against the StdClass Class, user-defined classes and
 build in classes (e.g. DomDocument).

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


More information about the wp-trac mailing list