Ticket #34439: 34439.patch
File 34439.patch, 1.9 KB (added by , 9 years ago) |
---|
-
src/wp-admin/network/themes.php
194 194 <form method="post" action="<?php echo $referer ? esc_url( $referer ) : ''; ?>" style="display:inline;"> 195 195 <?php submit_button( __( 'No, return me to the theme list' ), 'button', 'submit', false ); ?> 196 196 </form> 197 198 <p><a href="#" onclick="jQuery('#files-list').toggle(); return false;"><?php _e('Click to view entire list of files which will be deleted'); ?></a></p>199 <div id="files-list" style="display:none;">200 <ul class="code">201 <?php202 foreach ( (array) $files_to_delete as $file ) {203 echo '<li>' . esc_html( str_replace( WP_CONTENT_DIR . '/themes', '', $file ) ) . '</li>';204 }205 ?>206 </ul>207 </div>208 197 </div> 209 198 <?php 210 199 require_once(ABSPATH . 'wp-admin/admin-footer.php'); -
src/wp-admin/plugins.php
353 353 <form method="post" action="<?php echo $referer ? esc_url( $referer ) : ''; ?>" style="display:inline;"> 354 354 <?php submit_button( __( 'No, return me to the plugin list' ), 'button', 'submit', false ); ?> 355 355 </form> 356 357 <p><a href="#" onclick="jQuery('#files-list').toggle(); return false;"><?php _e('Click to view entire list of files which will be deleted'); ?></a></p>358 <div id="files-list" style="display:none;">359 <ul class="code">360 <?php361 foreach ( (array) $files_to_delete as $file ) {362 echo '<li>' . esc_html( str_replace( WP_PLUGIN_DIR, '', $file ) ) . '</li>';363 }364 ?>365 </ul>366 </div>367 356 </div> 368 357 <?php 369 358 require_once(ABSPATH . 'wp-admin/admin-footer.php');