Make WordPress Core

Ticket #34439: 34439.patch

File 34439.patch, 1.9 KB (added by afercia, 9 years ago)
  • src/wp-admin/network/themes.php

     
    194194                                <form method="post" action="<?php echo $referer ? esc_url( $referer ) : ''; ?>" style="display:inline;">
    195195                                        <?php submit_button( __( 'No, return me to the theme list' ), 'button', 'submit', false ); ?>
    196196                                </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                                         <?php
    202                                                 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>
    208197                        </div>
    209198                                <?php
    210199                                require_once(ABSPATH . 'wp-admin/admin-footer.php');
  • src/wp-admin/plugins.php

     
    353353                                <form method="post" action="<?php echo $referer ? esc_url( $referer ) : ''; ?>" style="display:inline;">
    354354                                        <?php submit_button( __( 'No, return me to the plugin list' ), 'button', 'submit', false ); ?>
    355355                                </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                                         <?php
    361                                                 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>
    367356                        </div>
    368357                                <?php
    369358                                require_once(ABSPATH . 'wp-admin/admin-footer.php');