Changeset 34021 for trunk/src/wp-admin/user-edit.php
- Timestamp:
- 09/10/2015 09:32:46 PM (10 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-admin/user-edit.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/user-edit.php
r33909 r34021 59 59 60 60 $user_can_edit = current_user_can( 'edit_posts' ) || current_user_can( 'edit_pages' ); 61 62 /**63 * Optional SSL preference that can be turned on by hooking to the 'personal_options' action.64 *65 * @since 2.7.066 *67 * @param object $user User data object68 */69 function use_ssl_preference($user) {70 ?>71 <tr class="user-use-ssl-wrap">72 <th scope="row"><?php _e('Use https')?></th>73 <td><label for="use_ssl"><input name="use_ssl" type="checkbox" id="use_ssl" value="1" <?php checked('1', $user->use_ssl); ?> /> <?php _e('Always use https when visiting the admin'); ?></label></td>74 </tr>75 <?php76 }77 61 78 62 /**
Note: See TracChangeset
for help on using the changeset viewer.