Changeset 8540 for trunk/wp-admin/plugins.php
- Timestamp:
- 08/04/2008 09:01:09 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/plugins.php
r8499 r8540 123 123 <input type="hidden" name="delete-selected" value="1" /> 124 124 <?php 125 foreach( (array)$plugins as $plugin ) { 126 $plugin = attribute_escape($plugin); 127 echo "<input type='hidden' name='checked[]' value='$plugin' />"; 128 } 125 foreach( (array)$plugins as $plugin ) 126 echo '<input type="hidden" name="checked[]" value="' . attribute_escape($plugin) . '" />'; 129 127 ?> 130 128 <?php wp_nonce_field('bulk-manage-plugins') ?> … … 139 137 <ul> 140 138 <?php 141 foreach( (array)$files_to_delete as $file ) { 142 $file = str_replace(ABSPATH, '', $file); 143 echo "<li>$file</li>"; 144 } 139 foreach( (array)$files_to_delete as $file ) 140 echo '<li>' . str_replace(WP_PLUGIN_DIR, '', $file) . '</li>'; 145 141 ?> 146 142 </ul> … … 162 158 163 159 wp_enqueue_script('admin-forms'); 160 wp_enqueue_script('plugin-install'); 161 add_thickbox(); 164 162 165 163 $title = __('Manage Plugins'); … … 206 204 $inactive_plugins = array(); 207 205 $recent_plugins = array(); 208 $recently_activated = (array) get_option('recently_activated');206 $recently_activated = (array) get_option('recently_activated'); 209 207 210 208 //Clean out any plugins which were deactivated over a week ago. … … 375 373 376 374 <h2><?php _e('Get More Plugins'); ?></h2> 377 <p><?php _e('You can find additional plugins for your site in the <a href="http://wordpress.org/extend/plugins/">WordPress plugin directory</a>.'); ?></p> 378 <p><?php printf(__('To install a plugin you generally just need to upload the plugin file into your <code>%s</code> directory. Once a plugin is uploaded, you may activate it here.'), WP_PLUGIN_DIR); ?></p> 375 <p><?php _e('You can find additional plugins for your site by using the new <a href="plugin-install.php">Plugin Browser/Installer</a> functionality, Or by browsing the <a href="http://wordpress.org/extend/plugins/">WordPress Plugin Directory</a> directly and installing manually.'); ?></p> 376 <p><?php printf(__('To <em>manually</em> install a plugin you generally just need to upload the plugin file into your <code>%s</code> directory.'), WP_PLUGIN_DIR); ?></p> 377 <p><?php _e('Once a plugin has been installed, you may activate it here.'); ?></p> 379 378 380 379 </div>
Note: See TracChangeset
for help on using the changeset viewer.