Make WordPress Core

Ticket #5583: 5583c.diff

File 5583c.diff, 962 bytes (added by mdawaffe, 17 years ago)

remove second set of link

  • wp-admin/includes/widgets.php

     
    177177                        </h4>
    178178
    179179                        <div class="widget-control"<?php if ( 'edit' == $display ) echo ' style="display: block;"'; ?>>
    180                                 <div class="widget-control-actions">
    181180
    182                                         <?php if ( $control && 'edit' != $display ) : ?>
    183 
    184                                         <a class="widget-action widget-control-save edit alignleft" href="#save:<?php echo $id_format; ?>"><?php _e('Save'); ?></a>
    185 
    186                                         <?php endif; ?>
    187 
    188                                         <a class="widget-action widget-control-remove delete alignright" href="<?php echo add_query_arg( array( 'remove' => $id_format, 'key' => $key ), wp_nonce_url( null, "remove-widget_$widget[id]" ) ); ?>"><?php _e('Remove'); ?></a>
    189                                         <br class="clear" />
    190 
    191181                                <?php
    192182                                if ( $control )
    193183                                        call_user_func_array( $control['callback'], $control['params'] );