Make WordPress Core


Ignore:
Timestamp:
08/24/2006 10:33:16 PM (18 years ago)
Author:
ryan
Message:

Make those chars feel special.

File:
1 edited

Legend:

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

    r4000 r4112  
    9898
    9999    function get_results() {
    100         return $this->results;
     100        return (array) $this->results;
    101101    }
    102102
     
    336336
    337337    <?php if ( $wp_user_search->is_search() ) : ?>
    338         <h2><?php printf(__('Users Matching "%s" by Role'), $wp_user_search->search_term); ?></h2>
     338        <h2><?php printf(__('Users Matching "%s" by Role'), wp_specialchars($wp_user_search->search_term)); ?></h2>
    339339    <?php else : ?>
    340340        <h2><?php _e('User List by Role'); ?></h2>
     
    342342
    343343    <form action="" method="get" name="search" id="search">
    344         <p><input type="text" name="usersearch" id="usersearch" value="<?php echo wp_specialchars($wp_user_search->search_term); ?>" /> <input type="submit" value="<?php _e('Search for users &raquo;'); ?>" /></p>
     344        <p><input type="text" name="usersearch" id="usersearch" value="<?php echo wp_specialchars($wp_user_search->search_term, 1); ?>" /> <input type="submit" value="<?php _e('Search for users &raquo;'); ?>" /></p>
    345345    </form>
    346346
Note: See TracChangeset for help on using the changeset viewer.