Changeset 16900 for trunk/wp-admin/includes/dashboard.php
- Timestamp:
- 12/13/2010 09:21:50 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/dashboard.php
r16841 r16900 145 145 list($url) = explode( '#', add_query_arg( 'edit', false ), 2 ); 146 146 $widget_name .= ' <span class="postbox-title-action"><a href="' . esc_url( $url ) . '">' . __( 'Cancel' ) . '</a></span>'; 147 $callback = '_wp_dashboard_control_callback'; 148 } else { 149 list($url) = explode( '#', add_query_arg( 'edit', $widget_id ), 2 ); 147 $callback = '_wp_dashboard_control_callback'; 148 } else { 149 list($url) = explode( '#', add_query_arg( 'edit', $widget_id ), 2 ); 150 150 $widget_name .= ' <span class="postbox-title-action"><a href="' . esc_url( "$url#$widget_id" ) . '" class="edit-box open-box">' . __( 'Configure' ) . '</a></span>'; 151 151 }
Note: See TracChangeset
for help on using the changeset viewer.