Changeset 12258 for trunk/src/bp-core/bp-core-functions.php
- Timestamp:
- 10/20/2018 03:05:32 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/bp-core-functions.php
r12232 r12258 3235 3235 */ 3236 3236 function bp_email_get_appearance_settings() { 3237 /* translators: This is the copyright text for email footers. 1. Copyright year, 2. Site name */ 3238 $footer_text = array( 3239 sprintf( 3240 _x( '© %1$s %2$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', … … 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
Note: See TracChangeset
for help on using the changeset viewer.