Ticket #8868: 8868.diff
| File 8868.diff, 1.7 KB (added by , 18 years ago) |
|---|
-
wp-admin/includes/plugin-install.php
155 155 'name' => $tag['name'], 156 156 'id' => sanitize_title_with_dashes($tag['name']), 157 157 'count' => $tag['count'] ); 158 echo '<p>'; 158 159 echo wp_generate_tag_cloud($tags, array( 'single_text' => __('%d plugin'), 'multiple_text' => __('%d plugins') ) ); 160 echo '</p><br class="clear" />'; 159 161 } 160 162 161 163 /** … … 505 507 </div> 506 508 <div id="section-holder" class="wrap"> 507 509 <?php 508 if ( version_compare($GLOBALS['wp_version'], $api->tested, '>') )510 if ( !empty($api->tested) && version_compare( substr($GLOBALS['wp_version'], 0, strlen($api->tested)), $api->tested, '>') ) 509 511 echo '<div class="updated"><p>' . __('<strong>Warning:</strong> This plugin has <strong>not been tested</strong> with your current version of WordPress.') . '</p></div>'; 510 else if ( version_compare($GLOBALS['wp_version'], $api->requires, '<') ) 511 echo '<div class="updated"><p>' . __('<strong>Warning:</strong> This plugin has not been marked as <strong>compatible</strong> with your version of WordPress.') . '</p></div>'; 512 513 else if ( !empty($api->requires) && version_compare( substr($GLOBALS['wp_version'], 0, strlen($api->requires)), $api->requires, '<') ) 514 echo '<div class="updated"><p>' . __('<strong>Warning:</strong> This plugin has <strong>not been marked as compatible</strong> with your version of WordPress.') . '</p></div>'; 515 512 516 foreach ( (array)$api->sections as $section_name => $content ) { 513 517 $title = $section_name; 514 518 $title[0] = strtoupper($title[0]);
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)