WordPress.org

Make WordPress Core

Changeset 9223


Ignore:
Timestamp:
10/17/08 03:49:43 (6 years ago)
Author:
azaozz
Message:

HTML validation fixes, props Viper007Bond

Location:
trunk/wp-admin
Files:
13 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/categories.php

    r9122 r9223  
    175175<div class="alignleft"> 
    176176<select name="action"> 
    177 <option value="" selected><?php _e('Actions'); ?></option> 
     177<option value="" selected="selected"><?php _e('Actions'); ?></option> 
    178178<option value="delete"><?php _e('Delete'); ?></option> 
    179179</select> 
     
    215215<div class="alignleft"> 
    216216<select name="action2"> 
    217 <option value="" selected><?php _e('Actions'); ?></option> 
     217<option value="" selected="selected"><?php _e('Actions'); ?></option> 
    218218<option value="delete"><?php _e('Delete'); ?></option> 
    219219</select> 
  • trunk/wp-admin/edit-link-categories.php

    r9122 r9223  
    111111<div class="alignleft"> 
    112112<select name="action"> 
    113 <option value="" selected><?php _e('Actions'); ?></option> 
     113<option value="" selected="selected"><?php _e('Actions'); ?></option> 
    114114<option value="delete"><?php _e('Delete'); ?></option> 
    115115</select> 
     
    167167<div class="alignleft"> 
    168168<select name="action2"> 
    169 <option value="" selected><?php _e('Actions'); ?></option> 
     169<option value="" selected="selected"><?php _e('Actions'); ?></option> 
    170170<option value="delete"><?php _e('Delete'); ?></option> 
    171171</select> 
  • trunk/wp-admin/edit-link-form.php

    r9119 r9223  
    412412</div> 
    413413 
    414 </div> 
    415414</form> 
     415</div> 
  • trunk/wp-admin/edit-tags.php

    r9122 r9223  
    178178<div class="alignleft"> 
    179179<select name="action"> 
    180 <option value="" selected><?php _e('Actions'); ?></option> 
     180<option value="" selected="selected"><?php _e('Actions'); ?></option> 
    181181<option value="delete"><?php _e('Delete'); ?></option> 
    182182</select> 
     
    221221<div class="alignleft"> 
    222222<select name="action2"> 
    223 <option value="" selected><?php _e('Actions'); ?></option> 
     223<option value="" selected="selected"><?php _e('Actions'); ?></option> 
    224224<option value="delete"><?php _e('Delete'); ?></option> 
    225225</select> 
  • trunk/wp-admin/includes/dashboard.php

    r9219 r9223  
    371371 
    372372            <div id="inline-<?php echo $comment->comment_ID; ?>" class="hidden"> 
    373                 <textarea class="comment"><?php echo $comment->comment_content; ?></textarea> 
     373                <textarea class="comment" rows="3" cols="10"><?php echo $comment->comment_content; ?></textarea> 
    374374                <div class="author-email"><?php echo attribute_escape( $comment->comment_author_email ); ?></div> 
    375375                <div class="author"><?php echo attribute_escape( $comment->comment_author ); ?></div> 
  • trunk/wp-admin/includes/template.php

    r9192 r9223  
    10171017                    <div class="title"><?php _e('Tags'); ?></div> 
    10181018                    <div class="in"> 
    1019                     <textarea cols="22" rows="1" type="text" name="tags_input" class="tags_input"></textarea> 
     1019                    <textarea cols="22" rows="1" name="tags_input" class="tags_input"></textarea> 
    10201020                    </div> 
    10211021                </div> 
     
    18721872                if ( 'detail' == $mode || 'single' == $mode ) comment_text(); ?> 
    18731873                <div id="inline-<?php echo $comment->comment_ID; ?>" class="hidden"> 
    1874                 <textarea class="comment"><?php echo $comment->comment_content; ?></textarea> 
     1874                <textarea class="comment" rows="3" cols="10"><?php echo $comment->comment_content; ?></textarea> 
    18751875                <div class="author-email"><?php echo attribute_escape( $comment->comment_author_email ); ?></div> 
    18761876                <div class="author"><?php echo attribute_escape( $comment->comment_author ); ?></div> 
  • trunk/wp-admin/link-manager.php

    r9122 r9223  
    136136<div class="alignleft"> 
    137137<select name="action"> 
    138 <option value="" selected><?php _e('Actions'); ?></option> 
     138<option value="" selected="selected"><?php _e('Actions'); ?></option> 
    139139<option value="delete"><?php _e('Delete'); ?></option> 
    140140</select> 
     
    267267<div class="alignleft"> 
    268268<select name="action2"> 
    269 <option value="" selected><?php _e('Actions'); ?></option> 
     269<option value="" selected="selected"><?php _e('Actions'); ?></option> 
    270270<option value="delete"><?php _e('Delete'); ?></option> 
    271271</select> 
  • trunk/wp-admin/media-upload.php

    r9032 r9223  
    5858    <div class="wrap"> 
    5959 
    60     <form enctype="multipart/form-data" method="post" action="media-upload.php?inline=&upload-page-form=" class="media-upload-form type-form validate" id="file-form"> 
     60    <form enctype="multipart/form-data" method="post" action="media-upload.php?inline=&amp;upload-page-form=" class="media-upload-form type-form validate" id="file-form"> 
    6161     
    6262    <?php media_upload_form(); ?> 
  • trunk/wp-admin/options-general.php

    r9149 r9223  
    135135</tr> 
    136136<tr> 
    137 <th scope="row"><label for="date_format"><?php _e('Date Format') ?></label></th> 
     137<th scope="row"><?php _e('Date Format') ?></th> 
    138138<td> 
    139139    <fieldset><legend class="hidden"><?php _e('Date Format') ?></legend> 
     
    160160    echo '  <label><input type="radio" name="date_format" id="date_format_custom_radio" value="\c\u\s\t\o\m"'; 
    161161    checked( $custom, TRUE ); 
    162     echo '/> ' . __('Custom') . ': </label><input type="text" name="date_format_custom" value="' . attribute_escape( get_option('date_format') ) . '" size="30" /> ' . gmdate( get_option('date_format'), current_time('timestamp') ) . "</label>\n"; 
     162    echo '/> ' . __('Custom') . ': </label><input type="text" name="date_format_custom" value="' . attribute_escape( get_option('date_format') ) . '" size="30" /> ' . gmdate( get_option('date_format'), current_time('timestamp') ) . "\n"; 
    163163 
    164164    echo "\t<p>" . __('<a href="http://codex.wordpress.org/Formatting_Date_and_Time">Documentation on date formatting</a>. Click "Save Changes" to update sample output.') . "</p>\n"; 
     
    168168</tr> 
    169169<tr> 
    170 <th scope="row"><label for="time_format"><?php _e('Time Format') ?></label></th> 
     170<th scope="row"><?php _e('Time Format') ?></th> 
    171171<td> 
    172172    <fieldset><legend class="hidden"><?php _e('Time Format') ?></legend> 
     
    192192    echo '  <label><input type="radio" name="time_format" id="time_format_custom_radio" value="\c\u\s\t\o\m"'; 
    193193    checked( $custom, TRUE ); 
    194     echo '/> ' . __('Custom') . ': </label><input type="text" name="time_format_custom" value="' . attribute_escape( get_option('time_format') ) . '" size="30" /> ' . gmdate( get_option('time_format'), current_time('timestamp') ) . "</label>\n"; 
     194    echo '/> ' . __('Custom') . ': </label><input type="text" name="time_format_custom" value="' . attribute_escape( get_option('time_format') ) . '" size="30" /> ' . gmdate( get_option('time_format'), current_time('timestamp') ) . "\n"; 
    195195?> 
    196196    </fieldset> 
  • trunk/wp-admin/options-writing.php

    r9201 r9223  
    147147 
    148148<h3><?php _e('Press This') ?></h3> 
    149 <p><?php _e('Drag-and-drop the following link to your bookmarks bar or right click it and add it to your favorites for a posting shortcut.') ?>  <a href="<?php echo get_shortcut_link(); ?>" title="<?php echo attribute_escape(__('Press This')) ?>"><?php _e('Press This') ?></a></p> 
     149<p><?php _e('Drag-and-drop the following link to your bookmarks bar or right click it and add it to your favorites for a posting shortcut.') ?>  <a href="<?php echo htmlspecialchars( get_shortcut_link() ); ?>" title="<?php echo attribute_escape(__('Press This')) ?>"><?php _e('Press This') ?></a></p> 
    150150 
    151151<?php do_settings_sections('writing'); ?> 
  • trunk/wp-admin/plugins.php

    r9124 r9223  
    347347    <div class="alignleft"> 
    348348        <select name="action"> 
    349             <option value="" selected><?php _e('Actions'); ?></option> 
     349            <option value="" selected="selected"><?php _e('Actions'); ?></option> 
    350350            <option value="deactivate-selected"><?php _e('Deactivate'); ?></option> 
    351351        </select> 
     
    369369    <div class="alignleft"> 
    370370        <select name="action"> 
    371             <option value="" selected><?php _e('Actions'); ?></option> 
     371            <option value="" selected="selected"><?php _e('Actions'); ?></option> 
    372372            <option value="activate-selected"><?php _e('Activate'); ?></option> 
    373373<?php if( current_user_can('delete_plugins') ) : ?> 
  • trunk/wp-admin/themes.php

    r9119 r9223  
    164164    $stylesheet_dir = $themes[$theme_name]['Stylesheet Dir']; 
    165165    $preview_link = clean_url( get_option('home') . '/'); 
    166     $preview_link = add_query_arg( array('preview' => 1, 'template' => $template, 'stylesheet' => $stylesheet, 'TB_iframe' => 'true', 'width' => 600, 'height' => 400 ), $preview_link ); 
     166    $preview_link = htmlspecialchars( add_query_arg( array('preview' => 1, 'template' => $template, 'stylesheet' => $stylesheet, 'TB_iframe' => 'true', 'width' => 600, 'height' => 400 ), $preview_link ) ); 
    167167    $preview_text = attribute_escape( sprintf( __('Preview of "%s"'), $title ) ); 
    168168    $tags = $themes[$theme_name]['Tags']; 
  • trunk/wp-admin/users.php

    r9054 r9223  
    317317<div class="alignleft"> 
    318318<select name="action"> 
    319 <option value="" selected><?php _e('Actions'); ?></option> 
     319<option value="" selected="selected"><?php _e('Actions'); ?></option> 
    320320<option value="delete"><?php _e('Delete'); ?></option> 
    321321</select> 
     
    385385<div class="alignleft"> 
    386386<select name="action2"> 
    387 <option value="" selected><?php _e('Actions'); ?></option> 
     387<option value="" selected="selected"><?php _e('Actions'); ?></option> 
    388388<option value="delete"><?php _e('Delete'); ?></option> 
    389389</select> 
Note: See TracChangeset for help on using the changeset viewer.