Changeset 13126
- Timestamp:
- 01/19/2024 12:07:27 AM (16 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/admin/tools/class-author-cards.php
r12523 r13126 76 76 } 77 77 78 $usernames = ! empty( $_ POST['users'] ) ? $_POST['users'] : '';78 $usernames = ! empty( $_REQUEST['users'] ) ? $_REQUEST['users'] : ''; 79 79 80 80 echo '<div class="wrap author-cards">'; … … 83 83 echo '<p>' . __( 'This is a tool to display an author card for one or more specified users.', 'wporg-plugins' ) . '</p>'; 84 84 85 echo '<form method=" post">';85 echo '<form method="GET">'; 86 86 echo '<table class="form-table"><tbody><tr>'; 87 87 echo '<th scope="row"><label for="users">' . __( 'Users', 'wporg-plugins' ) . '</label></th><td>'; 88 echo '<input name="page" type="hidden" value="' . esc_attr( $_REQUEST['page'] ) . '">'; 88 89 echo '<input name="users" type="text" id="users" value="' . esc_attr( $usernames ) . '" class="regular-text">'; 89 90 echo '<p>' . __( 'Comma-separated list of user slugs, logins, and/or email addresses.', 'wporg-plugins' ) . '</p>'; 90 91 echo '</td></tr></tbody></table>'; 91 echo '<p class="submit"><input type="submit" name="submit"id="submit" class="button button-primary" value="' . esc_attr__( 'Submit', 'wporg-plugins' ) . '"></p>';92 echo '<p class="submit"><input type="submit" id="submit" class="button button-primary" value="' . esc_attr__( 'Submit', 'wporg-plugins' ) . '"></p>'; 92 93 echo '</form>'; 93 94
Note: See TracChangeset
for help on using the changeset viewer.