Make WordPress Core

Ticket #3696: wellformed.diff

File wellformed.diff, 6.6 KB (added by charleshooper, 17 years ago)

Adds IDs and Names to HTML entities

  • edit-page-form.php

     
    156156        $uploading_iframe_src = wp_nonce_url("upload.php?style=inline&tab=upload&post_id=$uploading_iframe_ID", 'inlineuploading');
    157157        $uploading_iframe_src = apply_filters('uploading_iframe_src', $uploading_iframe_src);
    158158        if ( false != $uploading_iframe_src )
    159                 echo '<iframe id="uploading" frameborder="0" src="' . $uploading_iframe_src . '">' . __('This feature requires iframe support.') . '</iframe>';
     159                echo '<iframe id="uploading" name="uploading" frameborder="0" src="' . $uploading_iframe_src . '">' . __('This feature requires iframe support.') . '</iframe>';
    160160}
    161161?>
    162162
  • edit-link-form.php

     
    8080<table class="editform" width="100%" cellspacing="2" cellpadding="5">
    8181<tr>
    8282<th scope="row" valign="top"><label for="link_name"><?php _e('Name:') ?></label></th>
    83 <td><input type="text" name="link_name" value="<?php echo $link->link_name; ?>" style="width: 95%" /></td>
     83<td><input type="text" id="link_name" name="link_name" value="<?php echo $link->link_name; ?>" style="width: 95%" /></td>
    8484</tr>
    8585<tr>
    8686<th width="20%" scope="row" valign="top"><label for="link_url"><?php _e('Address:') ?></label></th>
    87 <td width="80%"><input type="text" name="link_url" value="<?php echo $link->link_url; if ( empty( $link->link_url ) ) echo 'http://'; ?>" style="width: 95%" /></td>
     87<td width="80%"><input type="text" id="link_url" name="link_url" value="<?php echo $link->link_url;
     88if
     89( empty( $link->link_url ) ) echo 'http://'; ?>" style="width: 95%" /></td>
    8890</tr>
    8991<tr>
    9092<th scope="row" valign="top"><label for="link_description"><?php _e('Description:') ?></label></th>
    91 <td><input type="text" name="link_description" value="<?php echo $link->link_description; ?>" style="width: 95%" /></td>
     93<td><input type="text" id="link_description" name="link_description" value="<?php echo $link->link_description; ?>" style="width: 95%" /></td>
    9294</tr>
    9395</table>
    9496
  • edit-form-advanced.php

     
    183183        $uploading_iframe_src = wp_nonce_url("upload.php?style=inline&amp;tab=upload&amp;post_id=$uploading_iframe_ID", 'inlineuploading');
    184184        $uploading_iframe_src = apply_filters('uploading_iframe_src', $uploading_iframe_src);
    185185        if ( false != $uploading_iframe_src )
    186                 echo '<iframe id="uploading" frameborder="0" src="' . $uploading_iframe_src . '">' . __('This feature requires iframe support.') . '</iframe>';
     186                echo '<iframe id="uploading" name="uploading" frameborder="0" src="' . $uploading_iframe_src . '">' . __('This feature requires iframe support.') . '</iframe>';
    187187}
    188188?>
    189189
  • edit.php

     
    7676<form name="searchform" id="searchform" action="" method="get">
    7777  <fieldset>
    7878  <legend><?php _e('Search Posts&hellip;') ?></legend>
    79   <input type="text" name="s" value="<?php if (isset($s)) echo attribute_escape($s); ?>" size="17" />
     79  <input type="text" id="s" name="s" value="<?php if (isset($s)) echo attribute_escape($s); ?>" size="17" />
    8080  <input type="submit" name="submit" value="<?php _e('Search') ?>" class="button" />
    8181  </fieldset>
    8282</form>
  • profile.php

     
    4646</label></p>
    4747
    4848<p><label><?php _e('First name:') ?><br />
    49 <input type="text" name="first_name" value="<?php echo $profileuser->first_name ?>" /></label></p>
     49<input type="text" id="first_name" name="first_name" value="<?php echo $profileuser->first_name ?>" /></label></p>
    5050
    5151<p><label><?php _e('Last name:') ?><br />
    52 <input type="text" name="last_name"  value="<?php echo $profileuser->last_name ?>" /></label></p>
     52<input type="text" id="last_name" name="last_name"  value="<?php echo $profileuser->last_name ?>" /></label></p>
    5353
    5454<p><label><?php _e('Nickname:') ?><br />
    55 <input type="text" name="nickname" value="<?php echo $profileuser->nickname ?>" /></label></p>
     55<input type="text" id="nickname" name="nickname" value="<?php echo $profileuser->nickname ?>" /></label></p>
    5656
    5757<p><label><?php _e('Display name publicly as:') ?> <br />
    5858<select name="display_name">
  • options-permalink.php

     
    158158        <p><?php _e('If you like, you may enter a custom prefix for your category <abbr title="Universal Resource Locator">URL</abbr>s here. For example, <code>/index.php/taxonomy/tags</code> would make your category links like <code>http://example.org/index.php/taxonomy/tags/uncategorized/</code>. If you leave this blank the default will be used.') ?></p>
    159159<?php endif; ?>
    160160        <p>
    161   <?php _e('Category base'); ?>: <input name="category_base" type="text" class="code"  value="<?php echo attribute_escape($category_base); ?>" size="30" />
     161  <?php _e('Category base'); ?>: <input id="category_base" name="category_base" type="text" class="code"  value="<?php echo attribute_escape($category_base); ?>" size="30" />
    162162     </p>
    163163    <p class="submit">
    164164      <input type="submit" name="submit" value="<?php _e('Update Permalink Structure &raquo;') ?>" />
  • edit-pages.php

     
    1010<h2><?php _e('Page Management'); ?></h2>
    1111<p><?php _e('Pages are like posts except they live outside of the normal blog chronology and can be hierarchical. You can use pages to organize and manage any amount of content.'); ?> <a href="page-new.php"><?php _e('Create a new page &raquo;'); ?></a></p>
    1212
    13 <form name="searchform" action="" method="get">
     13<form id="searchform" name="searchform" action="" method="get">
    1414        <fieldset>
    1515        <legend><?php _e('Search Pages&hellip;') ?></legend>
    16         <input type="text" name="s" value="<?php if (isset($_GET['s'])) echo attribute_escape($_GET['s']); ?>" size="17" />
     16        <input type="text" id="s" name="s" value="<?php if (isset($_GET['s'])) echo attribute_escape($_GET['s']); ?>" size="17" />
    1717        <input type="submit" name="submit" value="<?php _e('Search') ?>"  />
    1818        </fieldset>
    1919</form>