- Timestamp:
- 09/17/2023 03:21:07 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-bulk-upgrader-skin.php
r56027 r56599 144 144 if ( $this->error || ! $this->result ) { 145 145 if ( $this->error ) { 146 echo '<div class="error"><p>' . sprintf( $this->upgrader->strings['skin_update_failed_error'], $title, '<strong>' . $this->error . '</strong>' ) . '</p></div>';146 $after_error_message = sprintf( $this->upgrader->strings['skin_update_failed_error'], $title, '<strong>' . $this->error . '</strong>' ); 147 147 } else { 148 echo '<div class="error"><p>' . sprintf( $this->upgrader->strings['skin_update_failed'], $title ) . '</p></div>';148 $after_error_message = sprintf( $this->upgrader->strings['skin_update_failed'], $title ); 149 149 } 150 wp_admin_notice( 151 $after_error_message, 152 array( 153 'additional_classes' => array( 'error' ), 154 ) 155 ); 150 156 151 157 echo '<script type="text/javascript">jQuery(\'#progress-' . esc_js( $this->upgrader->update_current ) . '\').show();</script>';
Note: See TracChangeset
for help on using the changeset viewer.