Changeset 8600 for trunk/wp-admin/plugins.php
- Timestamp:
- 08/09/2008 05:36:14 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/plugins.php
r8550 r8600 75 75 if( ! current_user_can('delete_plugins') ) 76 76 wp_die(__('You do not have sufficient permissions to delete plugins for this blog.')); 77 77 78 78 check_admin_referer('bulk-manage-plugins'); 79 79 80 80 $plugins = $_REQUEST['checked']; //$_POST = from the plugin form; $_GET = from the FTP details screen. 81 81 include(ABSPATH . 'wp-admin/update.php'); … … 83 83 $title = __('Delete Plugin'); 84 84 $parent_file = 'plugins.php'; 85 85 86 86 if( ! isset($_REQUEST['verify-delete']) ) { 87 87 wp_enqueue_script('jquery'); … … 89 89 ?> 90 90 <div class="wrap"> 91 <h2><?php _e('Delete Plugin(s)'); ?></h2> 91 <h2><?php _e('Delete Plugin(s)'); ?></h2> 92 92 <?php 93 93 $files_to_delete = $plugin_info = array(); … … 112 112 <p> 113 113 <ul> 114 <?php 114 <?php 115 115 foreach( $plugin_info as $plugin ) 116 116 echo '<li>', sprintf(__('%s by %s'), $plugin['Name'], $plugin['Author']), '</li>'; … … 141 141 ?> 142 142 </ul> 143 </div> 143 </div> 144 144 </div> 145 145 <?php … … 232 232 if ( !empty($plugin_data['PluginURI']) && !empty($plugin_data['Name']) ) 233 233 $plugin_data['Title'] = '<a href="' . $plugin_data['PluginURI'] . '" title="'.__( 'Visit plugin homepage' ).'">' . $plugin_data['Name'] . '</a>'; 234 234 235 235 if ( ! empty($plugin_data['AuthorURI']) ) 236 236 $plugin_data['Author'] = '<a href="' . $plugin_data['AuthorURI'] . '" title="'.__( 'Visit author homepage' ).'">' . $plugin_data['Author'] . '</a>'; 237 237 238 238 $plugin_data['Description'] = wptexturize( $plugin_data['Description'] ); 239 239 … … 299 299 <td class='vers'>{$plugin_data['Version']}</td> 300 300 <td class='desc'><p>{$plugin_data['Description']}</p></td> 301 <td class='togl action-links'>"; 301 <td class='togl action-links'>"; 302 302 if ( !empty($action_links) ) 303 303 echo implode(' | ', $action_links); 304 echo '</td> 304 echo '</td> 305 305 </tr>'; 306 306 do_action( 'after_plugin_row', $plugin_file, $plugin_data, $context ); … … 309 309 </tbody> 310 310 </table> 311 <?php 311 <?php 312 312 } //End print_plugins_table() 313 313 ?>
Note: See TracChangeset
for help on using the changeset viewer.