return apply_filters( 'xmlrpc_prepare_term',
$_term,
$term );
} /**
* Converts a WordPress date string to an IXR_Date object.
*
* @param string $date Date string to convert.
* @return IXR_Date IXR_Date object.
*/
protected function _convert_date( $date ) { if ( '0000-00-00 00:00:00' ===
$date ) { return new IXR_Date( '00000000T00:00:00Z'
);
} return new IXR_Date( mysql2date( 'Ymd\TH:i:s',
$date, false
) );
} /**
* Converts a WordPress GMT date string to an IXR_Date object.
*
* @param string $date_gmt WordPress GMT date string.
* @param string $date Date string.
* @return IXR_Date IXR_Date object.
*/