Make WordPress Core

Ticket #9783: 9783.3.diff

File 9783.3.diff, 18.4 KB (added by Denis-de-Bernardy, 9 years ago)

third potential patch

  • wp-admin/options-privacy.php

    2525<table class="form-table">
    2626<tr valign="top">
    2727<th scope="row"><?php _e('Blog Visibility') ?> </th>
    28 <td><fieldset><legend class="invisible"><?php _e('Blog Visibility') ?> </legend>
     28<td><fieldset><div class="invisible"><?php _e('Blog Visibility') ?> </div>
    2929<p><input id="blog-public" type="radio" name="blog_public" value="1" <?php checked('1', get_option('blog_public')); ?> />
    3030<label for="blog-public"><?php _e('I would like my blog to be visible to everyone, including search engines (like Google, Sphere, Technorati) and archivers');?></label></p>
    3131<p><input id="blog-norobots" type="radio" name="blog_public" value="0" <?php checked('0', get_option('blog_public')); ?> />
  • wp-admin/includes/file.php

    758758<tr valign="top">
    759759<th scope="row"><?php _e('Connection Type') ?></th>
    761 <fieldset><legend class="invisible"><?php _e('Connection Type') ?></legend>
     761<fieldset><div class="invisible"><?php _e('Connection Type') ?></div>
    762762<label><input id="ftp" name="connection_type"  type="radio" value="ftp" <?php checked('ftp', $connection_type); if ( defined('FTP_SSL') || defined('FTP_SSH') ) echo ' disabled="disabled"'; ?>/> <?php _e('FTP') ?></label><br />
    763763<label><input id="ftps" name="connection_type" type="radio" value="ftps" <?php checked('ftps', $connection_type); if ( defined('FTP_SSH') || defined('FTP_SSH') ) echo ' disabled="disabled"';  ?>/> <?php _e('FTPS (SSL)') ?></label><br />
    764764<?php if ( extension_loaded('ssh2') ) { ?><label><input id="ssh" name="connection_type" type="radio" value="ssh" <?php checked('ssh', $connection_type);  if ( defined('FTP_SSL') || defined('FTP_SSH') ) echo ' disabled="disabled"'; ?>/> <?php _e('SSH') ?></label><?php } ?>
  • wp-admin/options-general.php

    8484<tr valign="top">
    8585<th scope="row"><?php _e('Membership') ?></th>
    86 <td> <fieldset><legend class="invisible"><?php _e('Membership') ?></legend><label for="users_can_register">
     86<td> <fieldset><div class="invisible"><?php _e('Membership') ?></div><label for="users_can_register">
    8787<input name="users_can_register" type="checkbox" id="users_can_register" value="1" <?php checked('1', get_option('users_can_register')); ?> />
    8888<?php _e('Anyone can register') ?></label>
    198198<th scope="row"><?php _e('Date Format') ?></th>
    200         <fieldset><legend class="invisible"><?php _e('Date Format') ?></legend>
     200        <fieldset><div class="invisible"><?php _e('Date Format') ?></div>
    203203        $date_formats = apply_filters( 'date_formats', array(
    231231<th scope="row"><?php _e('Time Format') ?></th>
    233         <fieldset><legend class="invisible"><?php _e('Time Format') ?></legend>
     233        <fieldset><div class="invisible"><?php _e('Time Format') ?></div>
    236236        $time_formats = apply_filters( 'time_formats', array(
  • wp-admin/options-media.php

    4242<tr valign="top">
    4343<th scope="row"><?php _e('Medium size') ?></th>
    44 <td><fieldset><legend class="invisible"><?php _e('Medium size') ?></legend>
     44<td><fieldset><div class="invisible"><?php _e('Medium size') ?></div>
    4545<label for="medium_size_w"><?php _e('Max Width'); ?></label>
    4646<input name="medium_size_w" type="text" id="medium_size_w" value="<?php form_option('medium_size_w'); ?>" class="small-text" />
    4747<label for="medium_size_h"><?php _e('Max Height'); ?></label>
    5252<tr valign="top">
    5353<th scope="row"><?php _e('Large size') ?></th>
    54 <td><fieldset><legend class="invisible"><?php _e('Large size') ?></legend>
     54<td><fieldset><div class="invisible"><?php _e('Large size') ?></div>
    5555<label for="large_size_w"><?php _e('Max Width'); ?></label>
    5656<input name="large_size_w" type="text" id="large_size_w" value="<?php form_option('large_size_w'); ?>" class="small-text" />
    5757<label for="large_size_h"><?php _e('Max Height'); ?></label>
  • wp-admin/edit-link-form.php

    157157 * @param object $link
    158158 */
    159159function link_target_meta_box($link) { ?>
    160 <fieldset><legend class="invisible"><?php _e('Target') ?></legend>
     160<fieldset><div class="invisible"><?php _e('Target') ?></div>
    161161<p><label for="link_target_blank" class="selectit">
    162162<input id="link_target_blank" type="radio" name="link_target" value="_blank" <?php echo ( isset( $link->link_target ) && ($link->link_target == '_blank') ? 'checked="checked"' : ''); ?> />
    163163<?php _e('<code>_blank</code> - new window or tab.'); ?></label></p>
    192192                        <table cellpadding="3" cellspacing="5" class="form-table">
    193193                                <tr>
    194194                                        <th scope="row"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('identity') ?> </th>
    195                                         <td><fieldset><legend class="invisible"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('identity') ?> </legend>
     195                                        <td><fieldset><div class="invisible"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('identity') ?> </div>
    196196                                                <label for="me">
    197197                                                <input type="checkbox" name="identity" value="me" id="me" <?php xfn_check('identity', 'me'); ?> />
    198198                                                <?php _e('another web address of mine') ?></label>
    200200                                </tr>
    201201                                <tr>
    202202                                        <th scope="row"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('friendship') ?> </th>
    203                                         <td><fieldset><legend class="invisible"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('friendship') ?> </legend>
     203                                        <td><fieldset><div class="invisible"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('friendship') ?> </div>
    204204                                                <label for="contact">
    205205                                                <input class="valinp" type="radio" name="friendship" value="contact" id="contact" <?php xfn_check('friendship', 'contact', 'radio'); ?> /> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('contact') ?></label>
    206206                                                <label for="acquaintance">
    213213                                </tr>
    214214                                <tr>
    215215                                        <th scope="row"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('physical') ?> </th>
    216                                         <td><fieldset><legend class="invisible"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('physical') ?> </legend>
     216                                        <td><fieldset><div class="invisible"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('physical') ?> </div>
    217217                                                <label for="met">
    218218                                                <input class="valinp" type="checkbox" name="physical" value="met" id="met" <?php xfn_check('physical', 'met'); ?> />
    219219                                                <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('met') ?></label>
    221221                                </tr>
    222222                                <tr>
    223223                                        <th scope="row"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('professional') ?> </th>
    224                                         <td><fieldset><legend class="invisible"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('professional') ?> </legend>
     224                                        <td><fieldset><div class="invisible"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('professional') ?> </div>
    225225                                                <label for="co-worker">
    226226                                                <input class="valinp" type="checkbox" name="professional" value="co-worker" id="co-worker" <?php xfn_check('professional', 'co-worker'); ?> />
    227227                                                <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('co-worker') ?></label>
    232232                                </tr>
    233233                                <tr>
    234234                                        <th scope="row"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('geographical') ?> </th>
    235                                         <td><fieldset><legend class="invisible"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('geographical') ?> </legend>
     235                                        <td><fieldset><div class="invisible"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('geographical') ?> </div>
    236236                                                <label for="co-resident">
    237237                                                <input class="valinp" type="radio" name="geographical" value="co-resident" id="co-resident" <?php xfn_check('geographical', 'co-resident', 'radio'); ?> />
    238238                                                <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('co-resident') ?></label>
    246246                                </tr>
    247247                                <tr>
    248248                                        <th scope="row"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('family') ?> </th>
    249                                         <td><fieldset><legend class="invisible"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('family') ?> </legend>
     249                                        <td><fieldset><div class="invisible"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('family') ?> </div>
    250250                                                <label for="child">
    251251                                                <input class="valinp" type="radio" name="family" value="child" id="child" <?php xfn_check('family', 'child', 'radio'); ?>  />
    252252                                                <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('child') ?></label>
    269269                                </tr>
    270270                                <tr>
    271271                                        <th scope="row"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('romantic') ?> </th>
    272                                         <td><fieldset><legend class="invisible"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('romantic') ?> </legend>
     272                                        <td><fieldset><div class="invisible"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('romantic') ?> </div>
    273273                                                <label for="muse">
    274274                                                <input class="valinp" type="checkbox" name="romantic" value="muse" id="muse" <?php xfn_check('romantic', 'muse'); ?> />
    275275                                                <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('muse') ?></label>
  • wp-admin/options-discussion.php

    2525<table class="form-table">
    2626<tr valign="top">
    2727<th scope="row"><?php _e('Default article settings') ?></th>
    28 <td><fieldset><legend class="invisible"><?php _e('Default article settings') ?></legend>
     28<td><fieldset><div class="invisible"><?php _e('Default article settings') ?></div>
    2929<label for="default_pingback_flag">
    3030<input name="default_pingback_flag" type="checkbox" id="default_pingback_flag" value="1" <?php checked('1', get_option('default_pingback_flag')); ?> />
    3131<?php _e('Attempt to notify any blogs linked to from the article (slows down posting.)') ?></label>
    4444<tr valign="top">
    4545<th scope="row"><?php _e('Other comment settings') ?></th>
    46 <td><fieldset><legend class="invisible"><?php _e('Other comment settings') ?></legend>
     46<td><fieldset><div class="invisible"><?php _e('Other comment settings') ?></div>
    4747<label for="require_name_email"><input type="checkbox" name="require_name_email" id="require_name_email" value="1" <?php checked('1', get_option('require_name_email')); ?> /> <?php _e('Comment author must fill out name and e-mail') ?></label>
    4848<br />
    4949<label for="comment_registration">
    103103<tr valign="top">
    104104<th scope="row"><?php _e('E-mail me whenever') ?></th>
    105 <td><fieldset><legend class="invisible"><?php _e('E-mail me whenever') ?></legend>
     105<td><fieldset><div class="invisible"><?php _e('E-mail me whenever') ?></div>
    106106<label for="comments_notify">
    107107<input name="comments_notify" type="checkbox" id="comments_notify" value="1" <?php checked('1', get_option('comments_notify')); ?> />
    108108<?php _e('Anyone posts a comment') ?> </label>
    115115<tr valign="top">
    116116<th scope="row"><?php _e('Before a comment appears') ?></th>
    117 <td><fieldset><legend class="invisible"><?php _e('Before a comment appears') ?></legend>
     117<td><fieldset><div class="invisible"><?php _e('Before a comment appears') ?></div>
    118118<label for="comment_moderation">
    119119<input name="comment_moderation" type="checkbox" id="comment_moderation" value="1" <?php checked('1', get_option('comment_moderation')); ?> />
    120120<?php _e('An administrator must always approve the comment') ?> </label>
    125125<tr valign="top">
    126126<th scope="row"><?php _e('Comment Moderation') ?></th>
    127 <td><fieldset><legend class="invisible"><?php _e('Comment Moderation') ?></legend>
     127<td><fieldset><div class="invisible"><?php _e('Comment Moderation') ?></div>
    128128<p><label for="comment_max_links"><?php printf(__('Hold a comment in the queue if it contains %s or more links. (A common characteristic of comment spam is a large number of hyperlinks.)'), '<input name="comment_max_links" type="text" id="comment_max_links" value="' . esc_attr(get_option('comment_max_links')) . '" class="small-text" />' ) ?></label></p>
    130130<p><label for="moderation_keys"><?php _e('When a comment contains any of these words in its content, name, URL, e-mail, or IP, it will be held in the <a href="edit-comments.php?comment_status=moderated">moderation queue</a>. One word or IP per line. It will match inside words, so &#8220;press&#8221; will match &#8220;WordPress&#8221;.') ?></label></p>
    136136<tr valign="top">
    137137<th scope="row"><?php _e('Comment Blacklist') ?></th>
    138 <td><fieldset><legend class="invisible"><?php _e('Comment Blacklist') ?></legend>
     138<td><fieldset><div class="invisible"><?php _e('Comment Blacklist') ?></div>
    139139<p><label for="blacklist_keys"><?php _e('When a comment contains any of these words in its content, name, URL, e-mail, or IP, it will be marked as spam. One word or IP per line. It will match inside words, so &#8220;press&#8221; will match &#8220;WordPress&#8221;.') ?></label></p>
    141141<textarea name="blacklist_keys" rows="10" cols="50" id="blacklist_keys" class="large-text code"><?php form_option('blacklist_keys'); ?></textarea>
    154154<table class="form-table">
    155155<tr valign="top">
    156156<th scope="row"><?php _e('Avatar Display') ?></th>
    157 <td><fieldset><legend class="invisible"><?php _e('Avatar display') ?></legend>
     157<td><fieldset><div class="invisible"><?php _e('Avatar display') ?></div>
    159159        $yesorno = array(0 => __("Don&#8217;t show Avatars"), 1 => __('Show Avatars'));
    160160        foreach ( $yesorno as $key => $value) {
    167167<tr valign="top">
    168168<th scope="row"><?php _e('Maximum Rating') ?></th>
    169 <td><fieldset><legend class="invisible"><?php _e('Maximum Rating') ?></legend>
     169<td><fieldset><div class="invisible"><?php _e('Maximum Rating') ?></div>
    172172$ratings = array( 'G' => __('G &#8212; Suitable for all audiences'), 'PG' => __('PG &#8212; Possibly offensive, usually for audiences 13 and above'), 'R' => __('R &#8212; Intended for adult audiences above 17'), 'X' => __('X &#8212; Even more mature than above'));
    181181<tr valign="top">
    182182<th scope="row"><?php _e('Default Avatar') ?></th>
    183 <td class="defaultavatarpicker"><fieldset><legend class="invisible"><?php _e('Default Avatar') ?></legend>
     183<td class="defaultavatarpicker"><fieldset><div class="invisible"><?php _e('Default Avatar') ?></div>
    185185<?php _e('For users without a custom avatar of their own, you can either display a generic logo or a generated one based on their e-mail address.'); ?><br />
  • wp-admin/user-edit.php

    209209<?php if (count($_wp_admin_css_colors) > 1 ) : ?>
    211211<th scope="row"><?php _e('Admin Color Scheme')?></th>
    212 <td><fieldset><legend class="invisible"><?php _e('Admin Color Scheme')?></legend>
     212<td><fieldset><div class="invisible"><?php _e('Admin Color Scheme')?></div>
    214214$current_color = get_user_option('admin_color', $user_id);
    215215if ( empty($current_color) )
  • wp-admin/options-reading.php

    2626<?php if ( get_pages() ): ?>
    2727<tr valign="top">
    2828<th scope="row"><?php _e('Front page displays')?></th>
    29 <td><fieldset><legend class="invisible"><?php _e('Front page displays')?></legend>
     29<td><fieldset><div class="invisible"><?php _e('Front page displays')?></div>
    3030        <p><label>
    3131                <input name="show_on_front" type="radio" value="posts" class="tog" <?php checked('posts', get_option('show_on_front')); ?> />
    3232                <?php _e('Your latest posts'); ?>
    6464<tr valign="top">
    6565<th scope="row"><?php _e('For each article in a feed, show') ?> </th>
    66 <td><fieldset><legend class="invisible"><?php _e('For each article in a feed, show') ?> </legend>
     66<td><fieldset><div class="invisible"><?php _e('For each article in a feed, show') ?> </div>
    6767<p><label><input name="rss_use_excerpt"  type="radio" value="0" <?php checked(0, get_option('rss_use_excerpt')); ?>     /> <?php _e('Full text') ?></label><br />
    6868<label><input name="rss_use_excerpt" type="radio" value="1" <?php checked(1, get_option('rss_use_excerpt')); ?> /> <?php _e('Summary') ?></label></p>
  • wp-admin/options-writing.php

    3131<tr valign="top">
    3232<th scope="row"><?php _e('Formatting') ?></th>
    33 <td><fieldset><legend class="invisible"><?php _e('Formatting') ?></legend>
     33<td><fieldset><div class="invisible"><?php _e('Formatting') ?></div>
    3434<label for="use_smilies">
    3535<input name="use_smilies" type="checkbox" id="use_smilies" value="1" <?php checked('1', get_option('use_smilies')); ?> />
    3636<?php _e('Convert emoticons like <code>:-)</code> and <code>:-P</code> to graphics on display') ?></label><br />
    6161<table class="form-table">
    6262<tr valign="top">
    6363<th scope="row"><?php _e('Atom Publishing Protocol') ?></th>
    64 <td><fieldset><legend class="invisible"><?php _e('Atom Publishing Protocol') ?></legend>
     64<td><fieldset><div class="invisible"><?php _e('Atom Publishing Protocol') ?></div>
    6565<label for="enable_app">
    6666<input name="enable_app" type="checkbox" id="enable_app" value="1" <?php checked('1', get_option('enable_app')); ?> />
    6767<?php _e('Enable the Atom Publishing Protocol.') ?></label><br />
    7070<tr valign="top">
    7171<th scope="row"><?php _e('XML-RPC') ?></th>
    72 <td><fieldset><legend class="invisible"><?php _e('XML-RPC') ?></legend>
     72<td><fieldset><div class="invisible"><?php _e('XML-RPC') ?></div>
    7373<label for="enable_xmlrpc">
    7474<input name="enable_xmlrpc" type="checkbox" id="enable_xmlrpc" value="1" <?php checked('1', get_option('enable_xmlrpc')); ?> />
    7575<?php _e('Enable the WordPress, Movable Type, MetaWeblog and Blogger XML-RPC publishing protocols.') ?></label><br />