WordPress.org

Make WordPress Core

Ticket #48167: 48167-3.diff

File 48167-3.diff, 2.2 KB (added by subrataemfluence, 22 months ago)

Added description under Anyone can register as suggested.

  • 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>
  • wp-admin/options-general.php

    diff --git wp-admin/options-general.php wp-admin/options-general.php
    index 62dd495..34e099b 100755
    if ( $new_admin_email && $new_admin_email != get_option( 'admin_email' ) ) : 
    141141<td> <fieldset><legend class="screen-reader-text"><span><?php _e( 'Membership' ); ?></span></legend><label for="users_can_register">
    142142<input name="users_can_register" type="checkbox" id="users_can_register" value="1" <?php checked( '1', get_option( 'users_can_register' ) ); ?> />
    143143        <?php _e( 'Anyone can register' ); ?></label>
     144                <!-- Since 5.3 -->
     145                <p class="description" id="new-admin-public-register-description"><?php _e( 'A service to your recurring commenters, or in case you run a membership or e-commerce site. If checked, also <strong>be aware of "New User Default Role"</strong> below.' ); ?></p>
    144146</fieldset></td>
    145147</tr>
    146148