WordPress.org

Make WordPress Core

Ticket #11651: 11651.5.fixdismiss-typography.patch

File 11651.5.fixdismiss-typography.patch, 1.9 KB (added by chexee, 3 years ago)

Styles dismiss paragraph. replaces double hyphens with emdashes. fixes h3 line-height.

  • wp-admin/includes/dashboard.php

     
    13671367                                <span class="icon16 icon-appearance"></span> 
    13681368                                <?php _e( 'Customize Your Site' ); ?> 
    13691369                        </h4> 
    1370                         <p><?php printf( __( 'Use the default theme -- %1$s -- or <a href="%2$s">choose a new one</a>. If you stick with %3$s, here are a few ways to make your site look unique.' ), __( 'Twenty Eleven' ), esc_url( admin_url( 'themes.php' ) ), __( 'Twenty Eleven' ) ); ?></p> 
     1370                        <p><?php printf( __( 'Use the default theme &mdash; %1$s &mdash; or <a href="%2$s">choose a new one</a>. If you stick with %3$s, here are a few ways to make your site look unique.' ), __( 'Twenty Eleven' ), esc_url( admin_url( 'themes.php' ) ), __( 'Twenty Eleven' ) ); ?></p> 
    13711371                        <ul> 
    13721372                                <li> 
    13731373                                        <?php echo sprintf( 
     
    13951395                                </li> 
    13961396                        </ul> 
    13971397                </div> 
    1398                 <p><?php printf( __( 'Already know what you&#8217;re doing? <a href="%s">Dismiss this message</a>.' ), '#' ) ?></p> 
     1398                <p class="welcome-panel-dismiss"><?php printf( __( 'Already know what you&#8217;re doing? <a href="%s">Dismiss this message</a>.' ), '#' ) ?></p> 
    13991399                </div> 
    14001400        </div> 
    14011401        <?php 
  • wp-admin/css/wp-admin.dev.css

     
    21782178        font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", sans-serif; 
    21792179        font-size: 32px; 
    21802180        font-weight: normal; 
     2181        line-height: 1.2; 
    21812182        margin: 0.1em 0 0.8em; 
    21822183} 
    21832184.welcome-panel h4 { 
     
    22142215        margin-left: 190px; 
    22152216} 
    22162217 
     2218.welcome-panel p.welcome-panel-dismiss { 
     2219        clear: both; 
     2220        padding: 1.5em 0 0 0; 
     2221} 
     2222 
    22172223.welcome-panel .welcome-panel-column { 
    22182224        margin: 0 40px 0 24px; 
    22192225        max-width: 270px;