Changeset 29854 for trunk/src/wp-includes/class-wp-error.php
- Timestamp:
- 10/08/2014 07:11:09 AM (12 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/class-wp-error.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-error.php
r29454 r29854 242 242 243 243 $this->error_data[$code] = $data; 244 } 245 246 /** 247 * Removes the specified error. 248 * 249 * This function removes all error messages associated with the specified 250 * error code, along with any error data for that code. 251 * 252 * @since 4.1.0 253 * 254 * @param string|int $code Error code. 255 */ 256 public function remove( $code ) { 257 unset( $this->errors[ $code ] ); 258 unset( $this->error_data[ $code ] ); 244 259 } 245 260 }
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)