-
diff --git a/wp-admin/custom-background.php b/wp-admin/custom-background.php
index ce37b5301eb..85d4e9c9849 100644
|
a
|
b
|
public function admin_page() { |
| 246 | 246 | |
| 247 | 247 | <h3><?php _e( 'Background Image' ); ?></h3> |
| 248 | 248 | |
| 249 | | <table class="form-table"> |
| | 249 | <table class="form-table" role="presentation"> |
| 250 | 250 | <tbody> |
| 251 | 251 | <tr> |
| 252 | 252 | <th scope="row"><?php _e( 'Preview' ); ?></th> |
| … |
… |
public function admin_page() { |
| 340 | 340 | |
| 341 | 341 | <h3><?php _e( 'Display Options' ); ?></h3> |
| 342 | 342 | <form method="post"> |
| 343 | | <table class="form-table"> |
| | 343 | <table class="form-table" role="presentation"> |
| 344 | 344 | <tbody> |
| 345 | 345 | <?php if ( get_background_image() ) : ?> |
| 346 | 346 | <input name="background-preset" type="hidden" value="custom"> |
-
diff --git a/wp-admin/custom-header.php b/wp-admin/custom-header.php
index 3ad1d271ab4..00692d35b2e 100644
|
a
|
b
|
public function step_1() { |
| 490 | 490 | |
| 491 | 491 | <h3><?php _e( 'Header Image' ); ?></h3> |
| 492 | 492 | |
| 493 | | <table class="form-table"> |
| | 493 | <table class="form-table" role="presentation"> |
| 494 | 494 | <tbody> |
| 495 | 495 | |
| 496 | 496 | <?php if ( get_custom_header() || display_header_text() ) : ?> |
| … |
… |
public function step_1() { |
| 628 | 628 | |
| 629 | 629 | <form method="post" action="<?php echo esc_url( add_query_arg( 'step', 1 ) ); ?>"> |
| 630 | 630 | <?php submit_button( null, 'screen-reader-text', 'save-header-options', false ); ?> |
| 631 | | <table class="form-table"> |
| | 631 | <table class="form-table" role="presentation"> |
| 632 | 632 | <tbody> |
| 633 | 633 | <?php if ( get_uploaded_header_images() ) : ?> |
| 634 | 634 | <tr> |
| … |
… |
public function step_1() { |
| 689 | 689 | |
| 690 | 690 | <h3><?php _e( 'Header Text' ); ?></h3> |
| 691 | 691 | |
| 692 | | <table class="form-table"> |
| | 692 | <table class="form-table" role="presentation"> |
| 693 | 693 | <tbody> |
| 694 | 694 | <tr> |
| 695 | 695 | <th scope="row"><?php _e( 'Header Text' ); ?></th> |
-
diff --git a/wp-admin/edit-tag-form.php b/wp-admin/edit-tag-form.php
index 3a496920349..48800eb8bc7 100644
|
a
|
b
|
|
| 127 | 127 | $tag_name_value = esc_attr( $tag->name ); |
| 128 | 128 | } |
| 129 | 129 | ?> |
| 130 | | <table class="form-table"> |
| | 130 | <table class="form-table" role="presentation"> |
| 131 | 131 | <tr class="form-field form-required term-name-wrap"> |
| 132 | 132 | <th scope="row"><label for="name"><?php _ex( 'Name', 'term name' ); ?></label></th> |
| 133 | 133 | <td><input name="name" id="name" type="text" value="<?php echo $tag_name_value; ?>" size="40" aria-required="true" /> |
-
diff --git a/wp-admin/includes/ms.php b/wp-admin/includes/ms.php
index f8e3fc09e91..07870846b38 100644
|
a
|
b
|
function avoid_blog_page_permalink_collision( $data, $postarr ) { |
| 802 | 802 | */ |
| 803 | 803 | function choose_primary_blog() { |
| 804 | 804 | ?> |
| 805 | | <table class="form-table"> |
| | 805 | <table class="form-table" role="presentation"> |
| 806 | 806 | <tr> |
| 807 | 807 | <?php /* translators: My sites label */ ?> |
| 808 | 808 | <th scope="row"><label for="primary_blog"><?php _e( 'Primary Site' ); ?></label></th> |
| … |
… |
function confirm_delete_users( $users ) { |
| 914 | 914 | $site_admins = get_super_admins(); |
| 915 | 915 | $admin_out = '<option value="' . esc_attr( $current_user->ID ) . '">' . $current_user->user_login . '</option>'; |
| 916 | 916 | ?> |
| 917 | | <table class="form-table"> |
| | 917 | <table class="form-table" role="presentation"> |
| 918 | 918 | <?php |
| 919 | 919 | foreach ( ( $allusers = (array) $_POST['allusers'] ) as $user_id ) { |
| 920 | 920 | if ( $user_id != '' && $user_id != '0' ) { |
-
diff --git a/wp-admin/includes/network.php b/wp-admin/includes/network.php
index ea6ec24bac6..f9ea59c23b4 100644
|
a
|
b
|
function network_step1( $errors = false ) { |
| 223 | 223 | <strong><?php _e( 'You cannot change this later.' ); ?></strong></p> |
| 224 | 224 | <p><?php _e( 'You will need a wildcard DNS record if you are going to use the virtual host (sub-domain) functionality.' ); ?></p> |
| 225 | 225 | <?php // @todo: Link to an MS readme? ?> |
| 226 | | <table class="form-table"> |
| | 226 | <table class="form-table" role="presentation"> |
| 227 | 227 | <tr> |
| 228 | 228 | <th><label><input type="radio" name="subdomain_install" value="1"<?php checked( $subdomain_install ); ?> /> <?php _e( 'Sub-domains' ); ?></label></th> |
| 229 | 229 | <td> |
| … |
… |
function network_step1( $errors = false ) { |
| 272 | 272 | ); |
| 273 | 273 | ?> |
| 274 | 274 | </p> |
| 275 | | <table class="form-table"> |
| | 275 | <table class="form-table" role="presentation"> |
| 276 | 276 | <tr> |
| 277 | 277 | <th scope='row'><?php esc_html_e( 'Server Address' ); ?></th> |
| 278 | 278 | <td> |
| … |
… |
function network_step1( $errors = false ) { |
| 289 | 289 | <?php endif; ?> |
| 290 | 290 | |
| 291 | 291 | <h3><?php esc_html_e( 'Network Details' ); ?></h3> |
| 292 | | <table class="form-table"> |
| | 292 | <table class="form-table" role="presentation"> |
| 293 | 293 | <?php if ( 'localhost' == $hostname ) : ?> |
| 294 | 294 | <tr> |
| 295 | 295 | <th scope="row"><?php esc_html_e( 'Sub-directory Installation' ); ?></th> |
-
diff --git a/wp-admin/includes/template.php b/wp-admin/includes/template.php
index a06f9228aae..d8c23ccec4c 100644
|
a
|
b
|
function do_settings_sections( $page ) { |
| 1605 | 1605 | if ( ! isset( $wp_settings_fields ) || ! isset( $wp_settings_fields[ $page ] ) || ! isset( $wp_settings_fields[ $page ][ $section['id'] ] ) ) { |
| 1606 | 1606 | continue; |
| 1607 | 1607 | } |
| 1608 | | echo '<table class="form-table">'; |
| | 1608 | echo '<table class="form-table" role="presentation">'; |
| 1609 | 1609 | do_settings_fields( $page, $section['id'] ); |
| 1610 | 1610 | echo '</table>'; |
| 1611 | 1611 | } |
-
diff --git a/wp-admin/install.php b/wp-admin/install.php
index 4a38eab1cd7..06932309f80 100644
|
a
|
b
|
function display_setup_form( $error = null ) { |
| 113 | 113 | <p class="message"><?php echo $error; ?></p> |
| 114 | 114 | <?php } ?> |
| 115 | 115 | <form id="setup" method="post" action="install.php?step=2" novalidate="novalidate"> |
| 116 | | <table class="form-table"> |
| | 116 | <table class="form-table" role="presentation"> |
| 117 | 117 | <tr> |
| 118 | 118 | <th scope="row"><label for="weblog_title"><?php _e( 'Site Title' ); ?></label></th> |
| 119 | 119 | <td><input name="weblog_title" type="text" id="weblog_title" size="25" value="<?php echo esc_attr( $weblog_title ); ?>" /></td> |
-
diff --git a/wp-admin/network/settings.php b/wp-admin/network/settings.php
index eeffa514c38..26586793310 100644
|
a
|
b
|
|
| 148 | 148 | <form method="post" action="settings.php" novalidate="novalidate"> |
| 149 | 149 | <?php wp_nonce_field( 'siteoptions' ); ?> |
| 150 | 150 | <h2><?php _e( 'Operational Settings' ); ?></h2> |
| 151 | | <table class="form-table"> |
| | 151 | <table class="form-table" role="presentation"> |
| 152 | 152 | <tr> |
| 153 | 153 | <th scope="row"><label for="site_name"><?php _e( 'Network Title' ); ?></label></th> |
| 154 | 154 | <td> |
| … |
… |
|
| 188 | 188 | </tr> |
| 189 | 189 | </table> |
| 190 | 190 | <h2><?php _e( 'Registration Settings' ); ?></h2> |
| 191 | | <table class="form-table"> |
| | 191 | <table class="form-table" role="presentation"> |
| 192 | 192 | <tr> |
| 193 | 193 | <th scope="row"><?php _e( 'Allow new registrations' ); ?></th> |
| 194 | 194 | <?php |
| … |
… |
|
| 277 | 277 | |
| 278 | 278 | </table> |
| 279 | 279 | <h2><?php _e( 'New Site Settings' ); ?></h2> |
| 280 | | <table class="form-table"> |
| | 280 | <table class="form-table" role="presentation"> |
| 281 | 281 | |
| 282 | 282 | <tr> |
| 283 | 283 | <th scope="row"><label for="welcome_email"><?php _e( 'Welcome Email' ); ?></label></th> |
| … |
… |
|
| 358 | 358 | </tr> |
| 359 | 359 | </table> |
| 360 | 360 | <h2><?php _e( 'Upload Settings' ); ?></h2> |
| 361 | | <table class="form-table"> |
| | 361 | <table class="form-table" role="presentation"> |
| 362 | 362 | <tr> |
| 363 | 363 | <th scope="row"><?php _e( 'Site upload space' ); ?></th> |
| 364 | 364 | <td> |
| … |
… |
|
| 402 | 402 | if ( ! empty( $languages ) || ! empty( $translations ) ) { |
| 403 | 403 | ?> |
| 404 | 404 | <h2><?php _e( 'Language Settings' ); ?></h2> |
| 405 | | <table class="form-table"> |
| | 405 | <table class="form-table" role="presentation"> |
| 406 | 406 | <tr> |
| 407 | 407 | <th><label for="WPLANG"><?php _e( 'Default Language' ); ?></label></th> |
| 408 | 408 | <td> |
-
diff --git a/wp-admin/network/site-info.php b/wp-admin/network/site-info.php
index 6d83fdc5ef0..1d4d5a37c79 100644
|
a
|
b
|
|
| 152 | 152 | <form method="post" action="site-info.php?action=update-site"> |
| 153 | 153 | <?php wp_nonce_field( 'edit-site' ); ?> |
| 154 | 154 | <input type="hidden" name="id" value="<?php echo esc_attr( $id ); ?>" /> |
| 155 | | <table class="form-table"> |
| | 155 | <table class="form-table" role="presentation"> |
| 156 | 156 | <?php |
| 157 | 157 | // The main site of the network should not be updated on this page. |
| 158 | 158 | if ( $is_main_site ) : |
-
diff --git a/wp-admin/network/site-new.php b/wp-admin/network/site-new.php
index 5dfe03b5383..f62f200eaa9 100644
|
a
|
b
|
|
| 224 | 224 | </p> |
| 225 | 225 | <form method="post" action="<?php echo network_admin_url( 'site-new.php?action=add-site' ); ?>" novalidate="novalidate"> |
| 226 | 226 | <?php wp_nonce_field( 'add-blog', '_wpnonce_add-blog' ); ?> |
| 227 | | <table class="form-table"> |
| | 227 | <table class="form-table" role="presentation"> |
| 228 | 228 | <tr class="form-field form-required"> |
| 229 | 229 | <th scope="row"><label for="site-address"><?php _e( 'Site Address (URL)' ); ?> <span class="required">*</span></label></th> |
| 230 | 230 | <td> |
-
diff --git a/wp-admin/network/site-settings.php b/wp-admin/network/site-settings.php
index e5a879cfa49..ab694ec8b80 100644
|
a
|
b
|
|
| 111 | 111 | <form method="post" action="site-settings.php?action=update-site"> |
| 112 | 112 | <?php wp_nonce_field( 'edit-site' ); ?> |
| 113 | 113 | <input type="hidden" name="id" value="<?php echo esc_attr( $id ); ?>" /> |
| 114 | | <table class="form-table"> |
| | 114 | <table class="form-table" role="presentation"> |
| 115 | 115 | <?php |
| 116 | 116 | $blog_prefix = $wpdb->get_blog_prefix( $id ); |
| 117 | 117 | $sql = "SELECT * FROM {$blog_prefix}options |
-
diff --git a/wp-admin/network/site-users.php b/wp-admin/network/site-users.php
index 5689014f2df..c851664c869 100644
|
a
|
b
|
|
| 300 | 300 | <h2 id="add-existing-user"><?php _e( 'Add Existing User' ); ?></h2> |
| 301 | 301 | <form action="site-users.php?action=adduser" id="adduser" method="post"> |
| 302 | 302 | <input type="hidden" name="id" value="<?php echo esc_attr( $id ); ?>" /> |
| 303 | | <table class="form-table"> |
| | 303 | <table class="form-table" role="presentation"> |
| 304 | 304 | <tr> |
| 305 | 305 | <th scope="row"><label for="newuser"><?php _e( 'Username' ); ?></label></th> |
| 306 | 306 | <td><input type="text" class="regular-text wp-suggest-user" name="newuser" id="newuser" /></td> |
| … |
… |
|
| 334 | 334 | <h2 id="add-new-user"><?php _e( 'Add New User' ); ?></h2> |
| 335 | 335 | <form action="<?php echo network_admin_url( 'site-users.php?action=newuser' ); ?>" id="newuser" method="post"> |
| 336 | 336 | <input type="hidden" name="id" value="<?php echo esc_attr( $id ); ?>" /> |
| 337 | | <table class="form-table"> |
| | 337 | <table class="form-table" role="presentation"> |
| 338 | 338 | <tr> |
| 339 | 339 | <th scope="row"><label for="user_username"><?php _e( 'Username' ); ?></label></th> |
| 340 | 340 | <td><input type="text" class="regular-text" name="user[username]" id="user_username" /></td> |
-
diff --git a/wp-admin/network/user-new.php b/wp-admin/network/user-new.php
index 202ff90ecb5..59c595dc4a2 100644
|
a
|
b
|
|
| 120 | 120 | </div> |
| 121 | 121 | <?php } ?> |
| 122 | 122 | <form action="<?php echo network_admin_url( 'user-new.php?action=add-user' ); ?>" id="adduser" method="post" novalidate="novalidate"> |
| 123 | | <table class="form-table"> |
| | 123 | <table class="form-table" role="presentation"> |
| 124 | 124 | <tr class="form-field form-required"> |
| 125 | 125 | <th scope="row"><label for="username"><?php _e( 'Username' ); ?></label></th> |
| 126 | 126 | <td><input type="text" class="regular-text" name="user[username]" id="username" autocapitalize="none" autocorrect="off" maxlength="60" /></td> |
-
diff --git a/wp-admin/options-discussion.php b/wp-admin/options-discussion.php
index d79007ed8ab..bfaa0cfbc6d 100644
|
a
|
b
|
|
| 41 | 41 | <form method="post" action="options.php"> |
| 42 | 42 | <?php settings_fields( 'discussion' ); ?> |
| 43 | 43 | |
| 44 | | <table class="form-table"> |
| | 44 | <table class="form-table" role="presentation"> |
| 45 | 45 | <tr> |
| 46 | 46 | <th scope="row"><?php _e( 'Default article settings' ); ?></th> |
| 47 | 47 | <td><fieldset><legend class="screen-reader-text"><span><?php _e( 'Default article settings' ); ?></span></legend> |
| … |
… |
|
| 218 | 218 | } |
| 219 | 219 | ?> |
| 220 | 220 | |
| 221 | | <table class="form-table"> |
| | 221 | <table class="form-table" role="presentation"> |
| 222 | 222 | <tr> |
| 223 | 223 | <th scope="row"><?php _e( 'Avatar Display' ); ?></th> |
| 224 | 224 | <td><fieldset><legend class="screen-reader-text"><span><?php _e( 'Avatar Display' ); ?></span></legend> |
-
diff --git a/wp-admin/options-general.php b/wp-admin/options-general.php
index f47011aa0b6..62dd4951bf1 100644
|
a
|
b
|
|
| 58 | 58 | <form method="post" action="options.php" novalidate="novalidate"> |
| 59 | 59 | <?php settings_fields( 'general' ); ?> |
| 60 | 60 | |
| 61 | | <table class="form-table"> |
| | 61 | <table class="form-table" role="presentation"> |
| 62 | 62 | |
| 63 | 63 | <tr> |
| 64 | 64 | <th scope="row"><label for="blogname"><?php _e( 'Site Title' ); ?></label></th> |
-
diff --git a/wp-admin/options-media.php b/wp-admin/options-media.php
index 5d7483c5d89..7373cb5d697 100644
|
a
|
b
|
|
| 51 | 51 | <h2 class="title"><?php _e( 'Image sizes' ); ?></h2> |
| 52 | 52 | <p><?php _e( 'The sizes listed below determine the maximum dimensions in pixels to use when adding an image to the Media Library.' ); ?></p> |
| 53 | 53 | |
| 54 | | <table class="form-table"> |
| | 54 | <table class="form-table" role="presentation"> |
| 55 | 55 | <tr> |
| 56 | 56 | <th scope="row"><?php _e( 'Thumbnail size' ); ?></th> |
| 57 | 57 | <td><fieldset><legend class="screen-reader-text"><span><?php _e( 'Thumbnail size' ); ?></span></legend> |
| … |
… |
|
| 98 | 98 | if ( isset( $GLOBALS['wp_settings']['media']['embeds'] ) ) : |
| 99 | 99 | ?> |
| 100 | 100 | <h2 class="title"><?php _e( 'Embeds' ); ?></h2> |
| 101 | | <table class="form-table"> |
| | 101 | <table class="form-table" role="presentation"> |
| 102 | 102 | <?php do_settings_fields( 'media', 'embeds' ); ?> |
| 103 | 103 | </table> |
| 104 | 104 | <?php endif; ?> |
| 105 | 105 | |
| 106 | 106 | <?php if ( ! is_multisite() ) : ?> |
| 107 | 107 | <h2 class="title"><?php _e( 'Uploading Files' ); ?></h2> |
| 108 | | <table class="form-table"> |
| | 108 | <table class="form-table" role="presentation"> |
| 109 | 109 | <?php |
| 110 | 110 | // If upload_url_path is not the default (empty), and upload_path is not the default ('wp-content/uploads' or empty) |
| 111 | 111 | if ( get_option( 'upload_url_path' ) || ( get_option( 'upload_path' ) != 'wp-content/uploads' && get_option( 'upload_path' ) ) ) : |
-
diff --git a/wp-admin/options-permalink.php b/wp-admin/options-permalink.php
index b17e56692fd..bbe4682a449 100644
|
a
|
b
|
class="button button-secondary" |
| 300 | 300 | ?> |
| 301 | 301 | </p> |
| 302 | 302 | |
| 303 | | <table class="form-table"> |
| | 303 | <table class="form-table" role="presentation"> |
| 304 | 304 | <tr> |
| 305 | 305 | <th><label for="category_base"><?php /* translators: prefix for category permalinks */ _e( 'Category base' ); ?></label></th> |
| 306 | 306 | <td><?php echo $blog_prefix; ?> <input name="category_base" id="category_base" type="text" value="<?php echo esc_attr( $category_base ); ?>" class="regular-text code" /></td> |
-
diff --git a/wp-admin/options-reading.php b/wp-admin/options-reading.php
index 636b6d124c3..5921e86ec97 100644
|
a
|
b
|
|
| 61 | 61 | |
| 62 | 62 | <?php if ( ! get_pages() ) : ?> |
| 63 | 63 | <input name="show_on_front" type="hidden" value="posts" /> |
| 64 | | <table class="form-table"> |
| | 64 | <table class="form-table" role="presentation"> |
| 65 | 65 | <?php |
| 66 | 66 | if ( 'posts' != get_option( 'show_on_front' ) ) : |
| 67 | 67 | update_option( 'show_on_front', 'posts' ); |
| … |
… |
|
| 72 | 72 | update_option( 'show_on_front', 'posts' ); |
| 73 | 73 | } |
| 74 | 74 | ?> |
| 75 | | <table class="form-table"> |
| | 75 | <table class="form-table" role="presentation"> |
| 76 | 76 | <tr> |
| 77 | 77 | <th scope="row"><?php _e( 'Your homepage displays' ); ?></th> |
| 78 | 78 | <td id="front-static-pages"><fieldset><legend class="screen-reader-text"><span><?php _e( 'Your homepage displays' ); ?></span></legend> |
-
diff --git a/wp-admin/options-writing.php b/wp-admin/options-writing.php
index ac5bba5ffc7..a5207a32f2b 100644
|
a
|
b
|
|
| 62 | 62 | <form method="post" action="options.php"> |
| 63 | 63 | <?php settings_fields( 'writing' ); ?> |
| 64 | 64 | |
| 65 | | <table class="form-table"> |
| | 65 | <table class="form-table" role="presentation"> |
| 66 | 66 | <?php if ( get_site_option( 'initial_db_version' ) < 32453 ) : ?> |
| 67 | 67 | <tr> |
| 68 | 68 | <th scope="row"><?php _e( 'Formatting' ); ?></th> |
| … |
… |
|
| 150 | 150 | ?> |
| 151 | 151 | </p> |
| 152 | 152 | |
| 153 | | <table class="form-table"> |
| | 153 | <table class="form-table" role="presentation"> |
| 154 | 154 | <tr> |
| 155 | 155 | <th scope="row"><label for="mailserver_url"><?php _e( 'Mail Server' ); ?></label></th> |
| 156 | 156 | <td><input name="mailserver_url" type="text" id="mailserver_url" value="<?php form_option( 'mailserver_url' ); ?>" class="regular-text code" /> |
-
diff --git a/wp-admin/options.php b/wp-admin/options.php
index 3bf95c1810b..c07801050c6 100644
|
a
|
b
|
|
| 320 | 320 | <?php wp_nonce_field( 'options-options' ); ?> |
| 321 | 321 | <input type="hidden" name="action" value="update" /> |
| 322 | 322 | <input type="hidden" name="option_page" value="options" /> |
| 323 | | <table class="form-table"> |
| | 323 | <table class="form-table" role="presentation"> |
| 324 | 324 | <?php |
| 325 | 325 | $options = $wpdb->get_results( "SELECT * FROM $wpdb->options ORDER BY option_name" ); |
| 326 | 326 | |
-
diff --git a/wp-admin/setup-config.php b/wp-admin/setup-config.php
index 7ea9d0be02c..b81519e8eb3 100644
|
a
|
b
|
function setup_config_display_header( $body_classes = array() ) { |
| 207 | 207 | <h1 class="screen-reader-text"><?php _e( 'Set up your database connection' ); ?></h1> |
| 208 | 208 | <form method="post" action="setup-config.php?step=2"> |
| 209 | 209 | <p><?php _e( 'Below you should enter your database connection details. If you’re not sure about these, contact your host.' ); ?></p> |
| 210 | | <table class="form-table"> |
| | 210 | <table class="form-table" role="presentation"> |
| 211 | 211 | <tr> |
| 212 | 212 | <th scope="row"><label for="dbname"><?php _e( 'Database Name' ); ?></label></th> |
| 213 | 213 | <td><input name="dbname" id="dbname" type="text" size="25" value="wordpress"<?php echo $autofocus; ?>/></td> |
-
diff --git a/wp-admin/user-edit.php b/wp-admin/user-edit.php
index f478c3be572..d5413f400c1 100644
|
a
|
b
|
|
| 255 | 255 | |
| 256 | 256 | <h2><?php _e( 'Personal Options' ); ?></h2> |
| 257 | 257 | |
| 258 | | <table class="form-table"> |
| | 258 | <table class="form-table" role="presentation"> |
| 259 | 259 | <?php if ( ! ( IS_PROFILE_PAGE && ! $user_can_edit ) ) : ?> |
| 260 | 260 | <tr class="user-rich-editing-wrap"> |
| 261 | 261 | <th scope="row"><?php _e( 'Visual Editor' ); ?></th> |
| … |
… |
|
| 385 | 385 | |
| 386 | 386 | <h2><?php _e( 'Name' ); ?></h2> |
| 387 | 387 | |
| 388 | | <table class="form-table"> |
| | 388 | <table class="form-table" role="presentation"> |
| 389 | 389 | <tr class="user-user-login-wrap"> |
| 390 | 390 | <th><label for="user_login"><?php _e( 'Username' ); ?></label></th> |
| 391 | 391 | <td><input type="text" name="user_login" id="user_login" value="<?php echo esc_attr( $profileuser->user_login ); ?>" disabled="disabled" class="regular-text" /> <span class="description"><?php _e( 'Usernames cannot be changed.' ); ?></span></td> |
| … |
… |
|
| 482 | 482 | |
| 483 | 483 | <h2><?php _e( 'Contact Info' ); ?></h2> |
| 484 | 484 | |
| 485 | | <table class="form-table"> |
| | 485 | <table class="form-table" role="presentation"> |
| 486 | 486 | <tr class="user-email-wrap"> |
| 487 | 487 | <th><label for="email"><?php _e( 'Email' ); ?> <span class="description"><?php _e( '(required)' ); ?></span></label></th> |
| 488 | 488 | <td><input type="email" name="email" id="email" aria-describedby="email-description" value="<?php echo esc_attr( $profileuser->user_email ); ?>" class="regular-text ltr" /> |
| … |
… |
|
| 551 | 551 | |
| 552 | 552 | <h2><?php IS_PROFILE_PAGE ? _e( 'About Yourself' ) : _e( 'About the user' ); ?></h2> |
| 553 | 553 | |
| 554 | | <table class="form-table"> |
| | 554 | <table class="form-table" role="presentation"> |
| 555 | 555 | <tr class="user-description-wrap"> |
| 556 | 556 | <th><label for="description"><?php _e( 'Biographical Info' ); ?></label></th> |
| 557 | 557 | <td><textarea name="description" id="description" rows="5" cols="30"><?php echo $profileuser->description; // textarea_escaped ?></textarea> |
| … |
… |
|
| 607 | 607 | </table> |
| 608 | 608 | |
| 609 | 609 | <h2><?php _e( 'Account Management' ); ?></h2> |
| 610 | | <table class="form-table"> |
| | 610 | <table class="form-table" role="presentation"> |
| 611 | 611 | <tr id="password" class="user-pass1-wrap"> |
| 612 | 612 | <th><label for="pass1"><?php _e( 'New Password' ); ?></label></th> |
| 613 | 613 | <td> |
| … |
… |
|
| 728 | 728 | ) : |
| 729 | 729 | ?> |
| 730 | 730 | <h2><?php _e( 'Additional Capabilities' ); ?></h2> |
| 731 | | <table class="form-table"> |
| | 731 | <table class="form-table" role="presentation"> |
| 732 | 732 | <tr class="user-capabilities-wrap"> |
| 733 | 733 | <th scope="row"><?php _e( 'Capabilities' ); ?></th> |
| 734 | 734 | <td> |
-
diff --git a/wp-admin/user-new.php b/wp-admin/user-new.php
index 6f38312c9e1..0d3743805db 100644
|
a
|
b
|
|
| 393 | 393 | <input name="action" type="hidden" value="adduser" /> |
| 394 | 394 | <?php wp_nonce_field( 'add-user', '_wpnonce_add-user' ); ?> |
| 395 | 395 | |
| 396 | | <table class="form-table"> |
| | 396 | <table class="form-table" role="presentation"> |
| 397 | 397 | <tr class="form-field form-required"> |
| 398 | 398 | <th scope="row"><label for="adduser-email"><?php echo $label; ?></label></th> |
| 399 | 399 | <td><input name="email" type="<?php echo $type; ?>" id="adduser-email" class="wp-suggest-user" value="" /></td> |
| … |
… |
|
| 462 | 462 | $new_user_ignore_pass = $creating && isset( $_POST['noconfirmation'] ) ? wp_unslash( $_POST['noconfirmation'] ) : ''; |
| 463 | 463 | |
| 464 | 464 | ?> |
| 465 | | <table class="form-table"> |
| | 465 | <table class="form-table" role="presentation"> |
| 466 | 466 | <tr class="form-field form-required"> |
| 467 | 467 | <th scope="row"><label for="user_login"><?php _e( 'Username' ); ?> <span class="description"><?php _e( '(required)' ); ?></span></label></th> |
| 468 | 468 | <td><input name="user_login" type="text" id="user_login" value="<?php echo esc_attr( $new_user_login ); ?>" aria-required="true" autocapitalize="none" autocorrect="off" maxlength="60" /></td> |