Wordpress++

This commit is contained in:
nikolark committed 2015-08-22 18:55:55 +02:00
1 parent 790f1487a2
commit 3f49ab1747
610 files changed
+58979 -36562

No files matched your search

+1 -2
View File
@@ -144,7 +144,7 @@ class WP_Error {
* @since 2.1.0
*
* @param string|int $code Optional. Error code.
* @return mixed Null, if no errors.
* @return mixed Error data, if it exists.
*/
public function get_error_data($code = '') {
if ( empty($code) )
@@ -152,7 +152,6 @@ class WP_Error {
if ( isset($this->error_data[$code]) )
return $this->error_data[$code];
return null;
}
/**