Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
04/22/2018 04:11:19 PM (4 years ago)
Author:
djpaul
Message:

Templates, Nouveau: call member-component filter convenience function instead of xprofile-component's.

The root member profile templates can be loaded with xprofile disabled -- as well as enabled -- so those templates cannot call xprofile-component specific functions.

Fixes #7761

Props cshinkin

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-nouveau/buddypress/members/single/profile.php

    r11899 r11986  
    1515</nav><!-- .item-list-tabs -->
    1616
    17 <?php bp_nouveau_xprofile_hook( 'before', 'profile_content' ); ?>
     17<?php bp_nouveau_member_hook( 'before', 'profile_content' ); ?>
    1818
    1919<div class="profile <?php echo bp_current_action(); ?>">
     
    5959
    6060<?php
    61 bp_nouveau_xprofile_hook( 'after', 'profile_content' );
     61bp_nouveau_member_hook( 'after', 'profile_content' );
Note: See TracChangeset for help on using the changeset viewer.