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:
ryan 2011-06-24 21:32:40 +00:00
parent 3e2ed4fea0
commit 10823b5d77
1 changed files with 2 additions and 1 deletions

View File

@ -561,7 +561,8 @@ function shutdown_action_hook() {
*/
function wp_clone( $object ) {
return clone $object;
// Use parens for clone to accommodate PHP 4. See #17880
return clone( $object );
}
/**