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
This commit is contained in:
parent
8ec3a3a34b
commit
0f4d4c5325
@ -785,6 +785,6 @@ function _wp_filter_build_unique_id($tag, $function, $priority) {
|
|||||||
}
|
}
|
||||||
} else if ( is_string($function[0]) ) {
|
} else if ( is_string($function[0]) ) {
|
||||||
// Static Calling
|
// Static Calling
|
||||||
return $function[0].$function[1];
|
return $function[0] . '::' . $function[1];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user