diff --git src/bp-core/admin/js/customizer-receiver-emails.js src/bp-core/admin/js/customizer-receiver-emails.js
index 61d13e858..06b4d816d 100644
|
|
|
109 | 109 | |
110 | 110 | wp.customize( 'bp_email_options[footer_text]', function( value ) { |
111 | 111 | value.bind(function( newval ) { |
112 | | $( '.footer_text' ).text( newval ); |
| 112 | $( '.footer_text' ).html( newval ); |
113 | 113 | }); |
114 | 114 | }); |
115 | 115 | })( jQuery ); |
diff --git src/bp-core/bp-core-functions.php src/bp-core/bp-core-functions.php
index 57c1de3ae..24d4ccfcd 100644
|
|
function bp_send_email( $email_type, $to, $args = array() ) { |
3234 | 3234 | * @return array |
3235 | 3235 | */ |
3236 | 3236 | function bp_email_get_appearance_settings() { |
| 3237 | /* translators: email disclaimer, e.g. "© 2016 Site Name". */ |
| 3238 | $footer_text = array( |
| 3239 | sprintf( |
| 3240 | _x( '© %s %s', 'email', 'buddypress' ), |
| 3241 | date_i18n( 'Y' ), |
| 3242 | bp_get_option( 'blogname' ) |
| 3243 | ) |
| 3244 | ); |
| 3245 | |
| 3246 | $privacy_policy_url = get_privacy_policy_url(); |
| 3247 | if ( $privacy_policy_url ) { |
| 3248 | $footer_text[] = sprintf( |
| 3249 | '<a href="%s">%s</a>', |
| 3250 | esc_url( $privacy_policy_url ), |
| 3251 | esc_html__( 'Privacy Policy', 'buddypress' ) |
| 3252 | ); |
| 3253 | } |
| 3254 | |
3237 | 3255 | $default_args = array( |
3238 | 3256 | 'body_bg' => '#FFFFFF', |
3239 | 3257 | 'body_text_color' => '#555555', |
… |
… |
function bp_email_get_appearance_settings() { |
3248 | 3266 | 'header_text_size' => 30, |
3249 | 3267 | 'direction' => is_rtl() ? 'right' : 'left', |
3250 | 3268 | |
3251 | | 'footer_text' => sprintf( |
3252 | | /* translators: email disclaimer, e.g. "© 2016 Site Name". */ |
3253 | | _x( '© %s %s', 'email', 'buddypress' ), |
3254 | | date_i18n( 'Y' ), |
3255 | | bp_get_option( 'blogname' ) |
3256 | | ), |
| 3269 | 'footer_text' => implode( ' · ', $footer_text ), |
3257 | 3270 | ); |
3258 | 3271 | |
3259 | 3272 | $options = bp_parse_args( |