Skip to content

Commit 6319e15

Browse files
committed
Call correct function for client
1 parent 0cf8504 commit 6319e15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

admin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ function json_oauth_profile_section( $user ) {
299299
<tbody>
300300
<?php foreach ( $approved as $row ): ?>
301301
<?php
302-
$application = $authenticator->get_consumer( $row['consumer'] );
302+
$application = rest_get_client( 'oauth1', $row['consumer'] );
303303
?>
304304
<tr>
305305
<td><?php echo esc_html( $application->post_title ) ?></td>

0 commit comments

Comments
 (0)