Changeset 11109 for trunk/wp-admin/includes/theme-install.php
- Timestamp:
- 04/28/2009 05:58:45 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/theme-install.php
r11013 r11109 159 159 <option value="tag" <?php selected('tag', $type) ?>><?php _e('Tag'); ?></option> 160 160 </select> 161 <input type="text" name="s" size="30" value="<?php echo attr ibute_escape($term) ?>" />162 <input type="submit" name="search" value="<?php echo attr ibute_escape(__('Search')); ?>" class="button" />161 <input type="text" name="s" size="30" value="<?php echo attr($term) ?>" /> 162 <input type="submit" name="search" value="<?php echo attr(__('Search')); ?>" class="button" /> 163 163 </form> 164 164 <?php … … 203 203 $feature_name = $trans[$feature]; 204 204 $feature_name = wp_specialchars( $feature_name ); 205 $feature = attr ibute_escape($feature);205 $feature = attr($feature); 206 206 ?> 207 207 … … 219 219 </div> 220 220 <br class="clear" /> 221 <input type="submit" name="search" value="<?php echo attr ibute_escape(__('Find Themes')); ?>" class="button" />221 <input type="submit" name="search" value="<?php echo attr(__('Find Themes')); ?>" class="button" /> 222 222 </form> 223 223 <?php … … 302 302 $actions = array(); 303 303 $actions[] = '<a href="' . admin_url('theme-install.php?tab=theme-information&theme=' . $theme->slug . 304 '&TB_iframe=true&tbWidth=500&tbHeight=350') . '" class="thickbox thickbox-preview onclick" title="' . attr ibute_escape(sprintf(__('Install "%s"'), $name)) . '">' . __('Install') . '</a>';305 $actions[] = '<a href="' . $preview_link . '" class="thickbox thickbox-preview onclick previewlink" title="' . attr ibute_escape(sprintf(__('Preview "%s"'), $name)) . '">' . __('Preview') . '</a>';304 '&TB_iframe=true&tbWidth=500&tbHeight=350') . '" class="thickbox thickbox-preview onclick" title="' . attr(sprintf(__('Install "%s"'), $name)) . '">' . __('Install') . '</a>'; 305 $actions[] = '<a href="' . $preview_link . '" class="thickbox thickbox-preview onclick previewlink" title="' . attr(sprintf(__('Preview "%s"'), $name)) . '">' . __('Preview') . '</a>'; 306 306 $actions = apply_filters('theme_install_action_links', $actions, $theme); 307 307 } … … 311 311 <a class='thickbox thickbox-preview screenshot' 312 312 href='<? echo clean_url($preview_link); ?>' 313 title='<?php echo attr ibute_escape(sprintf(__('Preview "%s"'), $name)); ?>'>313 title='<?php echo attr(sprintf(__('Preview "%s"'), $name)); ?>'> 314 314 <img src='<?php echo clean_url($theme->screenshot_url); ?>' width='150' /> 315 315 </a> … … 332 332 <?php endif; ?> 333 333 <div class="star-holder" title="<?php printf(_n('(based on %s rating)', '(based on %s ratings)', $theme->num_ratings), number_format_i18n($theme->num_ratings)) ?>"> 334 <div class="star star-rating" style="width: <?php echo attr ibute_escape($theme->rating) ?>px"></div>334 <div class="star star-rating" style="width: <?php echo attr($theme->rating) ?>px"></div> 335 335 <div class="star star5"><img src="<?php echo admin_url('images/star.gif'); ?>" alt="<?php _e('5 stars') ?>" /></div> 336 336 <div class="star star4"><img src="<?php echo admin_url('images/star.gif'); ?>" alt="<?php _e('4 stars') ?>" /></div>
Note: See TracChangeset
for help on using the changeset viewer.