Ticket #31136: 31136.patch
File 31136.patch, 2.4 KB (added by , 10 years ago) |
---|
-
wp-admin/css/dashboard.css
811 811 font-size: 14px; 812 812 } 813 813 814 .alternate.uninstall-notification { 815 padding: 5px; 816 margin: 5px 0; 817 } 818 819 .alternate.uninstall-notification:empty { 820 display: none; 821 } 822 814 823 /* Recent Comments */ 815 824 816 825 #latest-comments #the-comment-list { -
wp-admin/includes/plugin.php
83 83 'Network' => 'Network', 84 84 // Site Wide Only is deprecated in favor of Network. 85 85 '_sitewide' => 'Site Wide Only', 86 'Uninstall_Notification' => 'Uninstall Notification' 86 87 ); 87 88 88 89 $plugin_data = get_file_data( $plugin_file, $default_headers, 'plugin' ); -
wp-admin/plugins.php
295 295 foreach ( $plugin_info as $plugin ) { 296 296 if ( $plugin['is_uninstallable'] ) { 297 297 /* translators: 1: plugin name, 2: plugin author */ 298 echo '<li>', sprintf( __( '<strong>%1$s</strong> by <em>%2$s</em> (will also <strong>delete its data</strong>) ' ), esc_html($plugin['Name']), esc_html($plugin['AuthorName']) ), '</li>';298 echo '<li>', sprintf( __( '<strong>%1$s</strong> by <em>%2$s</em> (will also <strong>delete its data</strong>) <div class="alternate uninstall-notification" style="padding:5px;">%3$s</div>' ), esc_html($plugin['Name']), esc_html($plugin['AuthorName']), wp_kses( $plugin['Uninstall_Notification'] , wp_kses_allowed_html( 'post' ) ) ), '</li>'; 299 299 $data_to_delete = true; 300 300 } else { 301 301 /* translators: 1: plugin name, 2: plugin author */ 302 echo '<li>', sprintf( __('<strong>%1$s</strong> by <em>%2$s</em> ' ), esc_html($plugin['Name']), esc_html($plugin['AuthorName']) ), '</li>';302 echo '<li>', sprintf( __('<strong>%1$s</strong> by <em>%2$s</em> <div class="alternate uninstall-notification" style="padding:5px;">%3$s</div>' ), esc_html($plugin['Name']), esc_html($plugin['AuthorName']), wp_kses( $plugin['Uninstall_Notification'] , wp_kses_allowed_html( 'post' ) ) ), '</li>'; 303 303 } 304 304 } 305 305 ?>