From 0f4d4c532570941d70833e3fd0d2eb141da1e64e Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Tue, 14 May 2013 15:55:21 +0000 Subject: [PATCH] Add a delimiter to _wp_filter_build_unique_id()'s handling of static method callbacks. props scribu, fixes #23265. git-svn-id: https://develop.svn.wordpress.org/trunk@24251 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/plugin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/plugin.php b/wp-includes/plugin.php index 1168f079e0..343bdceb7c 100644 --- a/wp-includes/plugin.php +++ b/wp-includes/plugin.php @@ -785,6 +785,6 @@ function _wp_filter_build_unique_id($tag, $function, $priority) { } } else if ( is_string($function[0]) ) { // Static Calling - return $function[0].$function[1]; + return $function[0] . '::' . $function[1]; } }