Changeset 13140 for trunk/src/bp-core/bp-core-functions.php
- Timestamp:
- 11/07/2021 05:22:42 PM (4 years ago)
- File:
-
- 1 edited
-
trunk/src/bp-core/bp-core-functions.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/bp-core-functions.php
r13118 r13140 3271 3271 } 3272 3272 3273 // register_term_meta() was introduced in WP 4.9.8.3274 if ( ! bp_is_running_wp( '4.9.8' ) ) {3275 $args['object_subtype'] = $type_tax;3276 3277 return register_meta( 'term', $meta_key, $args );3278 }3279 3280 3273 return register_term_meta( $type_tax, $meta_key, $args ); 3281 3274 } … … 3685 3678 ); 3686 3679 3687 if ( bp_is_running_wp( '4.9.6' ) ) { 3688 $privacy_policy_url = get_privacy_policy_url(); 3689 if ( $privacy_policy_url ) { 3690 $footer_text[] = sprintf( 3691 '<a href="%s">%s</a>', 3692 esc_url( $privacy_policy_url ), 3693 esc_html__( 'Privacy Policy', 'buddypress' ) 3694 ); 3695 } 3680 $privacy_policy_url = get_privacy_policy_url(); 3681 if ( $privacy_policy_url ) { 3682 $footer_text[] = sprintf( 3683 '<a href="%s">%s</a>', 3684 esc_url( $privacy_policy_url ), 3685 esc_html__( 'Privacy Policy', 'buddypress' ) 3686 ); 3696 3687 } 3697 3688
Note: See TracChangeset
for help on using the changeset viewer.