Changeset 17771 for trunk/wp-includes/class-wp-error.php
- Timestamp:
- 04/29/2011 08:05:12 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/class-wp-error.php
r16101 r17771 39 39 40 40 /** 41 * PHP4Constructor - Sets up error message.41 * Constructor - Sets up error message. 42 42 * 43 43 * If code parameter is empty then nothing will be done. It is possible to … … 55 55 * @return WP_Error 56 56 */ 57 function WP_Error($code = '', $message = '', $data = '') {57 function __construct($code = '', $message = '', $data = '') { 58 58 if ( empty($code) ) 59 59 return;
Note: See TracChangeset
for help on using the changeset viewer.