Changeset 11204 for trunk/wp-admin/plugins.php
- Timestamp:
- 05/05/2009 07:43:53 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/plugins.php
r11180 r11204 140 140 <?php 141 141 foreach ( (array)$plugins as $plugin ) 142 echo '<input type="hidden" name="checked[]" value="' . attr($plugin) . '" />';142 echo '<input type="hidden" name="checked[]" value="' . esc_attr($plugin) . '" />'; 143 143 ?> 144 144 <?php wp_nonce_field('bulk-manage-plugins') ?> 145 <input type="submit" name="submit" value="<?php _ea('Yes, Delete these files') ?>" class="button" />145 <input type="submit" name="submit" value="<?php esc_attr_e('Yes, Delete these files') ?>" class="button" /> 146 146 </form> 147 147 <form method="post" action="<?php echo clean_url(wp_get_referer()); ?>" style="display:inline;"> 148 <input type="submit" name="submit" value="<?php _ea('No, Return me to the plugin list') ?>" class="button" />148 <input type="submit" name="submit" value="<?php esc_attr_e('No, Return me to the plugin list') ?>" class="button" /> 149 149 </form> 150 150 … … 195 195 <?php 196 196 if ( wp_verify_nonce($_GET['_error_nonce'], 'plugin-activation-error_' . $plugin) ) { ?> 197 <iframe style="border:0" width="100%" height="70px" src="<?php echo admin_url('plugins.php?action=error_scrape&plugin=' . attr($plugin) . '&_wpnonce=' .attr($_GET['_error_nonce'])); ?>"></iframe>197 <iframe style="border:0" width="100%" height="70px" src="<?php echo admin_url('plugins.php?action=error_scrape&plugin=' . esc_attr($plugin) . '&_wpnonce=' . esc_attr($_GET['_error_nonce'])); ?>"></iframe> 198 198 <?php 199 199 } … … 370 370 echo " 371 371 <tr class='$class'> 372 <th scope='row' class='check-column'><input type='checkbox' name='checked[]' value='" . attr($plugin_file) . "' /></th>372 <th scope='row' class='check-column'><input type='checkbox' name='checked[]' value='" . esc_attr($plugin_file) . "' /></th> 373 373 <td class='plugin-title'><strong>{$plugin_data['Title']}</strong>"; 374 374 $i = 0; … … 414 414 <?php endif; ?> 415 415 </select> 416 <input type="submit" name="doaction_active" value="<?php _ea('Apply'); ?>" class="button-secondary action" />416 <input type="submit" name="doaction_active" value="<?php esc_attr_e('Apply'); ?>" class="button-secondary action" /> 417 417 <?php if( 'recent' == $context ) : ?> 418 <input type="submit" name="clear-recent-list" value="<?php _ea('Clear List') ?>" class="button-secondary" />418 <input type="submit" name="clear-recent-list" value="<?php esc_attr_e('Clear List') ?>" class="button-secondary" /> 419 419 <?php endif; ?> 420 420 </div> … … 427 427 <label class="invisible" for="plugin-search-input"><?php _e( 'Search Plugins' ); ?>:</label> 428 428 <input type="text" id="plugin-search-input" name="s" value="<?php _admin_search_query(); ?>" /> 429 <input type="submit" value="<?php _ea( 'Search Plugins' ); ?>" class="button" />429 <input type="submit" value="<?php esc_attr_e( 'Search Plugins' ); ?>" class="button" /> 430 430 </p> 431 431 </form> … … 433 433 <form method="post" action="<?php echo admin_url('plugins.php') ?>"> 434 434 <?php wp_nonce_field('bulk-manage-plugins') ?> 435 <input type="hidden" name="plugin_status" value="<?php echo attr($status) ?>" />436 <input type="hidden" name="paged" value="<?php echo attr($page) ?>" />435 <input type="hidden" name="plugin_status" value="<?php echo esc_attr($status) ?>" /> 436 <input type="hidden" name="paged" value="<?php echo esc_attr($page) ?>" /> 437 437 438 438 <ul class="subsubsub">
Note: See TracChangeset
for help on using the changeset viewer.