mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-16 07:35:39 +01:00
Add a delimiter to _wp_filter_build_unique_id()'s handling of static method callbacks. props scribu, fixes #23265.
git-svn-id: http://core.svn.wordpress.org/trunk@24251 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
4385abe40f
commit
16f4954b3b
@ -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];
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user