Make WordPress Core

Ticket #53311: 53311.diff

File 53311.diff, 1.2 KB (added by sabernhardt, 3 years ago)

showing text with location icon (HTML + CSS, without editing JS)

  • src/wp-admin/css/dashboard.css

     
    354354.community-events-errors [aria-hidden="true"],
    355355.community-events-loading[aria-hidden="true"],
    356356.community-events[aria-hidden="true"],
    357 .community-events [aria-hidden="true"] {
     357.community-events form[aria-hidden="true"] {
    358358        display: none;
    359359}
    360360
  • src/wp-admin/includes/dashboard.php

     
    13501350                        <p>
    13511351                                <span id="community-events-location-message"></span>
    13521352
    1353                                 <button class="button-link community-events-toggle-location" aria-label="<?php esc_attr_e( 'Edit city' ); ?>" aria-expanded="false">
    1354                                         <span class="dashicons dashicons-edit"></span>
     1353                                <button class="button-link community-events-toggle-location" aria-expanded="false">
     1354                                        <span class="dashicons dashicons-location" aria-hidden="true"></span>
     1355                                        <span class="community-events-location-edit"><?php _e( 'Select location' ); ?></span>
    13551356                                </button>
    13561357                        </p>
    13571358