We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43b5e3c commit 63c4690Copy full SHA for 63c4690
inc/admin/profile/namespace.php
@@ -56,11 +56,13 @@ function render_profile_section( WP_User $user ) {
56
function render_token_row( WP_User $user, Access_Token $token ) {
57
$client = $token->get_client();
58
59
+ $creation_time = $token->get_creation_time();
60
$details = [
61
sprintf(
- /* translators: %s: formatted date */
62
- esc_html__( 'Authorized %s', 'oauth2' ),
63
- date( get_option( 'date_format' ), $token->get_creation_time() )
+ /* translators: %1$s: formatted date, %2$s: formatted time */
+ esc_html__( 'Authorized %1$s at %2$s', 'oauth2' ),
64
+ date( get_option( 'date_format' ), $creation_time ),
65
+ date( get_option( 'time_format' ), $creation_time )
66
),
67
];
68
0 commit comments