File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -334,16 +334,17 @@ function json_oauth_profile_section( $user ) {
334
334
<th scope="row"><?php _e ( 'Authorized Applications ' , 'json_oauth ' ) ?> </th>
335
335
<td>
336
336
<?php if ( ! empty ( $ approved ) ): ?>
337
- <table class="widefat sessions-table ">
337
+ <table class="widefat">
338
338
<thead>
339
339
<tr>
340
- <th scope="col"><?php _e ( 'Application Name ' , 'wpsm ' ); ?> </th>
340
+ <th style="padding-left:10px;"><?php _e ( 'Application Name ' , 'wpsm ' ); ?> </th>
341
+ <th></th>
341
342
</tr>
342
343
</thead>
343
344
<tbody>
344
345
<?php foreach ( $ approved as $ row ): ?>
345
346
<?php
346
- $ application = rest_get_client ( ' oauth1 ' , $ row ['consumer ' ] );
347
+ $ application = get_post ( $ row ['consumer ' ]);
347
348
?>
348
349
<tr>
349
350
<td><?php echo esc_html ( $ application ->post_title ) ?> </td>
You can’t perform that action at this time.
0 commit comments