Changeset 13868 for trunk/src/bp-core/deprecated/14.0.php
- Timestamp:
- 05/19/2024 11:00:37 AM (12 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/deprecated/14.0.php
r13741 r13868 64 64 return apply_filters_deprecated( 'bp_use_wp_admin_bar', array( $use_admin_bar ), '14.0.0' ); 65 65 } 66 67 /** 68 * In emails editor, add notice linking to token documentation on Codex. 69 * 70 * @since 2.5.0 71 * @deprecated 14.0.0 72 */ 73 function bp_admin_email_add_codex_notice() { 74 _deprecated_function( __FUNCTION__, '14.0.0' ); 75 76 if ( get_current_screen()->post_type !== bp_get_email_post_type() ) { 77 return; 78 } 79 80 bp_core_add_admin_notice( 81 sprintf( 82 // Translators: %s is the url to the BuddyPress codex page about BP Email tokens. 83 __( 'Phrases wrapped in braces <code>{{ }}</code> are email tokens. <a href="%s">Learn about tokens on the BuddyPress Codex</a>.', 'buddypress' ), 84 esc_url( 'https://codex.buddypress.org/emails/email-tokens/' ) 85 ), 86 'error' 87 ); 88 }
Note: See TracChangeset
for help on using the changeset viewer.