Changeset 24276 for trunk/wp-admin/includes/class-wp-upgrader.php
- Timestamp:
- 05/16/2013 12:46:36 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/class-wp-upgrader.php
r24189 r24276 1313 1313 echo '<script type="text/javascript">jQuery(\'#progress-' . esc_js($this->upgrader->update_current) . '\').show();</script>'; 1314 1314 } 1315 if ( !empty($this->result) && !is_wp_error($this->result) ) { 1316 echo '<div class="updated"><p>' . sprintf($this->upgrader->strings['skin_update_successful'], $title, 'jQuery(\'#progress-' . esc_js($this->upgrader->update_current) . '\').toggle();jQuery(\'span\', this).toggle(); return false;') . '</p></div>'; 1315 if ( $this->result && ! is_wp_error( $this->result ) ) { 1316 if ( ! $this->error ) 1317 echo '<div class="updated"><p>' . sprintf($this->upgrader->strings['skin_update_successful'], $title, 'jQuery(\'#progress-' . esc_js($this->upgrader->update_current) . '\').toggle();jQuery(\'span\', this).toggle(); return false;') . '</p></div>'; 1317 1318 echo '<script type="text/javascript">jQuery(\'.waiting-' . esc_js($this->upgrader->update_current) . '\').hide();</script>'; 1318 1319 }
Note: See TracChangeset
for help on using the changeset viewer.