Changeset 56027
- Timestamp:
- 06/25/2023 10:55:34 PM (19 months ago)
- Location:
- trunk/src/wp-admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/css/common.css
r56025 r56027 552 552 .update-php div.error { 553 553 margin-left: 0; 554 } 555 556 .js-update-details-toggle .dashicons { 557 text-decoration: none; 558 } 559 560 .js-update-details-toggle[aria-expanded="true"] .dashicons::before { 561 content: "\f142"; 554 562 } 555 563 -
trunk/src/wp-admin/includes/class-bulk-upgrader-skin.php
r55988 r56027 132 132 printf( '<h2>' . $this->upgrader->strings['skin_before_update_header'] . ' <span class="spinner waiting-' . $this->upgrader->update_current . '"></span></h2>', $title, $this->upgrader->update_current, $this->upgrader->update_count ); 133 133 echo '<script type="text/javascript">jQuery(\'.waiting-' . esc_js( $this->upgrader->update_current ) . '\').css("display", "inline-block");</script>'; 134 // This progress messages div gets moved via JavaScript when clicking on " Showdetails.".134 // This progress messages div gets moved via JavaScript when clicking on "More details.". 135 135 echo '<div class="update-messages hide-if-js" id="progress-' . esc_attr( $this->upgrader->update_current ) . '"><p>'; 136 136 $this->flush_output(); … … 155 155 echo '<div class="updated js-update-details" data-update-details="progress-' . esc_attr( $this->upgrader->update_current ) . '">' . 156 156 '<p>' . sprintf( $this->upgrader->strings['skin_update_successful'], $title ) . 157 ' <button type="button" class="hide-if-no-js button-link js-update-details-toggle" aria-expanded="false">' . __( ' Show details.' ) . '</button>' .157 ' <button type="button" class="hide-if-no-js button-link js-update-details-toggle" aria-expanded="false">' . __( 'More details.' ) . '<span class="dashicons dashicons-arrow-down" aria-hidden="true"></span></button>' . 158 158 '</p></div>'; 159 159 }
Note: See TracChangeset
for help on using the changeset viewer.