WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/14/2010 09:46:25 PM (11 years ago)
Author:
nacin
Message:

Introduce _ex(), a hybrid between _e() and _x() -- translate with context, then echo. props westi, see #13395.

File:
1 edited

Legend:

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

    r14374 r14647  
    170170            <option value="term"<?php selected('term', $type) ?>><?php _e('Term'); ?></option>
    171171            <option value="author"<?php selected('author', $type) ?>><?php _e('Author'); ?></option>
    172             <option value="tag"<?php selected('tag', $type) ?>><?php echo _x('Tag', 'Plugin Installer'); ?></option>
     172            <option value="tag"<?php selected('tag', $type) ?>><?php _ex('Tag', 'Plugin Installer'); ?></option>
    173173        </select>
    174174        <input type="text" name="s" value="<?php echo esc_attr($term) ?>" />
Note: See TracChangeset for help on using the changeset viewer.