Skip to:
Content

BuddyPress.org

Ticket #4443: 4443.01.patch

File 4443.01.patch, 60.8 KB (added by r-a-y, 12 years ago)
  • bp-activity/bp-activity-actions.php

    function bp_activity_setup_akismet() { 
    596596
    597597        // Instantiate Akismet for BuddyPress
    598598        $bp->activity->akismet = new BP_Akismet();
    599 }
    600 
    601 ?>
     599}
     600 No newline at end of file
  • bp-activity/bp-activity-admin.php

    class BP_Activity_List_Table extends WP_List_Table { 
    13961396
    13971397                return $tree;
    13981398        }
    1399 }
    1400 ?>
     1399}
     1400 No newline at end of file
  • bp-activity/bp-activity-akismet.php

    function bp_activity_akismet_delete_old_metadata() { 
    583583                foreach ( $activity_ids as $activity_id )
    584584                        bp_activity_delete_meta( $activity_id, '_bp_akismet_submission' );
    585585        }
    586 }
    587 ?>
    588  No newline at end of file
     586}
     587 No newline at end of file
  • bp-activity/bp-activity-cache.php

    function bp_activity_update_meta_cache( $activity_ids = false ) { 
    3434        );
    3535       
    3636        bp_update_meta_cache( $cache_args );
    37 }
    38 
    39 ?>
    40  No newline at end of file
     37}
     38 No newline at end of file
  • bp-activity/bp-activity-classes.php

    class BP_Activity_Activity { 
    668668
    669669                return $wpdb->get_var( $wpdb->prepare( "UPDATE {$bp->activity->table_name} SET hide_sitewide = 1 WHERE user_id = %d", $user_id ) );
    670670        }
    671 }
    672 
    673 ?>
    674  No newline at end of file
     671}
     672 No newline at end of file
  • bp-activity/bp-activity-filters.php

    function bp_activity_truncate_entry( $text ) { 
    335335        }
    336336
    337337        return apply_filters( 'bp_activity_truncate_entry', $excerpt, $text, $append_text );
    338 }
    339 
    340 ?>
    341  No newline at end of file
     338}
     339 No newline at end of file
  • bp-activity/bp-activity-functions.php

    function bp_embed_activity_cache( $cache, $id, $cachekey ) { 
    16651665 */
    16661666function bp_embed_activity_save_cache( $cache, $cachekey, $id ) {
    16671667        bp_activity_update_meta( $id, $cachekey, $cache );
    1668 }
    1669 
    1670 ?>
     1668}
     1669 No newline at end of file
  • bp-activity/bp-activity-loader.php

    function bp_setup_activity() { 
    338338
    339339        $bp->activity = new BP_Activity_Component();
    340340}
    341 add_action( 'bp_setup_components', 'bp_setup_activity', 6 );
    342 
    343 ?>
     341add_action( 'bp_setup_components', 'bp_setup_activity', 6 );
     342 No newline at end of file
  • bp-activity/bp-activity-notifications.php

    To view the original activity, your comment and all replies, log in and visit: % 
    229229
    230230                do_action( 'bp_activity_sent_reply_to_reply_email', $original_activity->user_id, $subject, $message, $comment_id, $commenter_id, $params );
    231231        }
    232 }
    233 
    234 ?>
    235  No newline at end of file
     232}
     233 No newline at end of file
  • bp-activity/bp-activity-screens.php

    class BP_Activity_Theme_Compat { 
    376376                bp_buffer_template_part( 'activity/index' );
    377377        }
    378378}
    379 new BP_Activity_Theme_Compat();
     379new BP_Activity_Theme_Compat();
     380 No newline at end of file
  • bp-activity/bp-activity-template.php

    function bp_activity_sitewide_feed() { 
    27382738
    27392739<?php
    27402740}
    2741 add_action( 'bp_head', 'bp_activity_sitewide_feed' );
    2742 
    2743 ?>
     2741add_action( 'bp_head', 'bp_activity_sitewide_feed' );
     2742 No newline at end of file
  • bp-activity/feeds/bp-activity-favorites-feed.php

    if ( !defined( 'ABSPATH' ) ) exit; 
    1212
    1313header('Content-Type: text/xml; charset=' . get_option( 'blog_charset' ), true );
    1414header('Status: 200 OK');
    15 ?>
    16 <?php echo '<?xml version="1.0" encoding="' . get_option( 'blog_charset' ) . '"?'.'>'; ?>
     15echo '<?xml version="1.0" encoding="' . get_option( 'blog_charset' ) . '"?'.'>'; ?>
    1716
    1817<rss version="2.0"
    1918        xmlns:content="http://purl.org/rss/1.0/modules/content/"
    header('Status: 200 OK'); 
    7271        <?php endif; ?>
    7372
    7473</channel>
    75 </rss>
     74</rss>
     75 No newline at end of file
  • bp-activity/feeds/bp-activity-friends-feed.php

    if ( !defined( 'ABSPATH' ) ) exit; 
    1212
    1313header('Content-Type: text/xml; charset=' . get_option('blog_charset'), true);
    1414header('Status: 200 OK');
    15 ?>
    16 <?php echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?>
     15echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?>
    1716
    1817<rss version="2.0"
    1918        xmlns:content="http://purl.org/rss/1.0/modules/content/"
    header('Status: 200 OK'); 
    6261
    6362        <?php endif; ?>
    6463</channel>
    65 </rss>
     64</rss>
     65 No newline at end of file
  • bp-activity/feeds/bp-activity-group-feed.php

    if ( !defined( 'ABSPATH' ) ) exit; 
    1212
    1313header('Content-Type: text/xml; charset=' . get_option('blog_charset'), true);
    1414header('Status: 200 OK');
    15 ?>
    16 <?php echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?>
     15echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?>
    1716
    1817<rss version="2.0"
    1918        xmlns:content="http://purl.org/rss/1.0/modules/content/"
    header('Status: 200 OK'); 
    5756
    5857        <?php endif; ?>
    5958</channel>
    60 </rss>
     59</rss>
     60 No newline at end of file
  • bp-activity/feeds/bp-activity-mentions-feed.php

    if ( !defined( 'ABSPATH' ) ) exit; 
    1212
    1313header('Content-Type: text/xml; charset=' . get_option('blog_charset'), true);
    1414header('Status: 200 OK');
    15 ?>
    16 <?php echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?>
     15echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?>
    1716
    1817<rss version="2.0"
    1918        xmlns:content="http://purl.org/rss/1.0/modules/content/"
    header('Status: 200 OK'); 
    6362
    6463        <?php endif; ?>
    6564</channel>
    66 </rss>
     65</rss>
     66 No newline at end of file
  • bp-activity/feeds/bp-activity-mygroups-feed.php

    if ( !defined( 'ABSPATH' ) ) exit; 
    1212
    1313header('Content-Type: text/xml; charset=' . get_option('blog_charset'), true);
    1414header('Status: 200 OK');
    15 ?>
    16 <?php echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?>
     15echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?>
    1716
    1817<rss version="2.0"
    1918        xmlns:content="http://purl.org/rss/1.0/modules/content/"
    header('Status: 200 OK'); 
    6362
    6463        <?php endif; ?>
    6564</channel>
    66 </rss>
     65</rss>
     66 No newline at end of file
  • bp-activity/feeds/bp-activity-personal-feed.php

    if ( !defined( 'ABSPATH' ) ) exit; 
    1212
    1313header('Content-Type: text/xml; charset=' . get_option('blog_charset'), true);
    1414header('Status: 200 OK');
    15 ?>
    16 <?php echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?>
     15echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?>
    1716
    1817<rss version="2.0"
    1918        xmlns:content="http://purl.org/rss/1.0/modules/content/"
    header('Status: 200 OK'); 
    6261
    6362        <?php endif; ?>
    6463</channel>
    65 </rss>
     64</rss>
     65 No newline at end of file
  • bp-activity/feeds/bp-activity-sitewide-feed.php

    if ( !defined( 'ABSPATH' ) ) exit; 
    1212
    1313header('Content-Type: text/xml; charset=' . get_option('blog_charset'), true);
    1414header('Status: 200 OK');
    15 ?>
    16 <?php echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?>
     15echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?>
    1716
    1817<rss version="2.0"
    1918        xmlns:content="http://purl.org/rss/1.0/modules/content/"
    header('Status: 200 OK'); 
    5756
    5857        <?php endif; ?>
    5958</channel>
    60 </rss>
     59</rss>
     60 No newline at end of file
  • bp-blogs/bp-blogs-actions.php

    function bp_blogs_redirect_to_random_blog() { 
    3333                bp_core_redirect( bp_core_get_root_domain() );
    3434        }
    3535}
    36 add_action( 'bp_actions', 'bp_blogs_redirect_to_random_blog' );
    37 
    38 ?>
     36add_action( 'bp_actions', 'bp_blogs_redirect_to_random_blog' );
     37 No newline at end of file
  • bp-blogs/bp-blogs-activity.php

    function bp_blogs_delete_activity( $args = true ) { 
    124124                'user_id'           => $user_id,
    125125                'secondary_item_id' => $secondary_item_id
    126126        ) );
    127 }
    128 
    129 ?>
     127}
     128 No newline at end of file
  • bp-blogs/bp-blogs-buddybar.php

    function bp_adminbar_blogs_menu() { 
    7676                echo '</li>';
    7777        }
    7878}
    79 add_action( 'bp_adminbar_menus', 'bp_adminbar_blogs_menu', 6 );
    80 
    81 ?>
     79add_action( 'bp_adminbar_menus', 'bp_adminbar_blogs_menu', 6 );
     80 No newline at end of file
  • bp-blogs/bp-blogs-cache.php

    add_action( 'bp_blogs_remove_blog', 'bp_core_clear_cache' ); 
    5353add_action( 'bp_blogs_new_blog_comment',     'bp_core_clear_cache' );
    5454add_action( 'bp_blogs_new_blog_post',        'bp_core_clear_cache' );
    5555add_action( 'bp_blogs_new_blog',             'bp_core_clear_cache' );
    56 add_action( 'bp_blogs_remove_data',          'bp_core_clear_cache' );
    57 
    58 ?>
     56add_action( 'bp_blogs_remove_data',          'bp_core_clear_cache' );
     57 No newline at end of file
  • bp-blogs/bp-blogs-classes.php

    class BP_Blogs_Blog { 
    285285
    286286                return false;
    287287        }
    288 }
    289 
    290 ?>
     288}
     289 No newline at end of file
  • bp-blogs/bp-blogs-filters.php

     
    2020function bp_blogs_creation_location( $url ) {
    2121     return apply_filters( 'bp_blogs_creation_location', trailingslashit( bp_get_root_domain() . '/' . bp_get_blogs_slug() . '/create', $url ) );
    2222}
    23 add_filter( 'wp_signup_location', 'bp_blogs_creation_location' );
    24 
    25 
    26 ?>
    27  No newline at end of file
     23add_filter( 'wp_signup_location', 'bp_blogs_creation_location' );
     24 No newline at end of file
  • bp-blogs/bp-blogs-functions.php

    function bp_blogs_remove_data( $user_id ) { 
    669669}
    670670add_action( 'wpmu_delete_user',  'bp_blogs_remove_data' );
    671671add_action( 'delete_user',       'bp_blogs_remove_data' );
    672 add_action( 'bp_make_spam_user', 'bp_blogs_remove_data' );
    673 
    674 ?>
     672add_action( 'bp_make_spam_user', 'bp_blogs_remove_data' );
     673 No newline at end of file
  • bp-blogs/bp-blogs-loader.php

    function bp_setup_blogs() { 
    211211        global $bp;
    212212        $bp->blogs = new BP_Blogs_Component();
    213213}
    214 add_action( 'bp_setup_components', 'bp_setup_blogs', 6 );
    215 
    216 ?>
     214add_action( 'bp_setup_components', 'bp_setup_blogs', 6 );
     215 No newline at end of file
  • bp-blogs/bp-blogs-screens.php

    class BP_Blogs_Theme_Compat { 
    172172                bp_buffer_template_part( 'blogs/create' );
    173173        }
    174174}
    175 new BP_Blogs_Theme_Compat();
     175new BP_Blogs_Theme_Compat();
     176 No newline at end of file
  • bp-blogs/bp-blogs-template.php

    function bp_blogs_visit_blog_button( $args = '' ) { 
    655655
    656656                // Filter and return the HTML button
    657657                return bp_get_button( apply_filters( 'bp_get_blogs_visit_blog_button', $button ) );
    658         }
    659 
    660 ?>
    661  No newline at end of file
     658        }
     659 No newline at end of file
  • bp-blogs/bp-blogs-widgets.php

    class BP_Blogs_Recent_Posts_Widget extends WP_Widget { 
    8787                <p><label for="bp-blogs-widget-posts-max"><?php _e('Max posts to show:', 'buddypress'); ?> <input class="widefat" id="<?php echo $this->get_field_id( 'max_posts' ); ?>" name="<?php echo $this->get_field_name( 'max_posts' ); ?>" type="text" value="<?php echo esc_attr( $max_posts ); ?>" style="width: 30%" /></label></p>
    8888        <?php
    8989        }
    90 }
    91 ?>
    92  No newline at end of file
     90}
     91 No newline at end of file
  • bp-core/admin/bp-core-components.php

    function bp_core_admin_components_settings_handler() { 
    295295                wp_redirect( $base_url );
    296296        }
    297297}
    298 add_action( 'admin_init', 'bp_core_admin_components_settings_handler' );
    299 
    300 ?>
     298add_action( 'admin_init', 'bp_core_admin_components_settings_handler' );
     299 No newline at end of file
  • bp-core/admin/bp-core-functions.php

    function bp_core_admin_tabs( $active_tab = '' ) { 
    374374
    375375        // Do other fun things
    376376        do_action( 'bp_admin_tabs' );
    377 }
    378 
    379 ?>
     377}
     378 No newline at end of file
  • bp-core/admin/bp-core-schema.php

    function bp_update_db_stuff() { 
    385385                }
    386386        }
    387387
    388 }
    389 
    390 ?>
    391  No newline at end of file
     388}
     389 No newline at end of file
  • bp-core/admin/bp-core-settings.php

    function bp_form_option( $option, $default = '' , $slug = false ) { 
    364364
    365365                // Allow plugins to further filter the output
    366366                return apply_filters( 'bp_get_form_option', $value, $option );
    367         }
    368 ?>
     367        }
     368 No newline at end of file
  • bp-core/admin/bp-core-slugs.php

    function bp_core_admin_slugs_setup_handler() { 
    219219                wp_redirect( $base_url );
    220220        }
    221221}
    222 add_action( 'admin_init', 'bp_core_admin_slugs_setup_handler' );
    223 
    224 ?>
     222add_action( 'admin_init', 'bp_core_admin_slugs_setup_handler' );
     223 No newline at end of file
  • bp-core/admin/bp-core-update.php

    function bp_get_wizard() { 
    10531053                return $bp->admin->wizard;
    10541054
    10551055        return false;
    1056 }
    1057 
    1058 ?>
     1056}
     1057 No newline at end of file
  • bp-core/bp-core-actions.php

    add_action( 'after_setup_theme', 'bp_load_theme_functions', 1 ); 
    9090// Load the admin
    9191if ( is_admin() ) {
    9292        add_action( 'bp_loaded', 'bp_admin' );
    93 }
     93}
     94 No newline at end of file
  • bp-core/bp-core-admin.php

    function bp_admin() { 
    504504        global $bp;
    505505
    506506        $bp->admin = new BP_Admin();
    507 }
    508 
    509 ?>
     507}
     508 No newline at end of file
  • bp-core/bp-core-adminbar.php

    function bp_core_load_admin_bar_css() { 
    6464        if ( $min )
    6565                $wp_styles->add_data( 'bp-admin-bar', 'suffix', $min );
    6666}
    67 add_action( 'bp_init', 'bp_core_load_admin_bar_css' );
    68 
    69 ?>
     67add_action( 'bp_init', 'bp_core_load_admin_bar_css' );
     68 No newline at end of file
  • bp-core/bp-core-avatars.php

    function bp_core_avatar_default_thumb() { 
    958958        global $bp;
    959959
    960960        return apply_filters( 'bp_core_avatar_thumb', $bp->avatar->thumb->default );
    961 }
    962 
    963 
    964 ?>
    965  No newline at end of file
     961}
     962 No newline at end of file
  • bp-core/bp-core-buddybar.php

    function bp_core_load_buddybar_css() { 
    682682        if ( $min )
    683683                $wp_styles->add_data( 'bp-admin-bar', 'suffix', $min );
    684684}
    685 add_action( 'bp_init', 'bp_core_load_buddybar_css' );
    686 
    687 ?>
     685add_action( 'bp_init', 'bp_core_load_buddybar_css' );
     686 No newline at end of file
  • bp-core/bp-core-cache.php

    function bp_update_meta_cache( $args = array() ) { 
    131131        }
    132132
    133133        return $cache;
    134 }
    135 
    136 ?>
    137  No newline at end of file
     134}
     135 No newline at end of file
  • bp-core/bp-core-caps.php

    function _bp_enforce_bp_moderate_cap_for_admins( $allcaps, $caps, $args ) { 
    421421
    422422        return $allcaps;
    423423}
    424 add_filter( 'user_has_cap', '_bp_enforce_bp_moderate_cap_for_admins', 10, 3 );
    425 
    426 ?>
     424add_filter( 'user_has_cap', '_bp_enforce_bp_moderate_cap_for_admins', 10, 3 );
     425 No newline at end of file
  • bp-core/bp-core-catchuri.php

    function _bp_maybe_remove_rel_canonical() { 
    742742                add_action( 'bp_head', 'bp_rel_canonical' );
    743743        }
    744744}
    745 add_action( 'wp_head', '_bp_maybe_remove_rel_canonical', 8 );
     745add_action( 'wp_head', '_bp_maybe_remove_rel_canonical', 8 );
     746 No newline at end of file
  • bp-core/bp-core-classes.php

    class BP_Embed extends WP_Embed { 
    12831283                // Still unknown
    12841284                return $this->maybe_make_link( $url );
    12851285        }
    1286 }
    1287 
    1288 ?>
     1286}
     1287 No newline at end of file
  • bp-core/bp-core-component.php

    class BP_Component { 
    384384                do_action( 'bp_' . $this->id . '_generate_rewrite_rules' );
    385385        }
    386386}
    387 endif; // BP_Component
    388 
    389 ?>
     387endif; // BP_Component
     388 No newline at end of file
  • bp-core/bp-core-cssjs.php

    function bp_core_add_ajax_url_js() { 
    138138
    139139<?php
    140140}
    141 add_action( 'wp_head', 'bp_core_add_ajax_url_js' );
    142 
    143 ?>
    144  No newline at end of file
     141add_action( 'wp_head', 'bp_core_add_ajax_url_js' );
     142 No newline at end of file
  • bp-core/bp-core-dependency.php

    function bp_generate_rewrite_rules( $wp_rewrite ) { 
    230230 */
    231231function bp_allowed_themes( $themes ) {
    232232        return apply_filters( 'bp_allowed_themes', $themes );
    233 }
    234 
     233}
     234 No newline at end of file
  • bp-core/bp-core-filters.php

    function bp_modify_page_title( $title, $sep, $seplocation ) { 
    413413add_filter( 'wp_title', 'bp_modify_page_title', 10, 3 );
    414414add_filter( 'bp_modify_page_title', 'wptexturize'     );
    415415add_filter( 'bp_modify_page_title', 'convert_chars'   );
    416 add_filter( 'bp_modify_page_title', 'esc_html'        );
     416add_filter( 'bp_modify_page_title', 'esc_html'        );
     417 No newline at end of file
  • bp-core/bp-core-functions.php

    function bp_verify_nonce_request( $action = '', $query_arg = '_wpnonce' ) { 
    12051205        do_action( 'bp_verify_nonce_request', $action, $result );
    12061206
    12071207        return $result;
    1208 }
    1209 
    1210 ?>
     1208}
     1209 No newline at end of file
  • bp-core/bp-core-loader.php

    function bp_setup_core() { 
    245245        global $bp;
    246246        $bp->core = new BP_Core();
    247247}
    248 add_action( 'bp_setup_components', 'bp_setup_core', 2 );
    249 
    250 ?>
    251  No newline at end of file
     248add_action( 'bp_setup_components', 'bp_setup_core', 2 );
     249 No newline at end of file
  • bp-core/bp-core-moderation.php

    function bp_core_current_user_ua() { 
    264264                $retval = '';
    265265
    266266        return apply_filters( 'bp_core_current_user_ua', $retval );
    267 }
    268 ?>
    269  No newline at end of file
     267}
     268 No newline at end of file
  • bp-core/bp-core-options.php

    function bp_is_akismet_active( $default = true ) { 
    535535 */
    536536function bp_get_theme_package_id( $default = 'legacy' ) {
    537537        return apply_filters( 'bp_get_theme_package_id', get_option( '_bp_theme_package_id', $default ) );
    538 }
     538}
     539 No newline at end of file
  • bp-core/bp-core-template-loader.php

    function bp_get_theme_compat_templates() { 
    296296                'index.php'
    297297        );
    298298        return bp_get_query_template( 'buddypress', $templates );
    299 }
     299}
     300 No newline at end of file
  • bp-core/bp-core-template.php

    function bp_the_body_class() { 
    17511751
    17521752                return apply_filters( 'bp_get_the_body_class', $classes, $bp_classes, $wp_classes, $custom_classes );
    17531753        }
    1754         add_filter( 'body_class', 'bp_get_the_body_class', 10, 2 );
    1755 
    1756 ?>
    1757  No newline at end of file
     1754        add_filter( 'body_class', 'bp_get_the_body_class', 10, 2 );
     1755 No newline at end of file
  • bp-core/bp-core-theme-compatibility.php

    function bp_comments_open( $open, $post_id = 0 ) { 
    635635
    636636        // Allow override of the override
    637637        return apply_filters( 'bp_force_comment_status', $retval, $open, $post_id );
    638 }
     638}
     639 No newline at end of file
  • bp-core/bp-core-update.php

    function bp_deactivation() { 
    192192 */
    193193function bp_uninstall() {
    194194        do_action( 'bp_uninstall' );
    195 }
    196 
    197 ?>
     195}
     196 No newline at end of file
  • bp-core/bp-core-widgets.php

    function bp_core_ajax_widget_members() { 
    321321        <?php endif;
    322322}
    323323add_action( 'wp_ajax_widget_members', 'bp_core_ajax_widget_members' );
    324 add_action( 'wp_ajax_nopriv_widget_members', 'bp_core_ajax_widget_members' );
    325 
    326 ?>
     324add_action( 'wp_ajax_nopriv_widget_members', 'bp_core_ajax_widget_members' );
     325 No newline at end of file
  • bp-core/bp-core-wpabstraction.php

    if ( !function_exists( 'mb_strrpos' ) ) { 
    169169                        return false;
    170170                }
    171171        }
    172 }
    173 
    174 ?>
    175  No newline at end of file
     172}
     173 No newline at end of file
  • bp-core/deprecated/1.5.php

    function bp_core_screen_delete_account_title() { 
    662662 */
    663663function bp_core_screen_delete_account_content() {
    664664        _deprecated_function( __FUNCTION__, '1.5', 'Moved into theme template' );
    665 }
    666 ?>
    667  No newline at end of file
     665}
     666 No newline at end of file
  • bp-core/deprecated/1.6.php

    if ( !function_exists( 'bp_dtheme_register_actions' ) ) : 
    260260                }
    261261        }
    262262        add_action( 'after_setup_theme', 'bp_die_legacy_ajax_callbacks', 20 );
    263 endif;
    264 ?>
    265  No newline at end of file
     263endif;
     264 No newline at end of file
  • bp-forums/bp-forums-actions.php

     
    11<?php
    22// Exit if accessed directly
    3 if ( !defined( 'ABSPATH' ) ) exit;
    4 
    5 ?>
    6  No newline at end of file
     3if ( !defined( 'ABSPATH' ) ) exit;
     4 No newline at end of file
  • bp-forums/bp-forums-admin.php

    function bp_forums_bbpress_write( $file_source, $file_target, $alterations ) { 
    416416        @chmod( $file_target, 0666 );
    417417
    418418        return 1;
    419 }
    420 
    421 ?>
    422  No newline at end of file
     419}
     420 No newline at end of file
  • bp-forums/bp-forums-bbpress-sa.php

    function bp_bb_dbDelta($queries, $execute = true) { 
    419419        }
    420420
    421421        return $for_update;
    422 }
    423 
    424 ?>
     422}
     423 No newline at end of file
  • bp-forums/bp-forums-bbpress.php

     
    44 */
    55
    66// Exit if accessed directly
    7 if ( !defined( 'ABSPATH' ) ) exit;
    8 ?>
    9  No newline at end of file
     7if ( !defined( 'ABSPATH' ) ) exit;
     8 No newline at end of file
  • bp-forums/bp-forums-filters.php

    function bp_forums_add_replied_where_sql( $sql ) { 
    204204        $sql = str_replace( " AND t.topic_poster = '" . bp_displayed_user_id() . "'", '', $sql );
    205205
    206206        return $sql;
    207 }
    208 
    209 ?>
    210  No newline at end of file
     207}
     208 No newline at end of file
  • bp-forums/bp-forums-functions.php

    function bp_embed_forum_cache( $cache, $id, $cachekey ) { 
    745745 */
    746746function bp_embed_forum_save_cache( $cache, $cachekey, $id ) {
    747747        bb_update_postmeta( $id, $cachekey, $cache );
    748 }
    749 ?>
    750  No newline at end of file
     748}
     749 No newline at end of file
  • bp-forums/bp-forums-loader.php

    function bp_setup_forums() { 
    250250
    251251        $bp->forums = new BP_Forums_Component();
    252252}
    253 add_action( 'bp_setup_components', 'bp_setup_forums', 6 );
    254 
    255 ?>
    256  No newline at end of file
     253add_action( 'bp_setup_components', 'bp_setup_forums', 6 );
     254 No newline at end of file
  • bp-forums/bp-forums-screens.php

    function bp_forums_screen_single_topic() { 
    123123
    124124        bp_core_load_template( apply_filters( 'bp_forums_screen_single_topic', 'forums/single/topic' ) );
    125125}
    126 add_action( 'bp_screens', 'bp_forums_screen_single_topic' );
    127 ?>
     126add_action( 'bp_screens', 'bp_forums_screen_single_topic' );
     127 No newline at end of file
  • bp-forums/bp-forums-template.php

    function bp_forum_topic_count( $user_id = 0 ) { 
    14641464}
    14651465        function bp_get_forum_topic_count( $user_id = 0 ) {
    14661466                return apply_filters( 'bp_get_forum_topic_count', bp_forums_total_topic_count( $user_id ) );
    1467         }
    1468 ?>
     1467        }
     1468 No newline at end of file
  • bp-forums/deprecated/1.6.php

    function bp_forums_bbpress_install_wizard() { 
    198198                        <?php }
    199199                break;
    200200        }
    201 }
    202 
    203 ?>
     201}
     202 No newline at end of file
  • bp-friends/bp-friends-actions.php

    function friends_action_remove_friend() { 
    8282
    8383        return false;
    8484}
    85 add_action( 'bp_init', 'friends_action_remove_friend' );
    86 
    87 ?>
     85add_action( 'bp_init', 'friends_action_remove_friend' );
     86 No newline at end of file
  • bp-friends/bp-friends-activity.php

    function friends_format_notifications( $action, $item_id, $secondary_item_id, $t 
    120120        do_action( 'friends_format_notifications', $action, $item_id, $secondary_item_id, $total_items, $return );
    121121
    122122        return $return;
    123 }
    124 
    125 ?>
     123}
     124 No newline at end of file
  • bp-friends/bp-friends-cache.php

    add_action( 'friends_friendship_deleted', 'friends_clear_friend_object_cache' ) 
    3838add_action( 'friends_friendship_rejected',  'bp_core_clear_cache' );
    3939add_action( 'friends_friendship_accepted',  'bp_core_clear_cache' );
    4040add_action( 'friends_friendship_deleted',   'bp_core_clear_cache' );
    41 add_action( 'friends_friendship_requested', 'bp_core_clear_cache' );
    42 
    43 ?>
     41add_action( 'friends_friendship_requested', 'bp_core_clear_cache' );
     42 No newline at end of file
  • bp-friends/bp-friends-classes.php

    class BP_Friends_Friendship { 
    345345                        BP_Friends_Friendship::total_friend_count( $friend_id );
    346346                }
    347347        }
    348 }
    349 
    350 ?>
     348}
     349 No newline at end of file
  • bp-friends/bp-friends-functions.php

    function friends_remove_data( $user_id ) { 
    353353}
    354354add_action( 'wpmu_delete_user',  'friends_remove_data' );
    355355add_action( 'delete_user',       'friends_remove_data' );
    356 add_action( 'bp_make_spam_user', 'friends_remove_data' );
    357 
    358 ?>
     356add_action( 'bp_make_spam_user', 'friends_remove_data' );
     357 No newline at end of file
  • bp-friends/bp-friends-loader.php

    function bp_setup_friends() { 
    214214        global $bp;
    215215        $bp->friends = new BP_Friends_Component();
    216216}
    217 add_action( 'bp_setup_components', 'bp_setup_friends', 6 );
    218 
    219 ?>
    220  No newline at end of file
     217add_action( 'bp_setup_components', 'bp_setup_friends', 6 );
     218 No newline at end of file
  • bp-friends/bp-friends-notifications.php

    To view %2$s\'s profile: %3$s 
    8888        wp_mail( $to, $subject, $message );
    8989
    9090        do_action( 'bp_friends_sent_accepted_email', $initiator_id, $subject, $message, $friendship_id, $friend_id );
    91 }
    92 
    93 ?>
     91}
     92 No newline at end of file
  • bp-friends/bp-friends-screens.php

    function friends_screen_notification_settings() { 
    107107
    108108<?php
    109109}
    110 add_action( 'bp_notification_settings', 'friends_screen_notification_settings' );
    111 
    112 ?>
     110add_action( 'bp_notification_settings', 'friends_screen_notification_settings' );
     111 No newline at end of file
  • bp-friends/bp-friends-template.php

    function bp_friend_total_requests_count( $user_id = 0 ) { 
    429429                        $user_id = bp_loggedin_user_id();
    430430
    431431                return apply_filters( 'bp_friend_get_total_requests_count', count( BP_Friends_Friendship::get_friend_user_ids( $user_id, true ) ) );
    432         }
    433 
    434 ?>
     432        }
     433 No newline at end of file
  • bp-groups/bp-groups-actions.php

    function groups_action_group_feed() { 
    320320        include_once( BP_PLUGIN_DIR . '/bp-activity/feeds/bp-activity-group-feed.php' );
    321321        die;
    322322}
    323 add_action( 'bp_actions', 'groups_action_group_feed' );
    324 
    325 ?>
     323add_action( 'bp_actions', 'groups_action_group_feed' );
     324 No newline at end of file
  • bp-groups/bp-groups-activity.php

    function groups_format_notifications( $action, $item_id, $secondary_item_id, $to 
    311311        do_action( 'groups_format_notifications', $action, $item_id, $secondary_item_id, $total_items );
    312312
    313313        return false;
    314 }
    315 
    316 ?>
     314}
     315 No newline at end of file
  • bp-groups/bp-groups-admin.php

    function bp_groups_admin_index() { 
    631631 */
    632632function bp_groups_admin_edit_metabox_settings( $item ) {
    633633        $invite_status = groups_get_groupmeta( $item->id, 'invite_status' );
    634 
    635634?>
    636635
    637636        <div class="bp-groups-settings-section" id="bp-groups-settings-section-forum">
    function bp_groups_admin_edit_metabox_status( $item ) { 
    811810                'gid'  => $item->id
    812811        ), is_network_admin() ? network_admin_url( 'admin.php' ) : admin_url( 'admin.php' ) );
    813812?>
     813
    814814        <div id="submitcomment" class="submitbox">
    815815                <div id="major-publishing-actions">
    816816                        <div id="delete-action">
    class BP_Groups_List_Table extends WP_List_Table { 
    12921292                $last_active = groups_get_groupmeta( $item['id'], 'last_activity' );
    12931293                echo apply_filters_ref_array( 'bp_groups_admin_get_group_last_active', array( $last_active, $item ) );
    12941294        }
    1295 }
    1296 
    1297 ?>
     1295}
     1296 No newline at end of file
  • bp-groups/bp-groups-adminbar.php

    function bp_groups_remove_edit_page_menu() { 
    115115                remove_action( 'admin_bar_menu', 'wp_admin_bar_edit_menu', 80 );
    116116        }
    117117}
    118 add_action( 'bp_init', 'bp_groups_remove_edit_page_menu', 99 );
    119 
    120 ?>
     118add_action( 'bp_init', 'bp_groups_remove_edit_page_menu', 99 );
     119 No newline at end of file
  • bp-groups/bp-groups-buddybar.php

    function bp_groups_adminbar_admin_menu() { 
    6464
    6565        <?php
    6666}
    67 add_action( 'bp_adminbar_menus', 'bp_groups_adminbar_admin_menu', 20 );
    68 
    69 ?>
     67add_action( 'bp_adminbar_menus', 'bp_groups_adminbar_admin_menu', 20 );
     68 No newline at end of file
  • bp-groups/bp-groups-cache.php

    add_action( 'groups_membership_accepted', 'bp_core_clear_cache' ); 
    102102add_action( 'groups_membership_requested',       'bp_core_clear_cache' );
    103103add_action( 'groups_create_group_step_complete', 'bp_core_clear_cache' );
    104104add_action( 'groups_created_group',              'bp_core_clear_cache' );
    105 add_action( 'groups_group_avatar_updated',       'bp_core_clear_cache' );
    106 
    107 ?>
     105add_action( 'groups_group_avatar_updated',       'bp_core_clear_cache' );
     106 No newline at end of file
  • bp-groups/bp-groups-classes.php

    function bp_register_group_extension( $group_extension_class ) { 
    14421442                add_action( "bp_actions", array( &$extension, "_register" ), 8 );
    14431443                add_action( "admin_init", array( &$extension, "_register" ) );
    14441444        ' ), 11 );
    1445 }
    1446 
    1447 ?>
    1448  No newline at end of file
     1445}
     1446 No newline at end of file
  • bp-groups/bp-groups-filters.php

    add_filter( 'bb_current_user_can', 'groups_filter_bbpress_caps', 10, 3 ); 
    168168function groups_filter_forums_root_page_sql( $sql ) {
    169169        return apply_filters( 'groups_filter_bbpress_root_page_sql', 't.topic_id' );
    170170}
    171 add_filter( 'get_latest_topics_fields', 'groups_filter_forums_root_page_sql' );
    172 
    173 ?>
     171add_filter( 'get_latest_topics_fields', 'groups_filter_forums_root_page_sql' );
     172 No newline at end of file
  • bp-groups/bp-groups-forums.php

    function groups_total_public_forum_topic_count( $type = 'newest' ) { 
    403403 */
    404404function groups_total_forum_topic_count( $status = 'public', $search_terms = false ) {
    405405        return apply_filters( 'groups_total_forum_topic_count', BP_Groups_Group::get_global_topic_count( $status, $search_terms ) );
    406 }
    407 
    408 ?>
    409  No newline at end of file
     406}
     407 No newline at end of file
  • bp-groups/bp-groups-functions.php

    function groups_remove_data_for_user( $user_id ) { 
    10051005}
    10061006add_action( 'wpmu_delete_user',  'groups_remove_data_for_user' );
    10071007add_action( 'delete_user',       'groups_remove_data_for_user' );
    1008 add_action( 'bp_make_spam_user', 'groups_remove_data_for_user' );
    1009 
    1010 ?>
     1008add_action( 'bp_make_spam_user', 'groups_remove_data_for_user' );
     1009 No newline at end of file
  • bp-groups/bp-groups-loader.php

    function bp_setup_groups() { 
    586586
    587587        $bp->groups = new BP_Groups_Component();
    588588}
    589 add_action( 'bp_setup_components', 'bp_setup_groups', 6 );
    590 
    591 ?>
     589add_action( 'bp_setup_components', 'bp_setup_groups', 6 );
     590 No newline at end of file
  • bp-groups/bp-groups-notifications.php

    To view %5$s\'s profile visit: %6$s 
    257257
    258258                do_action( 'bp_groups_sent_invited_email', $invited_user_id, $subject, $message, $group );
    259259        }
    260 }
    261 
    262 ?>
    263  No newline at end of file
     260}
     261 No newline at end of file
  • bp-groups/bp-groups-screens.php

    class BP_Groups_Theme_Compat { 
    10421042                bp_buffer_template_part( 'groups/single/home' );
    10431043        }
    10441044}
    1045 new BP_Groups_Theme_Compat();
     1045new BP_Groups_Theme_Compat();
     1046 No newline at end of file
  • bp-groups/bp-groups-template.php

    function bp_group_search_form() { 
    683683        $action = bp_displayed_user_domain() . bp_get_groups_slug() . '/my-groups/search/';
    684684        $label = __('Filter Groups', 'buddypress');
    685685        $name = 'group-filter-box';
    686 
    687686?>
     687
    688688        <form action="<?php echo $action ?>" id="group-search-form" method="post">
    689689                <label for="<?php echo $name ?>" id="<?php echo $name ?>-label"><?php echo $label ?></label>
    690690                <input type="search" name="<?php echo $name ?>" id="<?php echo $name ?>" value="<?php echo $value ?>"<?php echo $disabled ?> />
    function bp_groups_action_link( $action = '', $query_args = '', $nonce = false ) 
    28952895                // Return the url, if there is one
    28962896                if ( !empty( $url ) )
    28972897                        return $url;
    2898         }
    2899 ?>
    2900  No newline at end of file
     2898        }
     2899 No newline at end of file
  • bp-groups/bp-groups-widgets.php

    function groups_ajax_widget_groups_list() { 
    202202
    203203}
    204204add_action( 'wp_ajax_widget_groups_list', 'groups_ajax_widget_groups_list' );
    205 add_action( 'wp_ajax_nopriv_widget_groups_list', 'groups_ajax_widget_groups_list' );
    206 
    207 ?>
     205add_action( 'wp_ajax_nopriv_widget_groups_list', 'groups_ajax_widget_groups_list' );
     206 No newline at end of file
  • bp-loader.php

    if ( defined( 'BUDDYPRESS_LATE_LOAD' ) ) { 
    560560        $GLOBALS['bp'] = &buddypress();
    561561}
    562562
    563 endif;
     563endif;
     564 No newline at end of file
  • bp-members/bp-members-actions.php

    function bp_core_get_random_member() { 
    109109        $user = bp_core_get_users( array( 'type' => 'random', 'per_page' => 1 ) );
    110110        bp_core_redirect( bp_core_get_user_domain( $user['users'][0]->id ) );
    111111}
    112 add_action( 'bp_actions', 'bp_core_get_random_member' );
    113 
    114 ?>
     112add_action( 'bp_actions', 'bp_core_get_random_member' );
     113 No newline at end of file
  • bp-members/bp-members-adminbar.php

    function bp_members_remove_edit_page_menu() { 
    183183                remove_action( 'admin_bar_menu', 'wp_admin_bar_edit_menu', 80 );
    184184        }
    185185}
    186 add_action( 'bp_init', 'bp_members_remove_edit_page_menu', 99 );
    187 
    188 ?>
     186add_action( 'bp_init', 'bp_members_remove_edit_page_menu', 99 );
     187 No newline at end of file
  • bp-members/bp-members-buddybar.php

    function bp_members_adminbar_admin_menu() { 
    147147
    148148        <?php
    149149}
    150 add_action( 'bp_adminbar_menus', 'bp_members_adminbar_admin_menu', 20 );
    151 
    152 ?>
     150add_action( 'bp_adminbar_menus', 'bp_members_adminbar_admin_menu', 20 );
     151 No newline at end of file
  • bp-members/bp-members-filters.php

    function bp_members_edit_profile_url( $url, $user_id, $scheme = 'admin' ) { 
    7777       
    7878        return apply_filters( 'bp_members_edit_profile_url', $profile_link, $url, $user_id, $scheme );
    7979}
    80 add_filter( 'edit_profile_url', 'bp_members_edit_profile_url', 10, 3 );
    81 
    82 ?>
     80add_filter( 'edit_profile_url', 'bp_members_edit_profile_url', 10, 3 );
     81 No newline at end of file
  • bp-members/bp-members-functions.php

    function bp_core_wpsignup_redirect() { 
    13671367        if ( locate_template( array( 'registration/register.php' ), false ) || locate_template( array( 'register.php' ), false ) )
    13681368                bp_core_redirect( bp_get_signup_page() );
    13691369}
    1370 add_action( 'bp_init', 'bp_core_wpsignup_redirect' );
    1371 
    1372 ?>
     1370add_action( 'bp_init', 'bp_core_wpsignup_redirect' );
     1371 No newline at end of file
  • bp-members/bp-members-loader.php

    function bp_setup_members() { 
    208208        global $bp;
    209209        $bp->members = new BP_Members_Component();
    210210}
    211 add_action( 'bp_setup_components', 'bp_setup_members', 1 );
    212 
    213 ?>
     211add_action( 'bp_setup_components', 'bp_setup_members', 1 );
     212 No newline at end of file
  • bp-members/bp-members-notifications.php

    function bp_core_check_notification_access( $user_id, $notification_id ) { 
    248248                return false;
    249249
    250250        return true;
    251 }
    252 
    253 ?>
     251}
     252 No newline at end of file
  • bp-members/bp-members-screens.php

    class BP_Members_Theme_Compat { 
    333333                bp_buffer_template_part( 'members/index' );
    334334        }
    335335}
    336 new BP_Members_Theme_Compat();
     336new BP_Members_Theme_Compat();
     337 No newline at end of file
  • bp-members/bp-members-template.php

    function bp_members_component_link( $component, $action = '', $query_args = '', 
    11821182                // Return the url, if there is one
    11831183                if ( !empty( $url ) )
    11841184                        return $url;
    1185         }
    1186 
    1187 ?>
     1185        }
     1186 No newline at end of file
  • bp-messages/bp-messages-actions.php

    function messages_action_bulk_delete() { 
    112112                bp_core_redirect( trailingslashit( bp_displayed_user_domain() . bp_get_messages_slug() . '/' . bp_current_action() ) );
    113113        }
    114114}
    115 add_action( 'bp_actions', 'messages_action_bulk_delete' );
    116 
    117 ?>
     115add_action( 'bp_actions', 'messages_action_bulk_delete' );
     116 No newline at end of file
  • bp-messages/bp-messages-cache.php

    add_action( 'messages_message_sent', 'bp_core_clear_cache' ); 
    2121// Don't cache message inbox/sentbox/compose as it's too problematic
    2222add_action( 'messages_screen_compose', 'bp_core_clear_cache' );
    2323add_action( 'messages_screen_sentbox', 'bp_core_clear_cache' );
    24 add_action( 'messages_screen_inbox',   'bp_core_clear_cache' );
    25 
    26 ?>
     24add_action( 'messages_screen_inbox',   'bp_core_clear_cache' );
     25 No newline at end of file
  • bp-messages/bp-messages-classes.php

    class BP_Messages_Notice { 
    557557                $notice_id = $wpdb->get_var( $wpdb->prepare( "SELECT id FROM {$bp->messages->table_name_notices} WHERE is_active = 1" ) );
    558558                return new BP_Messages_Notice( $notice_id );
    559559        }
    560 }
    561 
    562 ?>
     560}
     561 No newline at end of file
  • bp-messages/bp-messages-cssjs.php

    function messages_autocomplete_init_jsblock() { 
    5353        </script>
    5454
    5555<?php
    56 }
    57 
    58 ?>
     56}
     57 No newline at end of file
  • bp-messages/bp-messages-filters.php

    add_filter( 'bp_get_message_thread_excerpt', 'stripslashes_deep' ); 
    6565add_filter( 'bp_get_messages_subject_value',     'stripslashes_deep' );
    6666add_filter( 'bp_get_messages_content_value',     'stripslashes_deep' );
    6767add_filter( 'bp_get_the_thread_message_content', 'stripslashes_deep' );
    68 add_filter( 'bp_get_the_thread_subject',         'stripslashes_deep' );
    69 
    70 ?>
     68add_filter( 'bp_get_the_thread_subject',         'stripslashes_deep' );
     69 No newline at end of file
  • bp-messages/bp-messages-functions.php

    function messages_format_notifications( $action, $item_id, $secondary_item_id, $ 
    253253        do_action( 'messages_format_notifications', $action, $item_id, $secondary_item_id, $total_items );
    254254
    255255        return $return;
    256 }
    257 
    258 ?>
     256}
     257 No newline at end of file
  • bp-messages/bp-messages-loader.php

    function bp_setup_messages() { 
    266266        global $bp;
    267267        $bp->messages = new BP_Messages_Component();
    268268}
    269 add_action( 'bp_setup_components', 'bp_setup_messages', 6 );
    270 
    271 ?>
    272  No newline at end of file
     269add_action( 'bp_setup_components', 'bp_setup_messages', 6 );
     270 No newline at end of file
  • bp-messages/bp-messages-notifications.php

    To view and read your messages please log in and visit: %4$s 
    6969        }
    7070
    7171        do_action( 'bp_messages_sent_notification_email', $recipients, $email_subject, $email_content, $args );
    72 }
    73 
    74 ?>
     72}
     73 No newline at end of file
  • bp-messages/bp-messages-screens.php

    function messages_screen_notification_settings() { 
    171171
    172172<?php
    173173}
    174 add_action( 'bp_notification_settings', 'messages_screen_notification_settings', 2 );
    175 
    176 ?>
     174add_action( 'bp_notification_settings', 'messages_screen_notification_settings', 2 );
     175 No newline at end of file
  • bp-messages/bp-messages-template.php

    function bp_the_thread_message_content() { 
    945945function bp_messages_embed() {
    946946        add_filter( 'embed_post_id', 'bp_get_message_thread_id' );
    947947}
    948 add_action( 'messages_box_loop_start', 'bp_messages_embed' );
    949 
    950 ?>
     948add_action( 'messages_box_loop_start', 'bp_messages_embed' );
     949 No newline at end of file
  • bp-settings/bp-settings-actions.php

    function bp_settings_action_delete_account() { 
    346346                }
    347347        }
    348348}
    349 add_action( 'bp_actions', 'bp_settings_action_delete_account' );
    350 
    351 ?>
     349add_action( 'bp_actions', 'bp_settings_action_delete_account' );
     350 No newline at end of file
  • bp-settings/bp-settings-functions.php

     
    88 */
    99
    1010// Exit if accessed directly
    11 if ( !defined( 'ABSPATH' ) ) exit;
    12 
    13 ?>
    14  No newline at end of file
     11if ( !defined( 'ABSPATH' ) ) exit;
     12 No newline at end of file
  • bp-settings/bp-settings-loader.php

    function bp_setup_settings() { 
    205205        global $bp;
    206206        $bp->settings = new BP_Settings_Component();
    207207}
    208 add_action( 'bp_setup_components', 'bp_setup_settings', 6 );
    209 
    210 ?>
    211  No newline at end of file
     208add_action( 'bp_setup_components', 'bp_setup_settings', 6 );
     209 No newline at end of file
  • bp-settings/bp-settings-screens.php

    function bp_settings_screen_capabilities() { 
    7878
    7979        // Load the template
    8080        bp_core_load_template( apply_filters( 'bp_settings_screen_capabilities', 'members/single/settings/capabilities' ) );
    81 }
    82 
    83 ?>
     81}
     82 No newline at end of file
  • bp-settings/bp-settings-template.php

    function bp_settings_root_slug() { 
    5656        function bp_get_settings_root_slug() {
    5757                global $bp;
    5858                return apply_filters( 'bp_get_settings_root_slug', $bp->settings->root_slug );
    59         }
    60 
    61 ?>
    62  No newline at end of file
     59        }
     60 No newline at end of file
  • bp-themes/index.php

     
    22
    33/**
    44 * @todo move bp-default to WordPress.org theme repo
    5  */
    6 
    7 ?>
     5 */
     6 No newline at end of file
  • bp-xprofile/bp-xprofile-actions.php

    function xprofile_action_delete_avatar() { 
    4242
    4343        bp_core_redirect( wp_get_referer() );
    4444}
    45 add_action( 'bp_actions', 'xprofile_action_delete_avatar' );
     45add_action( 'bp_actions', 'xprofile_action_delete_avatar' );
     46 No newline at end of file
  • bp-xprofile/bp-xprofile-activity.php

    function bp_xprofile_new_avatar_activity() { 
    131131                'type' => 'new_avatar'
    132132        ) );
    133133}
    134 add_action( 'xprofile_avatar_uploaded', 'bp_xprofile_new_avatar_activity' );
    135 
    136 ?>
     134add_action( 'xprofile_avatar_uploaded', 'bp_xprofile_new_avatar_activity' );
     135 No newline at end of file
  • bp-xprofile/bp-xprofile-admin.php

    function xprofile_admin_field( $admin_field, $admin_group, $class = '' ) { 
    465465        </fieldset>
    466466
    467467<?php
    468 }
    469 
    470 ?>
     468}
     469 No newline at end of file
  • bp-xprofile/bp-xprofile-buddybar.php

     
    11<?php
    22
    33// Exit if accessed directly
    4 if ( !defined( 'ABSPATH' ) ) exit;
    5 
    6 ?>
    7  No newline at end of file
     4if ( !defined( 'ABSPATH' ) ) exit;
     5 No newline at end of file
  • bp-xprofile/bp-xprofile-cache.php

    add_action( 'xprofile_groups_saved_group', 'xprofile_clear_profile_groups_obje 
    2828add_action( 'xprofile_updated_profile',      'xprofile_clear_profile_data_object_cache'   );
    2929
    3030// List actions to clear super cached pages on, if super cache is installed
    31 add_action( 'xprofile_updated_profile', 'bp_core_clear_cache' );
    32 
    33 ?>
     31add_action( 'xprofile_updated_profile',      'bp_core_clear_cache' );
     32 No newline at end of file
  • bp-xprofile/bp-xprofile-caps.php

    function bp_xprofile_map_meta_caps( $caps, $cap, $user_id, $args ) { 
    5757
    5858        return apply_filters( 'bp_xprofile_map_meta_caps', $caps, $cap, $user_id, $args );
    5959}
    60 add_filter( 'bp_map_meta_caps', 'bp_xprofile_map_meta_caps', 10, 4 );
    61 ?>
    62  No newline at end of file
     60add_filter( 'bp_map_meta_caps', 'bp_xprofile_map_meta_caps', 10, 4 );
     61 No newline at end of file
  • bp-xprofile/bp-xprofile-classes.php

    class BP_XProfile_ProfileData { 
    12291229
    12301230                return $data[$field_name];
    12311231        }
    1232 }
     1232}
     1233 No newline at end of file
  • bp-xprofile/bp-xprofile-cssjs.php

    function xprofile_add_admin_js() { 
    4141                wp_enqueue_script( 'xprofile-admin-js', BP_PLUGIN_URL . "bp-xprofile/admin/js/admin{$min}.js", array( 'jquery', 'jquery-ui-sortable' ), bp_get_version() );
    4242        }
    4343}
    44 add_action( 'admin_enqueue_scripts', 'xprofile_add_admin_js', 1 );
    45 
    46 ?>
     44add_action( 'admin_enqueue_scripts', 'xprofile_add_admin_js', 1 );
     45 No newline at end of file
  • bp-xprofile/bp-xprofile-filters.php

    function xprofile_filter_comments( $comments, $post_id ) { 
    217217
    218218        return $comments;
    219219}
    220 add_filter( 'comments_array', 'xprofile_filter_comments', 10, 2 );
    221 
    222 
    223 
    224 ?>
     220add_filter( 'comments_array', 'xprofile_filter_comments', 10, 2 );
     221 No newline at end of file
  • bp-xprofile/bp-xprofile-functions.php

    function bp_xprofile_get_fields_by_visibility_levels( $user_id, $levels = array( 
    741741        }
    742742
    743743        return $field_ids;
    744 }
    745 
    746 
    747 ?>
     744}
     745 No newline at end of file
  • bp-xprofile/bp-xprofile-loader.php

    function bp_setup_xprofile() { 
    275275        if ( !isset( $bp->profile->id ) )
    276276                $bp->profile = new BP_XProfile_Component();
    277277}
    278 add_action( 'bp_setup_components', 'bp_setup_xprofile', 6 );
    279 
    280 ?>
     278add_action( 'bp_setup_components', 'bp_setup_xprofile', 6 );
     279 No newline at end of file
  • bp-xprofile/bp-xprofile-screens.php

    class BP_XProfile_Theme_Compat { 
    258258                bp_buffer_template_part( 'members/single/home' );
    259259        }
    260260}
    261 new BP_XProfile_Theme_Compat();
     261new BP_XProfile_Theme_Compat();
     262 No newline at end of file
  • bp-xprofile/bp-xprofile-template.php

    function bp_profile_visibility_radio_buttons() { 
    922922                $html .= '</ul>';
    923923
    924924                return apply_filters( 'bp_profile_get_visibility_radio_buttons', $html );
    925         }
    926 ?>
     925        }
     926 No newline at end of file