Skip to:
Content

BuddyPress.org

Ticket #8890: 8890-bp-core-filters.diff

File 8890-bp-core-filters.diff, 1.1 KB (added by viralsampat, 3 years ago)
  • src/bp-core/bp-core-filters.php

    diff --git a/src/bp-core/bp-core-filters.php b/src/bp-core/bp-core-filters.php
    index 219c944e1..8ca17228f 100644
    a b add_filter( 'nav_menu_css_class', 'bp_core_menu_highlight_nav_menu_item', 10, 2 
    286286 * @param array $comments The array of comments supplied to the comments template.
    287287 * @param int   $post_id  The post ID.
    288288 * @return array $comments The modified comment array.
     289 *
     290 * @global wpdb $wpdb WordPress database object.
    289291 */
    290292function bp_core_filter_comments( $comments, $post_id ) {
    291293        global $wpdb;
    add_filter( 'signup_site_meta', 'bp_core_add_meta_to_multisite_signups' ); 
    670672 * @param string $sep         How to separate the various items within the page title.
    671673 * @param string $seplocation Direction to display title.
    672674 * @return string              New page title.
     675 *
     676 * @global $paged.
     677 * @global $page.
     678 * @global $_wp_theme_features.
    673679 */
    674680function bp_modify_page_title( $title = '', $sep = '»', $seplocation = 'right' ) {
    675681        global $paged, $page, $_wp_theme_features;