Limit API key description field to 200 characters.

This commit is contained in:
Jeff Stieler 2021-10-07 16:05:00 -04:00 committed by Nestor Soriano
parent 7a68bc5ff7
commit 68f1b12797
No known key found for this signature in database
GPG Key ID: 08110F3518C12CAD
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ defined( 'ABSPATH' ) || exit;
</label>
</th>
<td class="forminp">
<input id="key_description" type="text" class="input-text regular-input" value="<?php echo esc_attr( $key_data['description'] ); ?>" />
<input maxlength="200" id="key_description" type="text" class="input-text regular-input" value="<?php echo esc_attr( $key_data['description'] ); ?>" />
</td>
</tr>
<tr valign="top">