Make WordPress Core

Ticket #64777: 64777.diff

File 64777.diff, 826 bytes (added by sachinrajcp123, 2 months ago)

Patch adds compact admin styles (32px) to Events widget input and button. Uses existing small utility classes.

  • wp-admin/includes/dashboard.php

    diff --git a/wp-admin/includes/dashboard.php b/wp-admin/includes/dashboard.php
    index 9f5c3e1e0d..c4b2a8b91a 100644
    a b function wp_dashboard_events_news() { 
    17461746                                <label for="community-events-location" class="screen-reader-text">
    17471747                                        <?php _e( 'City' ); ?>
    17481748                                </label>
    1749                                 <input type="text" name="city" id="community-events-location"
    1750                                         value="<?php echo esc_attr( $location ); ?>" />
    1751                                 <button type="submit" class="button">
     1749
     1750                                <input type="text"
     1751                                        name="city"
     1752                                        id="community-events-location"
     1753                                        class="regular-text small"
     1754                                        value="<?php echo esc_attr( $location ); ?>" />
     1755
     1756                                <button type="submit" class="button small">
    17521757                                        <?php _e( 'Submit' ); ?>
    17531758                                </button>
    17541759                        </p>