Make WordPress Core


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

attr escaping. see #9650

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/link-manager.php

    r11109 r11110  
    9191    <label class="hidden" for="link-search-input"><?php _e( 'Search Links' ); ?>:</label>
    9292    <input type="text" id="link-search-input" name="s" value="<?php _admin_search_query(); ?>" />
    93     <input type="submit" value="<?php _e( 'Search Links' ); ?>" class="button" />
     93    <input type="submit" value="<?php _ea( 'Search Links' ); ?>" class="button" />
    9494</p>
    9595</form>
     
    104104<option value="delete"><?php _e('Delete'); ?></option>
    105105</select>
    106 <input type="submit" value="<?php _e('Apply'); ?>" name="doaction" id="doaction" class="button-secondary action" />
     106<input type="submit" value="<?php _ea('Apply'); ?>" name="doaction" id="doaction" class="button-secondary action" />
    107107
    108108<?php
     
    111111$select_cat .= '<option value="all"'  . (($cat_id == 'all') ? " selected='selected'" : '') . '>' . __('View all Categories') . "</option>\n";
    112112foreach ((array) $categories as $cat)
    113     $select_cat .= '<option value="' . $cat->term_id . '"' . (($cat->term_id == $cat_id) ? " selected='selected'" : '') . '>' . sanitize_term_field('name', $cat->name, $cat->term_id, 'link_category', 'display') . "</option>\n";
     113    $select_cat .= '<option value="' . attr($cat->term_id) . '"' . (($cat->term_id == $cat_id) ? " selected='selected'" : '') . '>' . sanitize_term_field('name', $cat->name, $cat->term_id, 'link_category', 'display') . "</option>\n";
    114114$select_cat .= "</select>\n";
    115115
     
    125125
    126126?>
    127 <input type="submit" id="post-query-submit" value="<?php _e('Filter'); ?>" class="button-secondary" />
     127<input type="submit" id="post-query-submit" value="<?php _ea('Filter'); ?>" class="button-secondary" />
    128128
    129129</div>
     
    191191            switch($column_name) {
    192192                case 'cb':
    193                     echo '<th scope="row" class="check-column"><input type="checkbox" name="linkcheck[]" value="'.$link->link_id.'" /></th>';
     193                    echo '<th scope="row" class="check-column"><input type="checkbox" name="linkcheck[]" value="'. attr($link->link_id) .'" /></th>';
    194194                    break;
    195195                case 'name':
     
    259259<option value="delete"><?php _e('Delete'); ?></option>
    260260</select>
    261 <input type="submit" value="<?php _e('Apply'); ?>" name="doaction2" id="doaction2" class="button-secondary action" />
     261<input type="submit" value="<?php _ea('Apply'); ?>" name="doaction2" id="doaction2" class="button-secondary action" />
    262262</div>
    263263
Note: See TracChangeset for help on using the changeset viewer.