Avoid PHP 4 parse error prior to version checks. Props dd32. see #17880
git-svn-id: https://develop.svn.wordpress.org/trunk@18339 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
4bf3adc029
commit
8be45e1409
|
@ -561,7 +561,8 @@ function shutdown_action_hook() {
|
||||||
*/
|
*/
|
||||||
|
|
||||||
function wp_clone( $object ) {
|
function wp_clone( $object ) {
|
||||||
return clone $object;
|
// Use parens for clone to accommodate PHP 4. See #17880
|
||||||
|
return clone( $object );
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue