Changeset 32568 for trunk/src/wp-includes/class-wp-error.php
- Timestamp:
- 05/24/2015 05:39:47 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-error.php
r31188 r32568 145 145 * 146 146 * @param string|int $code Optional. Error code. 147 * @return mixed Null, if no errors.147 * @return mixed Error data, if it exists. 148 148 */ 149 149 public function get_error_data($code = '') { … … 153 153 if ( isset($this->error_data[$code]) ) 154 154 return $this->error_data[$code]; 155 return null;156 155 } 157 156
Note: See TracChangeset
for help on using the changeset viewer.