Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
03/05/2018 05:34:01 PM (6 years ago)
Author:
djpaul
Message:

Emails: add support for changing email text link colour.

Adds a link_text_color option to bp_email_get_appearance_settings(),
which allows a developer to filter the email text link colour. This new
colour option is not exposed in the Customiser; that continues to use the
"highlight" colour for email text links.

Fixes #7646

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-core/bp-core-filters.php

    r11863 r11891  
    965965
    966966    $settings    = bp_email_get_appearance_settings();
    967     $replacement = 'style="color: ' . esc_attr( $settings['highlight_color'] ) . ';';
     967    $replacement = 'style="color: ' . esc_attr( $settings['link_text_color'] ) . ';';
    968968
    969969    // Find all links.
Note: See TracChangeset for help on using the changeset viewer.