mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-11 18:56:10 +09:00
- fixed date time internalization;
This commit is contained in:
@@ -399,4 +399,22 @@ function um_requesting_password_change() {
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Get core page url
|
||||
*
|
||||
* @deprecated 2.0.30
|
||||
*
|
||||
* @param $time1
|
||||
* @param $time2
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
function um_time_diff( $time1, $time2 ) {
|
||||
//um_deprecated_function( 'um_time_diff', '2.0.30', 'UM()->datetime()->time_diff' );
|
||||
|
||||
return UM()->datetime()->time_diff( $time1, $time2 );
|
||||
}
|
||||
Reference in New Issue
Block a user