Make WordPress Core


Ignore:
Timestamp:
05/07/2009 10:18:12 AM (16 years ago)
Author:
azaozz
Message:

Add missing "echo" in plugin installer, props Viper007Bond, fixes #9746

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/plugin-install.php

    r11204 r11232  
    157157    $term = isset($_REQUEST['s']) ? stripslashes( $_REQUEST['s'] ) : '';
    158158
    159     ?><form id="search-plugins" method="post" action="<?php echo admin_url('plugin-install.php?tab=search') ?>">
     159    ?><form id="search-plugins" method="post" action="<?php echo admin_url('plugin-install.php?tab=search'); ?>">
    160160        <select name="type" id="typeselector">
    161             <option value="term"<?php selected('term', $type) ?>><?php _e('Term') ?></option>
    162             <option value="author"<?php selected('author', $type) ?>><?php _e('Author') ?></option>
    163             <option value="tag"<?php selected('tag', $type) ?>><?php _x('Tag', 'Plugin Installer') ?></option>
     161            <option value="term"<?php selected('term', $type) ?>><?php _e('Term'); ?></option>
     162            <option value="author"<?php selected('author', $type) ?>><?php _e('Author'); ?></option>
     163            <option value="tag"<?php selected('tag', $type) ?>><?php echo _x('Tag', 'Plugin Installer'); ?></option>
    164164        </select>
    165165        <input type="text" name="s" value="<?php echo esc_attr($term) ?>" />
    166166        <label class="invisible" for="plugin-search-input"><?php _e('Search Plugins'); ?></label>
    167         <input type="submit" id="plugin-search-input" name="search" value="<?php esc_attr_e('Search Plugins') ?>" class="button" />
     167        <input type="submit" id="plugin-search-input" name="search" value="<?php esc_attr_e('Search Plugins'); ?>" class="button" />
    168168    </form><?php
    169169}
Note: See TracChangeset for help on using the changeset viewer.