Make WordPress Core

Ticket #29070: 29070.diff

File 29070.diff, 416 bytes (added by kovshenin, 10 years ago)
  • src/wp-includes/plugin.php

     
    105105 *                  return value.
    106106 */
    107107function has_filter($tag, $function_to_check = false) {
    108         global $wp_filter;
     108        $wp_filter = $GLOBALS['wp_filter'];
    109109
    110110        $has = ! empty( $wp_filter[ $tag ] );
    111111