[wp-trac] Re: [WordPress Trac] #5261: Array issues in plugins.php

WordPress Trac wp-trac at lists.automattic.com
Sat Nov 3 08:09:27 GMT 2007


#5261: Array issues in plugins.php
--------------------------+-------------------------------------------------
 Reporter:  aroundmyroom  |        Owner:  anonymous 
     Type:  defect        |       Status:  closed    
 Priority:  high          |    Milestone:  2.3.2     
Component:  General       |      Version:  2.3       
 Severity:  normal        |   Resolution:  worksforme
 Keywords:  has-patch     |  
--------------------------+-------------------------------------------------
Changes (by aroundmyroom):

 * cc: darkdragon (added)
  * status:  new => closed
  * resolution:  => worksforme

Comment:

 update:

 after the failing 2.3.1 again I re-applied the forum patch:

 $r = isset($GLOBALS['wp_filter'][$tag][$priority][$function_to_remove]);

 $wp_filter[$tag][$priority][serialize($function_to_remove)] = array();
 unset( $wp_filter[$tag][$priority][serialize($function_to_remove)] );

 unset($GLOBALS['merged_filters'][$tag]);

         if( true === $r) {
 unset($GLOBALS['wp_filter'][$tag][$priority][$function_to_remove]);
         unset($GLOBALS['merged_filters'][$tag]);
 }
         return $r;
 }

 and the array issue disappeared everywhere from main page as in dashboard
 options
 users menu is working again, profile is ok etc..

-- 
Ticket URL: <http://trac.wordpress.org/ticket/5261#comment:10>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list