WordPress.org

Make WordPress Core

Ticket #19338: hide-dismiss-links.diff

File hide-dismiss-links.diff, 1.0 KB (added by duck_, 7 years ago)
  • wp-admin/includes/dashboard.php

     
    12831283        ?>
    12841284        <div id="welcome-panel" class="<?php echo esc_attr( $classes ); ?>">
    12851285        <?php wp_nonce_field( 'welcome-panel-nonce', 'welcomepanelnonce', false ); ?>
    1286         <a class="welcome-panel-close" href="#"><?php _e('Dismiss'); ?></a>
     1286        <a class="welcome-panel-close hide-if-no-js" href="#"><?php _e('Dismiss'); ?></a>
    12871287        <div class="wp-badge"><?php printf( __( 'Version %s' ), $display_version ); ?></div>
    12881288
    12891289        <div class="welcome-panel-content">
     
    13491349                endif; ?>
    13501350        </div>
    13511351        </div>
    1352         <p class="welcome-panel-dismiss"><?php _e( 'Already know what you&#8217;re doing? <a href="#">Dismiss this message</a>.' ); ?></p>
     1352        <p class="welcome-panel-dismiss hide-if-no-js"><?php _e( 'Already know what you&#8217;re doing? <a href="#">Dismiss this message</a>.' ); ?></p>
    13531353        </div>
    13541354        </div>
    13551355        <?php