From 4e09dfc8fb1aec076ec38519d423dd522a855898 Mon Sep 17 00:00:00 2001 From: ryan Date: Mon, 11 Apr 2011 18:57:34 +0000 Subject: [PATCH] Remove PHP4 constructor. Props Jayjdk. see #16768 git-svn-id: http://svn.automattic.com/wordpress/trunk@17631 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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 fd1c19f2f..856f46bd4 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()