Changeset 11204 for trunk/wp-admin/edit.php
- Timestamp:
- 05/05/2009 07:43:53 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit.php
r11180 r11204 93 93 $mode = 'list'; 94 94 else 95 $mode = attr($_GET['mode']); ?>95 $mode = esc_attr($_GET['mode']); ?> 96 96 97 97 <div class="wrap"> … … 167 167 <label class="invisible" for="post-search-input"><?php _e( 'Search Posts' ); ?>:</label> 168 168 <input type="text" id="post-search-input" name="s" value="<?php the_search_query(); ?>" /> 169 <input type="submit" value="<?php _ea( 'Search Posts' ); ?>" class="button" />169 <input type="submit" value="<?php esc_attr_e( 'Search Posts' ); ?>" class="button" /> 170 170 </p> 171 171 172 172 <?php if ( isset($_GET['post_status'] ) ) : ?> 173 <input type="hidden" name="post_status" value="<?php echo attr($_GET['post_status']) ?>" />173 <input type="hidden" name="post_status" value="<?php echo esc_attr($_GET['post_status']) ?>" /> 174 174 <?php endif; ?> 175 <input type="hidden" name="mode" value="<?php echo attr($mode); ?>" />175 <input type="hidden" name="mode" value="<?php echo esc_attr($mode); ?>" /> 176 176 177 177 <?php if ( have_posts() ) { ?> … … 196 196 <option value="delete"><?php _e('Delete'); ?></option> 197 197 </select> 198 <input type="submit" value="<?php _ea('Apply'); ?>" name="doaction" id="doaction" class="button-secondary action" />198 <input type="submit" value="<?php esc_attr_e('Apply'); ?>" name="doaction" id="doaction" class="button-secondary action" /> 199 199 <?php wp_nonce_field('bulk-posts'); ?> 200 200 … … 223 223 $default = ''; 224 224 225 echo "<option$default value='" . attr("$arc_row->yyear$arc_row->mmonth") . "'>";225 echo "<option$default value='" . esc_attr("$arc_row->yyear$arc_row->mmonth") . "'>"; 226 226 echo $wp_locale->get_month($arc_row->mmonth) . " $arc_row->yyear"; 227 227 echo "</option>\n"; … … 237 237 do_action('restrict_manage_posts'); 238 238 ?> 239 <input type="submit" id="post-query-submit" value="<?php _ea('Filter'); ?>" class="button-secondary" />239 <input type="submit" id="post-query-submit" value="<?php esc_attr_e('Filter'); ?>" class="button-secondary" /> 240 240 241 241 <?php } ?> … … 276 276 <option value="delete"><?php _e('Delete'); ?></option> 277 277 </select> 278 <input type="submit" value="<?php _ea('Apply'); ?>" name="doaction2" id="doaction2" class="button-secondary action" />278 <input type="submit" value="<?php esc_attr_e('Apply'); ?>" name="doaction2" id="doaction2" class="button-secondary action" /> 279 279 <br class="clear" /> 280 280 </div>
Note: See TracChangeset
for help on using the changeset viewer.