WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/14/2010 09:46:25 PM (12 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/theme-install.php

    r13763 r14647  
    157157    <option value="term" <?php selected('term', $type) ?>><?php _e('Term'); ?></option>
    158158    <option value="author" <?php selected('author', $type) ?>><?php _e('Author'); ?></option>
    159     <option value="tag" <?php selected('tag', $type) ?>><?php echo _x('Tag', 'Theme Installer'); ?></option>
     159    <option value="tag" <?php selected('tag', $type) ?>><?php _ex('Tag', 'Theme Installer'); ?></option>
    160160    </select>
    161161    <input type="text" name="s" size="30" value="<?php echo esc_attr($term) ?>" />
Note: See TracChangeset for help on using the changeset viewer.