Ticket #44714: 44714.2.diff
File 44714.2.diff, 2.2 KB (added by , 21 months ago) |
---|
-
src/wp-admin/css/common.css
553 553 margin-left: 0; 554 554 } 555 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"; 562 } 563 556 564 .no-js .widefat thead .check-column input, 557 565 .no-js .widefat tfoot .check-column input { 558 566 display: none; -
src/wp-admin/includes/class-bulk-upgrader-skin.php
131 131 $this->in_loop = true; 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(); 137 137 } … … 154 154 if ( ! $this->error ) { 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 } 160 160