Avoid PHP 4 parse error prior to version checks. Props dd32. see #17880
git-svn-id: http://svn.automattic.com/wordpress/trunk@18339 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
3e2ed4fea0
commit
10823b5d77
|
@ -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