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
This commit is contained in:
parent
ba59fac708
commit
52aa3a5112
|
@ -63,15 +63,6 @@ class WP_Error {
|
||||||
|
|
||||||
if ( ! empty($data) )
|
if ( ! empty($data) )
|
||||||
$this->error_data[$code] = $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 );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue