Changeset 16061 for trunk/wp-admin/update-core.php
- Timestamp:
- 10/28/2010 09:56:43 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/update-core.php
r16008 r16061 59 59 echo '<input name="locale" value="'. esc_attr($update->locale) .'" type="hidden"/>'; 60 60 if ( $show_buttons ) { 61 echo '<input id="upgrade" class="button" type="submit" value="' . esc_attr($submit) . '" name="upgrade" /> ';62 echo ' <a href="' . esc_url($update->package) . '" class="button">' . $download . '</a> ';61 submit_button( $submit, 'button', 'upgrade', false ); 62 echo ' <a href="' . esc_url($update->package) . '" class="button">' . $download . '</a> '; 63 63 } 64 64 if ( 'en_US' != $update->locale ) 65 65 if ( !isset( $update->dismissed ) || !$update->dismissed ) 66 echo '<input id="dismiss" class="button" type="submit" value="' . esc_attr__('Hide this update') . '" name="dismiss" />';66 submit_button( __('Hide this update'), 'button', 'dismiss', false ); 67 67 else 68 echo '<input id="undismiss" class="button" type="submit" value="' . esc_attr__('Bring back this update') . '" name="undismiss" />';68 submit_button( __('Bring back this update'), 'button', 'undismiss', false ); 69 69 echo '</p>'; 70 70 if ( 'en_US' != $update->locale && ( !isset($wp_local_package) || $wp_local_package != $update->locale ) )
Note: See TracChangeset
for help on using the changeset viewer.