From 52aa3a5112c6498cdafffc98b9ee96b69a92abfa Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Wed, 9 Jul 2014 19:19:14 +0000 Subject: [PATCH] Revert [29033] pending further discussion. See #28319. Built from https://develop.svn.wordpress.org/trunk@29046 git-svn-id: http://core.svn.wordpress.org/trunk@28834 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-wp-error.php | 9 --------- 1 file changed, 9 deletions(-) diff --git a/wp-includes/class-wp-error.php b/wp-includes/class-wp-error.php index c73e22b794..2e384d0fe2 100644 --- a/wp-includes/class-wp-error.php +++ b/wp-includes/class-wp-error.php @@ -63,15 +63,6 @@ class WP_Error { if ( ! empty($data) ) $this->error_data[$code] = $data; - - /** - * Fires when a WP_Error object instance is created. - * - * @since 4.0.0 - * - * @param WP_Error $this The WP_Error instance. - */ - do_action( 'create_wp_error', $this ); } /**