WordPress.org

Make WordPress Core

Ticket #48167: 48167-2.diff

File 48167-2.diff, 1.3 KB (added by subrataemfluence, 22 months ago)

Proposed patch for adding "Review your settings" under More Actions in Dashboard welcome panel.

  • wp-admin/css/dashboard.css

    diff --git wp-admin/css/dashboard.css wp-admin/css/dashboard.css
    index dc81048..db90362 100755
     
    265265        top: -1px;
    266266}
    267267
     268/* Since 5.3. Under More Actions on Dashboard welcome panel */
     269.welcome-panel .welcome-settings:before {
     270    content: "\f108";
     271    top: -1px;
     272}
     273
    268274.welcome-panel .welcome-learn-more:before {
    269275        content: "\f118";
    270276        top: -1px;
  • wp-admin/includes/dashboard.php

    
    
    
    
    
    diff --git wp-admin/includes/dashboard.php wp-admin/includes/dashboard.php
    index ad02909..320196d 100755
    function wp_welcome_panel() { 
    17321732                <?php endif; ?>
    17331733                <?php if ( current_user_can( 'manage_options' ) ) : ?>
    17341734                        <li><?php printf( '<a href="%s" class="welcome-icon welcome-comments">' . __( 'Turn comments on or off' ) . '</a>', admin_url( 'options-discussion.php' ) ); ?></li>
     1735                        <!-- Since 5.3 -->
     1736                        <li><?php printf( '<a href="%s" class="welcome-icon welcome-settings">' . __( 'Review your settings' ) . '</a>', admin_url( 'options-general.php' ) ); ?></li>
    17351737                <?php endif; ?>
    17361738                        <li><?php printf( '<a href="%s" class="welcome-icon welcome-learn-more">' . __( 'Learn more about getting started' ) . '</a>', __( 'https://codex.wordpress.org/First_Steps_With_WordPress' ) ); ?></li>
    17371739                </ul>