Ticket #5231: 5231.diff
File 5231.diff, 919 bytes (added by , 17 years ago) |
---|
-
wp-admin/includes/plugin.php
329 329 } 330 330 331 331 function get_plugin_page_hook( $plugin_page, $parent_page ) { 332 global $wp_ filter;332 global $wp_action; 333 333 334 334 $hook = get_plugin_page_hookname( $plugin_page, $parent_page ); 335 if ( isset( $wp_ filter[$hook] ))335 if ( isset( $wp_action[$hook] )) 336 336 return $hook; 337 337 else 338 338 return null; -
wp-settings.php
20 20 21 21 wp_unregister_GLOBALS(); 22 22 23 unset( $wp_filter, $ cache_lastcommentmodified, $cache_lastpostdate );23 unset( $wp_filter, $wp_action, $cache_lastcommentmodified, $cache_lastpostdate ); 24 24 25 25 if ( ! isset($blog_id) ) 26 26 $blog_id = 1;