WordPress.org

Make WordPress Core

Ticket #23265: 23265.diff

File 23265.diff, 385 bytes (added by scribu, 15 months ago)
  • wp-includes/plugin.php

    diff --git wp-includes/plugin.php wp-includes/plugin.php
    index f97395d..9683865 100644
    function _wp_filter_build_unique_id($tag, $function, $priority) { 
    784784                } 
    785785        } else if ( is_string($function[0]) ) { 
    786786                // Static Calling 
    787                 return $function[0].$function[1]; 
     787                return $function[0] . '::' . $function[1]; 
    788788        } 
    789789}