From e70b2d44129e9aa5bf5961c4b20976668d4c9fcd Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Mon, 11 Apr 2011 18:57:34 +0000 Subject: [PATCH] Remove PHP4 constructor. Props Jayjdk. see #16768 git-svn-id: https://develop.svn.wordpress.org/trunk@17631 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/media.php | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/wp-includes/media.php b/wp-includes/media.php index fd1c19f2fa..856f46bd4e 100644 --- a/wp-includes/media.php +++ b/wp-includes/media.php @@ -1025,14 +1025,7 @@ class WP_Embed { var $linkifunknown = true; /** - * PHP4 constructor - */ - function WP_Embed() { - return $this->__construct(); - } - - /** - * PHP5 constructor + * Constructor */ function __construct() { // Hack to get the [embed] shortcode to run before wpautop()