Make WordPress Core

Ticket #44714: 44714.2.diff

File 44714.2.diff, 2.2 KB (added by joedolson, 21 months ago)

Updated patch: text change, icons

  • src/wp-admin/css/common.css

     
    553553        margin-left: 0;
    554554}
    555555
     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
    556564.no-js .widefat thead .check-column input,
    557565.no-js .widefat tfoot .check-column input {
    558566        display: none;
  • src/wp-admin/includes/class-bulk-upgrader-skin.php

     
    131131                $this->in_loop = true;
    132132                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 );
    133133                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 "Show details.".
     134                // This progress messages div gets moved via JavaScript when clicking on "More details.".
    135135                echo '<div class="update-messages hide-if-js" id="progress-' . esc_attr( $this->upgrader->update_current ) . '"><p>';
    136136                $this->flush_output();
    137137        }
     
    154154                        if ( ! $this->error ) {
    155155                                echo '<div class="updated js-update-details" data-update-details="progress-' . esc_attr( $this->upgrader->update_current ) . '">' .
    156156                                        '<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>' .
    158158                                        '</p></div>';
    159159                        }
    160160