Changeset 11109 for trunk/wp-admin/includes/plugin-install.php
- Timestamp:
- 04/28/2009 05:58:45 AM (17 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/includes/plugin-install.php (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/plugin-install.php
r11013 r11109 163 163 <option value="tag"<?php selected('tag', $type) ?>><?php _x('Tag', 'Plugin Installer') ?></option> 164 164 </select> 165 <input type="text" name="s" value="<?php echo attr ibute_escape($term) ?>" />166 <input type="submit" name="search" value="<?php echo attr ibute_escape(__('Search')) ?>" class="button" />165 <input type="text" name="s" value="<?php echo attr($term) ?>" /> 166 <input type="submit" name="search" value="<?php echo attr(__('Search')) ?>" class="button" /> 167 167 </form><?php 168 168 } … … 335 335 336 336 if( isset($plugin['homepage']) ) 337 $title = '<a target="_blank" href="' . attr ibute_escape($plugin['homepage']) . '">' . $title . '</a>';337 $title = '<a target="_blank" href="' . attr($plugin['homepage']) . '">' . $title . '</a>'; 338 338 339 339 $action_links = array(); 340 340 $action_links[] = '<a href="' . admin_url('plugin-install.php?tab=plugin-information&plugin=' . $plugin['slug'] . 341 341 '&TB_iframe=true&width=600&height=800') . '" class="thickbox onclick" title="' . 342 attr ibute_escape($name) . '">' . __('Install') . '</a>';342 attr($name) . '">' . __('Install') . '</a>'; 343 343 344 344 $action_links = apply_filters('plugin_install_action_links', $action_links, $plugin); … … 349 349 <td class="vers"> 350 350 <div class="star-holder" title="<?php printf(_n('(based on %s rating)', '(based on %s ratings)', $plugin['num_ratings']), number_format_i18n($plugin['num_ratings'])) ?>"> 351 <div class="star star-rating" style="width: <?php echo attr ibute_escape($plugin['rating']) ?>px"></div>351 <div class="star star-rating" style="width: <?php echo attr($plugin['rating']) ?>px"></div> 352 352 <div class="star star5"><img src="<?php echo admin_url('images/star.gif'); ?>" alt="<?php _e('5 stars') ?>" /></div> 353 353 <div class="star star4"><img src="<?php echo admin_url('images/star.gif'); ?>" alt="<?php _e('4 stars') ?>" /></div> … … 417 417 $href = add_query_arg( array('tab' => $tab, 'section' => $section_name) ); 418 418 $href = clean_url($href); 419 $san_title = attr ibute_escape(sanitize_title_with_dashes($title));419 $san_title = attr(sanitize_title_with_dashes($title)); 420 420 echo "\t<li><a name='$san_title' target='' href='$href'$class>$title</a></li>\n"; 421 421 } … … 506 506 <h2><?php _e('Average Rating') ?></h2> 507 507 <div class="star-holder" title="<?php printf(_n('(based on %s rating)', '(based on %s ratings)', $api->num_ratings), number_format_i18n($api->num_ratings)); ?>"> 508 <div class="star star-rating" style="width: <?php echo attr ibute_escape($api->rating) ?>px"></div>508 <div class="star star-rating" style="width: <?php echo attr($api->rating) ?>px"></div> 509 509 <div class="star star5"><img src="<?php echo admin_url('images/star.gif'); ?>" alt="<?php _e('5 stars') ?>" /></div> 510 510 <div class="star star4"><img src="<?php echo admin_url('images/star.gif'); ?>" alt="<?php _e('4 stars') ?>" /></div> … … 531 531 $content = links_add_target($content, '_blank'); 532 532 533 $san_title = attr ibute_escape(sanitize_title_with_dashes($title));533 $san_title = attr(sanitize_title_with_dashes($title)); 534 534 535 535 $display = ( $section_name == $section ) ? 'block' : 'none';
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)