Make WordPress Core

Ticket #3696: 3696.diff

File 3696.diff, 10.4 KB (added by rob1n, 15 years ago)
  • wp-admin/edit-page-form.php

     
    163163        $uploading_iframe_src = wp_nonce_url("upload.php?style=inline&tab=upload&post_id=$uploading_iframe_ID", 'inlineuploading');
    164164        $uploading_iframe_src = apply_filters('uploading_iframe_src', $uploading_iframe_src);
    165165        if ( false != $uploading_iframe_src )
    166                 echo '<iframe id="uploading" frameborder="0" src="' . $uploading_iframe_src . '">' . __('This feature requires iframe support.') . '</iframe>';
     166                echo '<iframe id="uploading" name="uploading" frameborder="0" src="' . $uploading_iframe_src . '">' . __('This feature requires iframe support.') . '</iframe>';
    167167}
    168168?>
    169169
  • wp-admin/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" name="link_name" id="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" name="link_url" id="link_url" value="<?php echo $link->link_url; if ( empty( $link->link_url ) ) echo 'http://'; ?>" style="width: 95%" /></td>
    8888</tr>
    8989<tr>
    9090<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>
     91<td><input type="text" name="link_description" id="link_description" value="<?php echo $link->link_description; ?>" style="width: 95%" /></td>
    9292</tr>
    9393</table>
    9494
  • wp-admin/edit-form-advanced.php

     
    194194        $uploading_iframe_src = wp_nonce_url("upload.php?style=inline&amp;tab=upload&amp;post_id=$uploading_iframe_ID", 'inlineuploading');
    195195        $uploading_iframe_src = apply_filters('uploading_iframe_src', $uploading_iframe_src);
    196196        if ( false != $uploading_iframe_src )
    197                 echo '<iframe id="uploading" frameborder="0" src="' . $uploading_iframe_src . '">' . __('This feature requires iframe support.') . '</iframe>';
     197                echo '<iframe id="uploading" name="uploading" frameborder="0" src="' . $uploading_iframe_src . '">' . __('This feature requires iframe support.') . '</iframe>';
    198198}
    199199?>
    200200
  • wp-admin/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" name="s" id="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>
  • wp-admin/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" name="first_name" id="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" name="last_name" id="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" name="nickname" id="nickname" value="<?php echo $profileuser->nickname ?>" /></label></p>
    5656
    5757<p><label><?php _e('Display name publicly as:') ?> <br />
    58 <select name="display_name">
     58<select name="display_name" id="display_name">
    5959<option value="<?php echo $profileuser->display_name; ?>"><?php echo $profileuser->display_name; ?></option>
    6060<option value="<?php echo $profileuser->nickname ?>"><?php echo $profileuser->nickname ?></option>
    6161<option value="<?php echo $profileuser->user_login ?>"><?php echo $profileuser->user_login ?></option>
     
    7676<legend><?php _e('Contact Info'); ?></legend>
    7777
    7878<p><label><?php _e('E-mail: (required)') ?><br />
    79 <input type="text" name="email" value="<?php echo $profileuser->user_email ?>" /></label></p>
     79<input type="text" name="email" id="email" value="<?php echo $profileuser->user_email ?>" /></label></p>
    8080
    8181<p><label><?php _e('Website:') ?><br />
    82 <input type="text" name="url" value="<?php echo $profileuser->user_url ?>" />
     82<input type="text" name="url" id="url" value="<?php echo $profileuser->user_url ?>" />
    8383</label></p>
    8484
    8585<p><label><?php _e('AIM:') ?><br />
    86 <input type="text" name="aim" value="<?php echo $profileuser->aim ?>" />
     86<input type="text" name="aim" id="aim" value="<?php echo $profileuser->aim ?>" />
    8787</label></p>
    8888
    8989<p><label><?php _e('Yahoo IM:') ?><br />
    90 <input type="text" name="yim" value="<?php echo $profileuser->yim ?>" />
     90<input type="text" name="yim" id="yim" value="<?php echo $profileuser->yim ?>" />
    9191</label></p>
    9292
    9393<p><label><?php _e('Jabber / Google Talk:') ?><br />
    94 <input type="text" name="jabber" value="<?php echo $profileuser->jabber ?>" /></label>
     94<input type="text" name="jabber" id="jabber" value="<?php echo $profileuser->jabber ?>" /></label>
    9595</p>
    9696</fieldset>
    9797<br clear="all" />
    9898<fieldset>
    9999<legend><?php _e('About Yourself'); ?></legend>
    100100<p class="desc"><?php _e('Share a little biographical information. '); ?></p>
    101 <p><textarea name="description" rows="5" cols="30"><?php echo $profileuser->description ?></textarea></p>
     101<p><textarea name="description" id="description" rows="5" cols="30"><?php echo $profileuser->description ?></textarea></p>
    102102</fieldset>
    103103
    104104<?php
     
    109109<legend><?php _e('Update Your Password'); ?></legend>
    110110<p class="desc"><?php _e('If you would like to change your password type a new one twice below. Otherwise leave this blank.'); ?></p>
    111111<p><label><?php _e('New Password:'); ?><br />
    112 <input type="password" name="pass1" size="16" value="" />
     112<input type="password" name="pass1" id="pass1" size="16" value="" />
    113113</label></p>
    114114<p><label><?php _e('Type it one more time:'); ?><br />
    115 <input type="password" name="pass2" size="16" value="" />
     115<input type="password" name="pass2" id="pass2" size="16" value="" />
    116116</label></p>
    117117</fieldset>
    118118<?php endif; ?>
  • wp-admin/options-permalink.php

     
    166166        <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>
    167167<?php endif; ?>
    168168        <p>
    169   <?php _e('Category base'); ?>: <input name="category_base" type="text" class="code"  value="<?php echo attribute_escape($category_base); ?>" size="30" />
     169  <?php _e('Category base'); ?>: <input name="category_base" id="category_base" type="text" class="code"  value="<?php echo attribute_escape($category_base); ?>" size="30" />
    170170     </p>
    171171          <p>
    172           <?php _e('Tag base'); ?>: <input name="tag_base" type="text" class="code"  value="<?php echo attribute_escape($tag_base); ?>" size="30" />
     172          <?php _e('Tag base'); ?>: <input name="tag_base" id="tag_base" type="text" class="code"  value="<?php echo attribute_escape($tag_base); ?>" size="30" />
    173173     </p>
    174174    <p class="submit">
    175175      <input type="submit" name="submit" value="<?php _e('Update Permalink Structure &raquo;') ?>" />
     
    179179  <p><?php _e('If your <code>.htaccess</code> file were <a href="http://codex.wordpress.org/Make_a_Directory_Writable">writable</a>, we could do this automatically, but it isn&#8217;t so these are the mod_rewrite rules you should have in your <code>.htaccess</code> file. Click in the field and press <kbd>CTRL + a</kbd> to select all.') ?></p>
    180180<form action="options-permalink.php" method="post">
    181181<?php wp_nonce_field('update-permalink') ?>
    182    <p>
    183 <textarea rows="5" style="width: 98%;" name="rules"><?php echo wp_specialchars($wp_rewrite->mod_rewrite_rules()); ?>
    184 </textarea>
    185     </p>
     182        <p><textarea rows="5" style="width: 98%;" name="rules" id="rules"><?php echo wp_specialchars($wp_rewrite->mod_rewrite_rules()); ?></textarea></p>
    186183</form>
    187184<?php endif; ?>
    188185
  • wp-admin/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 name="searchform" id="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" name="s" id="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>