File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -238,6 +238,7 @@ function json_oauth_admin_edit_page() {
238
238
<input type="text" class="regular-text"
239
239
name="name" id="oauth-name"
240
240
value="<?php echo esc_attr ( $ data ['name ' ] ) ?> " />
241
+ <p class="description"><?php echo esc_html ( 'This is shown to users during authorization and in their profile. ' ) ?> </p>
241
242
</td>
242
243
</tr>
243
244
<tr>
@@ -249,6 +250,25 @@ function json_oauth_admin_edit_page() {
249
250
cols="30" rows="5" style="width: 500px"><?php echo esc_textarea ( $ data ['description ' ] ) ?> </textarea>
250
251
</td>
251
252
</tr>
253
+
254
+ <?php if ( ! empty ( $ consumer ) ): ?>
255
+ <tr>
256
+ <th scope="row">
257
+ <?php echo esc_html ( 'Client Key ' ) ?>
258
+ </th>
259
+ <td>
260
+ <code><?php echo esc_html ( $ consumer ->key ) ?> </code>
261
+ </td>
262
+ </tr>
263
+ <tr>
264
+ <th scope="row">
265
+ <?php echo esc_html ( 'Client Secret ' ) ?>
266
+ </th>
267
+ <td>
268
+ <code><?php echo esc_html ( $ consumer ->secret ) ?> </code>
269
+ </td>
270
+ </tr>
271
+ <?php endif ?>
252
272
</table>
253
273
254
274
<?php
You can’t perform that action at this time.
0 commit comments