Skip to:
Content

BuddyPress.org

Changeset 11826


Ignore:
Timestamp:
01/27/2018 12:48:41 PM (4 years ago)
Author:
djpaul
Message:

Messages, Templates, Legacy: fix sitewide notification "delete" link.

This was hidden in the twenty* compat. stylesheets, and had an untranslatable "x" as the link text.
This link was broken until very recently, see r11750.

Fixes #7669

Props antonioeatgoat for the suggested fix, and hnla for investigation.

Location:
trunk/src/bp-templates/bp-legacy
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-legacy/buddypress/members/single/messages/notices-loop.php

    r11606 r11826  
    7575                <td width="10%">
    7676                    <a class="button" href="<?php bp_message_activate_deactivate_link(); ?>" class="confirm"><?php bp_message_activate_deactivate_text(); ?></a>
    77                     <a class="button" href="<?php bp_message_notice_delete_link(); ?>" class="confirm" aria-label="<?php esc_attr_e( "Delete Message", 'buddypress' ); ?>">x</a>
     77                    <a class="button" href="<?php bp_message_notice_delete_link(); ?>" class="confirm"><?php esc_html_e( "Delete Message", 'buddypress' ); ?></a>
    7878                </td>
    7979            </tr>
  • trunk/src/bp-templates/bp-legacy/css/twentyeleven.css

    r11632 r11826  
    16921692}
    16931693
    1694 .bp-user #buddypress #message-threads.sitewide-notices td:last-child a:last-child {
    1695     line-height: 0;
    1696     margin-left: 0.7em;
    1697     text-indent: -999em;
    1698 }
    1699 
    17001694.bp-user #buddypress #message-threads.sitewide-notices td:last-child a:last-child:after {
    17011695    content: attr(title);
  • trunk/src/bp-templates/bp-legacy/css/twentyfifteen.css

    r11632 r11826  
    16411641}
    16421642
    1643 .bp-user #buddypress #message-threads.sitewide-notices td:last-child a:last-child {
    1644     line-height: 0;
    1645     margin-left: 0.7em;
    1646     text-indent: -999em;
    1647 }
    1648 
    16491643.bp-user #buddypress #message-threads.sitewide-notices td:last-child a:last-child:after {
    16501644    content: attr(title);
  • trunk/src/bp-templates/bp-legacy/css/twentyseventeen.css

    r11632 r11826  
    18091809}
    18101810
    1811 .bp-user #buddypress #message-threads.sitewide-notices td:last-child a:last-child {
    1812     line-height: 0;
    1813     margin-left: 0.7em;
    1814     text-indent: -999em;
    1815 }
    1816 
    18171811.bp-user #buddypress #message-threads.sitewide-notices td:last-child a:last-child:after {
    18181812    content: attr(title);
  • trunk/src/bp-templates/bp-legacy/css/twentysixteen.css

    r11632 r11826  
    16131613}
    16141614
    1615 .bp-user #buddypress #message-threads.sitewide-notices td:last-child a:last-child {
    1616     line-height: 0;
    1617     margin-left: 0.7em;
    1618     text-indent: -999em;
    1619 }
    1620 
    16211615.bp-user #buddypress #message-threads.sitewide-notices td:last-child a:last-child:after {
    16221616    content: attr(title);
  • trunk/src/bp-templates/bp-legacy/css/twentyten.css

    r11632 r11826  
    16311631}
    16321632
    1633 .bp-user #buddypress #message-threads.sitewide-notices td:last-child a:last-child {
    1634     line-height: 0;
    1635     margin-left: 0.7em;
    1636     text-indent: -999em;
    1637 }
    1638 
    16391633.bp-user #buddypress #message-threads.sitewide-notices td:last-child a:last-child:after {
    16401634    content: attr(title);
  • trunk/src/bp-templates/bp-legacy/css/twentytwelve.css

    r11632 r11826  
    16891689}
    16901690
    1691 .bp-user #buddypress #message-threads.sitewide-notices td:last-child a:last-child {
    1692     line-height: 0;
    1693     margin-left: 0.7em;
    1694     text-indent: -999em;
    1695 }
    1696 
    16971691.bp-user #buddypress #message-threads.sitewide-notices td:last-child a:last-child:after {
    16981692    content: attr(title);
Note: See TracChangeset for help on using the changeset viewer.