Remove eextra set of links. Props mdawaffe. see #5583
git-svn-id: http://svn.automattic.com/wordpress/trunk@6719 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
b897b88430
commit
4b0cd5c58a
|
@ -177,16 +177,6 @@ function wp_widget_control( $key, $widget, $display = 'display' ) {
|
|||
</h4>
|
||||
|
||||
<div class="widget-control"<?php if ( 'edit' == $display ) echo ' style="display: block;"'; ?>>
|
||||
<div class="widget-control-actions">
|
||||
|
||||
<?php if ( $control && 'edit' != $display ) : ?>
|
||||
|
||||
<a class="widget-action widget-control-save edit alignleft" href="#save:<?php echo $id_format; ?>"><?php _e('Save'); ?></a>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
<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>
|
||||
<br class="clear" />
|
||||
|
||||
<?php
|
||||
if ( $control )
|
||||
|
|
Loading…
Reference in New Issue