Make WordPress Core


Ignore:
Timestamp:
04/28/2009 06:37:51 AM (16 years ago)
Author:
ryan
Message:

attr escaping. see #9650

File:
1 edited

Legend:

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

    r11109 r11110  
    167167    <label class="hidden" for="post-search-input"><?php _e( 'Search Posts' ); ?>:</label>
    168168    <input type="text" id="post-search-input" name="s" value="<?php the_search_query(); ?>" />
    169     <input type="submit" value="<?php _e( 'Search Posts' ); ?>" class="button" />
     169    <input type="submit" value="<?php _ea( 'Search Posts' ); ?>" class="button" />
    170170</p>
    171171
     
    173173<input type="hidden" name="post_status" value="<?php echo attr($_GET['post_status']) ?>" />
    174174<?php endif; ?>
    175 <input type="hidden" name="mode" value="<?php echo $mode; ?>" />
     175<input type="hidden" name="mode" value="<?php echo attr($mode); ?>" />
    176176
    177177<?php if ( have_posts() ) { ?>
     
    196196<option value="delete"><?php _e('Delete'); ?></option>
    197197</select>
    198 <input type="submit" value="<?php _e('Apply'); ?>" name="doaction" id="doaction" class="button-secondary action" />
     198<input type="submit" value="<?php _ea('Apply'); ?>" name="doaction" id="doaction" class="button-secondary action" />
    199199<?php wp_nonce_field('bulk-posts'); ?>
    200200
     
    223223        $default = '';
    224224
    225     echo "<option$default value='$arc_row->yyear$arc_row->mmonth'>";
     225    echo "<option$default value='" . attr("$arc_row->yyear$arc_row->mmonth") . "'>";
    226226    echo $wp_locale->get_month($arc_row->mmonth) . " $arc_row->yyear";
    227227    echo "</option>\n";
     
    237237do_action('restrict_manage_posts');
    238238?>
    239 <input type="submit" id="post-query-submit" value="<?php _e('Filter'); ?>" class="button-secondary" />
     239<input type="submit" id="post-query-submit" value="<?php _ea('Filter'); ?>" class="button-secondary" />
    240240
    241241<?php } ?>
     
    276276<option value="delete"><?php _e('Delete'); ?></option>
    277277</select>
    278 <input type="submit" value="<?php _e('Apply'); ?>" name="doaction2" id="doaction2" class="button-secondary action" />
     278<input type="submit" value="<?php _ea('Apply'); ?>" name="doaction2" id="doaction2" class="button-secondary action" />
    279279<br class="clear" />
    280280</div>
Note: See TracChangeset for help on using the changeset viewer.