WordPress.org

Make WordPress Core

Ticket #7703: again.validation.warnings.fixes.8845.patch

File again.validation.warnings.fixes.8845.patch, 4.6 KB (added by Simek, 6 years ago)
  • import/dotclear.php

     
    730730                printf('<tr><th><label for="dbuser">%s</label></th><td><input type="text" name="dbuser" id="dbuser" /></td></tr>', __('DotClear Database User:')); 
    731731                printf('<tr><th><label for="dbpass">%s</label></th><td><input type="password" name="dbpass" id="dbpass" /></td></tr>', __('DotClear Database Password:')); 
    732732                printf('<tr><th><label for="dbname">%s</label></th><td><input type="text" name="dbname" id="dbname" /></td></tr>', __('DotClear Database Name:')); 
    733                 printf('<tr><th><label for="dbhost">%s</label></th><td><input type="text" name="dbhost" nameid="dbhost" value="localhost" /></td></tr>', __('DotClear Database Host:')); 
     733                printf('<tr><th><label for="dbhost">%s</label></th><td><input type="text" name="dbhost" id="dbhost" value="localhost" /></td></tr>', __('DotClear Database Host:')); 
    734734                printf('<tr><th><label for="dbprefix">%s</label></th><td><input type="text" name="dbprefix" id="dbprefix" value="dc_"/></td></tr>', __('DotClear Table prefix:')); 
    735735                printf('<tr><th><label for="dccharset">%s</label></th><td><input type="text" name="dccharset" id="dccharset" value="ISO-8859-15"/></td></tr>', __('Originating character set:')); 
    736736                echo '</table>'; 
  • import/greymatter.php

     
    4545</ul> 
    4646<p>&nbsp;</p> 
    4747 
    48 <form name="stepOne" method="get"> 
     48<form name="stepOne" method="get" action=""> 
    4949<input type="hidden" name="import" value="greymatter" /> 
    5050<input type="hidden" name="step" value="1" /> 
    5151<?php wp_nonce_field('import-greymatter'); ?> 
     
    6565        <?php _e("This importer will search for files 00000001.cgi to 000-whatever.cgi,<br />so you need to enter the number of the last GM post here.<br />(if you don't know that number, just log into your FTP and look it out<br />in the entries' folder)") ?></td> 
    6666</tr> 
    6767</table> 
    68 </p> 
    6968<p><input type="submit" name="submit" value="<?php _e('Start Importing') ?>" class="button" /></p> 
    7069</form> 
    7170<?php 
  • includes/media.php

     
    14131413                                <span class="alignleft"><label for="insertonly[href]">' . __('Audio File URL') . '</label></span> 
    14141414                                <span class="alignright"><abbr title="required" class="required">*</abbr></span> 
    14151415                        </th> 
    1416                         <td class="field"><input id="insertonly[href]" name="insertonly[href]" value="" type="text" aria-required="true"></td> 
     1416                        <td class="field"><input id="insertonly[href]" name="insertonly[href]" value="" type="text" aria-required="true" /></td> 
    14171417                </tr> 
    14181418                <tr> 
    14191419                        <th valign="top" scope="row" class="label"> 
    14201420                                <span class="alignleft"><label for="insertonly[title]">' . __('Title') . '</label></span> 
    14211421                                <span class="alignright"><abbr title="required" class="required">*</abbr></span> 
    14221422                        </th> 
    1423                         <td class="field"><input id="insertonly[title]" name="insertonly[title]" value="" type="text" aria-required="true"></td> 
     1423                        <td class="field"><input id="insertonly[title]" name="insertonly[title]" value="" type="text" aria-required="true" /></td> 
    14241424                </tr> 
    14251425                <tr><td></td><td class="help">' . __('Link text, e.g. "Still Alive by Jonathan Coulton"') . '</td></tr> 
    14261426                <tr> 
  • upload.php

     
    9393        $h2_cat    = isset($_GET['cat']) && $_GET['cat'] ? ' ' . sprintf( __('in &#8220;%s&#8221;'), single_cat_title('', false) ) : ''; 
    9494        $h2_tag    = isset($_GET['tag']) && $_GET['tag'] ? ' ' . sprintf( __('tagged with &#8220;%s&#8221;'), single_tag_title('', false) ) : ''; 
    9595        $h2_month  = isset($_GET['m'])   && $_GET['m']   ? ' ' . sprintf( __('during %s'), single_month_title(' ', false) ) : ''; 
    96         printf( _c( '%1$s%2$s%3$s%4$s%5$s%6$s (<a href="%7$s" class="thickbox">Add New</a>)|You can reorder these: 1: Posts, 2: by {s}, 3: matching {s}, 4: in {s}, 5: tagged with {s}, 6: during {s}' ), $h2_noun, $h2_author, $h2_search, $h2_cat, $h2_tag, $h2_month, 'media-upload.php?library=false&TB_iframe=true' ); 
     96        printf( _c( '%1$s%2$s%3$s%4$s%5$s%6$s (<a href="%7$s" class="thickbox">Add New</a>)|You can reorder these: 1: Posts, 2: by {s}, 3: matching {s}, 4: in {s}, 5: tagged with {s}, 6: during {s}' ), $h2_noun, $h2_author, $h2_search, $h2_cat, $h2_tag, $h2_month, 'media-upload.php?library=false&amp;TB_iframe=true' ); 
    9797} 
    9898?></h2> 
    9999