Changeset 11891
- Timestamp:
- 03/05/2018 05:34:01 PM (7 years ago)
- Location:
- trunk/src/bp-core
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/bp-core-filters.php
r11863 r11891 965 965 966 966 $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'] ) . ';'; 968 968 969 969 // Find all links. -
trunk/src/bp-core/bp-core-functions.php
r11882 r11891 3229 3229 * 3230 3230 * @since 2.5.0 3231 * @since 3.0.0 Added "direction" parameter for LTR/RTL email support. 3231 * @since 3.0.0 Added "direction" parameter for LTR/RTL email support, and 3232 * "link_text_color" to override that in the email body. 3232 3233 * 3233 3234 * @return array … … 3256 3257 ); 3257 3258 3258 returnbp_parse_args(3259 $options = bp_parse_args( 3259 3260 bp_get_option( 'bp_email_options', array() ), 3260 3261 $default_args, 3261 3262 'email_appearance_settings' 3262 3263 ); 3264 3265 // Link text colour defaults to the highlight colour. 3266 if ( ! isset( $options['link_text_color'] ) ) { 3267 $options['link_text_color'] = $options['highlight_color']; 3268 } 3269 3270 return $options; 3263 3271 } 3264 3272
Note: See TracChangeset
for help on using the changeset viewer.