Changeset 11787
- Timestamp:
- 01/02/2018 05:36:05 PM (8 years ago)
- Location:
- trunk/src/bp-core
- Files:
-
- 2 edited
-
admin/bp-core-admin-schema.php (modified) (1 diff)
-
bp-core-functions.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/admin/bp-core-admin-schema.php
r11095 r11787 507 507 // Add these emails to the database. 508 508 foreach ( $emails as $id => $email ) { 509 510 // Some emails are multisite-only. 511 if ( ! is_multisite() && isset( $email['args'] ) && ! empty( $email['args']['multisite'] ) ) { 512 continue; 513 } 514 509 515 $post_id = wp_insert_post( bp_parse_args( $email, $defaults, 'install_email_' . $id ) ); 510 516 if ( ! $post_id ) { -
trunk/src/bp-core/bp-core-functions.php
r11786 r11787 3377 3377 /* translators: do not remove {} brackets or translate its contents. */ 3378 3378 'post_excerpt' => __( "Thanks for registering!\n\nTo complete the activation of your account, go to the following link: {{{activate.url}}}", 'buddypress' ), 3379 'args' => array( 3380 'multisite' => true, 3381 ), 3379 3382 ), 3380 3383 'core-user-registration-with-blog' => array( … … 3385 3388 /* translators: do not remove {} brackets or translate its contents. */ 3386 3389 'post_excerpt' => __( "Thanks for registering!\n\nTo complete the activation of your account and site, go to the following link: {{{activate-site.url}}}\n\nAfter you activate, you can visit your site at {{{user-site.url}}}.", 'buddypress' ), 3390 'args' => array( 3391 'multisite' => true, 3392 ), 3387 3393 ), 3388 3394 'friends-request' => array(
Note: See TracChangeset
for help on using the changeset viewer.