- Timestamp:
- 04/29/2021 08:31:02 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-templates/bp-legacy/buddypress-functions.php
r12922 r12930 2021 2021 * 2022 2022 * @since 8.0.0 2023 *2024 * @return string $message The message text.2025 2023 */ 2026 2024 function bp_members_invitations_add_legacy_welcome_message() { 2027 2025 $message = bp_members_invitations_get_registration_welcome_message(); 2026 2028 2027 if ( $message ) { 2029 echo apply_filters( 'wpautop', $message ); 2028 // Surround the message with `<p>` tags. 2029 echo wpautop( $message ); 2030 2030 } 2031 2031 } … … 2038 2038 * 2039 2039 * @since 8.0.0 2040 *2041 * @return string $message The message text.2042 2040 */ 2043 2041 function bp_members_invitations_add_legacy_registration_disabled_message() { 2044 2042 $message = bp_members_invitations_get_modified_registration_disabled_message(); 2043 2045 2044 if ( $message ) { 2046 echo apply_filters( 'wpautop', $message ); 2045 // Surround the message with `<p>` tags. 2046 echo wpautop( $message ); 2047 2047 } 2048 2048 }
Note: See TracChangeset
for help on using the changeset viewer.