Changeset 11204 for trunk/wp-admin/update-core.php
- Timestamp:
- 05/05/2009 07:43:53 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/update-core.php
r11110 r11204 41 41 wp_nonce_field('upgrade-core'); 42 42 echo '<p>'; 43 echo '<input id="upgrade" class="button" type="submit" value="' . attr($submit) . '" name="upgrade" /> ';44 echo '<input name="version" value="'. attr($update->current) .'" type="hidden"/>';45 echo '<input name="locale" value="'. attr($update->locale) .'" type="hidden"/>';43 echo '<input id="upgrade" class="button" type="submit" value="' . esc_attr($submit) . '" name="upgrade" /> '; 44 echo '<input name="version" value="'. esc_attr($update->current) .'" type="hidden"/>'; 45 echo '<input name="locale" value="'. esc_attr($update->locale) .'" type="hidden"/>'; 46 46 echo '<a href="' . clean_url($update->package) . '" class="button">' . $download . '</a> '; 47 47 if ( 'en_US' != $update->locale ) 48 48 if ( !isset( $update->dismissed ) || !$update->dismissed ) 49 echo '<input id="dismiss" class="button" type="submit" value="' . _a('Hide this update') . '" name="dismiss" />';49 echo '<input id="dismiss" class="button" type="submit" value="' . esc_attr__('Hide this update') . '" name="dismiss" />'; 50 50 else 51 echo '<input id="undismiss" class="button" type="submit" value="' . _a('Bring back this update') . '" name="undismiss" />';51 echo '<input id="undismiss" class="button" type="submit" value="' . esc_attr__('Bring back this update') . '" name="undismiss" />'; 52 52 echo '</p>'; 53 53 echo '</form>';
Note: See TracChangeset
for help on using the changeset viewer.