Ticket #4443: 4443.01.patch
File 4443.01.patch, 60.8 KB (added by , 13 years ago) |
---|
-
bp-activity/bp-activity-actions.php
function bp_activity_setup_akismet() { 596 596 597 597 // Instantiate Akismet for BuddyPress 598 598 $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 { 1396 1396 1397 1397 return $tree; 1398 1398 } 1399 } 1400 ?> 1399 } 1400 No newline at end of file -
bp-activity/bp-activity-akismet.php
function bp_activity_akismet_delete_old_metadata() { 583 583 foreach ( $activity_ids as $activity_id ) 584 584 bp_activity_delete_meta( $activity_id, '_bp_akismet_submission' ); 585 585 } 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 ) { 34 34 ); 35 35 36 36 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 { 668 668 669 669 return $wpdb->get_var( $wpdb->prepare( "UPDATE {$bp->activity->table_name} SET hide_sitewide = 1 WHERE user_id = %d", $user_id ) ); 670 670 } 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 ) { 335 335 } 336 336 337 337 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 ) { 1665 1665 */ 1666 1666 function bp_embed_activity_save_cache( $cache, $cachekey, $id ) { 1667 1667 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() { 338 338 339 339 $bp->activity = new BP_Activity_Component(); 340 340 } 341 add_action( 'bp_setup_components', 'bp_setup_activity', 6 ); 342 343 ?> 341 add_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: % 229 229 230 230 do_action( 'bp_activity_sent_reply_to_reply_email', $original_activity->user_id, $subject, $message, $comment_id, $commenter_id, $params ); 231 231 } 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 { 376 376 bp_buffer_template_part( 'activity/index' ); 377 377 } 378 378 } 379 new BP_Activity_Theme_Compat(); 379 new BP_Activity_Theme_Compat(); 380 No newline at end of file -
bp-activity/bp-activity-template.php
function bp_activity_sitewide_feed() { 2738 2738 2739 2739 <?php 2740 2740 } 2741 add_action( 'bp_head', 'bp_activity_sitewide_feed' ); 2742 2743 ?> 2741 add_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; 12 12 13 13 header('Content-Type: text/xml; charset=' . get_option( 'blog_charset' ), true ); 14 14 header('Status: 200 OK'); 15 ?> 16 <?php echo '<?xml version="1.0" encoding="' . get_option( 'blog_charset' ) . '"?'.'>'; ?> 15 echo '<?xml version="1.0" encoding="' . get_option( 'blog_charset' ) . '"?'.'>'; ?> 17 16 18 17 <rss version="2.0" 19 18 xmlns:content="http://purl.org/rss/1.0/modules/content/" … … header('Status: 200 OK'); 72 71 <?php endif; ?> 73 72 74 73 </channel> 75 </rss> 74 </rss> 75 No newline at end of file -
bp-activity/feeds/bp-activity-friends-feed.php
if ( !defined( 'ABSPATH' ) ) exit; 12 12 13 13 header('Content-Type: text/xml; charset=' . get_option('blog_charset'), true); 14 14 header('Status: 200 OK'); 15 ?> 16 <?php echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?> 15 echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?> 17 16 18 17 <rss version="2.0" 19 18 xmlns:content="http://purl.org/rss/1.0/modules/content/" … … header('Status: 200 OK'); 62 61 63 62 <?php endif; ?> 64 63 </channel> 65 </rss> 64 </rss> 65 No newline at end of file -
bp-activity/feeds/bp-activity-group-feed.php
if ( !defined( 'ABSPATH' ) ) exit; 12 12 13 13 header('Content-Type: text/xml; charset=' . get_option('blog_charset'), true); 14 14 header('Status: 200 OK'); 15 ?> 16 <?php echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?> 15 echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?> 17 16 18 17 <rss version="2.0" 19 18 xmlns:content="http://purl.org/rss/1.0/modules/content/" … … header('Status: 200 OK'); 57 56 58 57 <?php endif; ?> 59 58 </channel> 60 </rss> 59 </rss> 60 No newline at end of file -
bp-activity/feeds/bp-activity-mentions-feed.php
if ( !defined( 'ABSPATH' ) ) exit; 12 12 13 13 header('Content-Type: text/xml; charset=' . get_option('blog_charset'), true); 14 14 header('Status: 200 OK'); 15 ?> 16 <?php echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?> 15 echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?> 17 16 18 17 <rss version="2.0" 19 18 xmlns:content="http://purl.org/rss/1.0/modules/content/" … … header('Status: 200 OK'); 63 62 64 63 <?php endif; ?> 65 64 </channel> 66 </rss> 65 </rss> 66 No newline at end of file -
bp-activity/feeds/bp-activity-mygroups-feed.php
if ( !defined( 'ABSPATH' ) ) exit; 12 12 13 13 header('Content-Type: text/xml; charset=' . get_option('blog_charset'), true); 14 14 header('Status: 200 OK'); 15 ?> 16 <?php echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?> 15 echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?> 17 16 18 17 <rss version="2.0" 19 18 xmlns:content="http://purl.org/rss/1.0/modules/content/" … … header('Status: 200 OK'); 63 62 64 63 <?php endif; ?> 65 64 </channel> 66 </rss> 65 </rss> 66 No newline at end of file -
bp-activity/feeds/bp-activity-personal-feed.php
if ( !defined( 'ABSPATH' ) ) exit; 12 12 13 13 header('Content-Type: text/xml; charset=' . get_option('blog_charset'), true); 14 14 header('Status: 200 OK'); 15 ?> 16 <?php echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?> 15 echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?> 17 16 18 17 <rss version="2.0" 19 18 xmlns:content="http://purl.org/rss/1.0/modules/content/" … … header('Status: 200 OK'); 62 61 63 62 <?php endif; ?> 64 63 </channel> 65 </rss> 64 </rss> 65 No newline at end of file -
bp-activity/feeds/bp-activity-sitewide-feed.php
if ( !defined( 'ABSPATH' ) ) exit; 12 12 13 13 header('Content-Type: text/xml; charset=' . get_option('blog_charset'), true); 14 14 header('Status: 200 OK'); 15 ?> 16 <?php echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?> 15 echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?> 17 16 18 17 <rss version="2.0" 19 18 xmlns:content="http://purl.org/rss/1.0/modules/content/" … … header('Status: 200 OK'); 57 56 58 57 <?php endif; ?> 59 58 </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() { 33 33 bp_core_redirect( bp_core_get_root_domain() ); 34 34 } 35 35 } 36 add_action( 'bp_actions', 'bp_blogs_redirect_to_random_blog' ); 37 38 ?> 36 add_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 ) { 124 124 'user_id' => $user_id, 125 125 'secondary_item_id' => $secondary_item_id 126 126 ) ); 127 } 128 129 ?> 127 } 128 No newline at end of file -
bp-blogs/bp-blogs-buddybar.php
function bp_adminbar_blogs_menu() { 76 76 echo '</li>'; 77 77 } 78 78 } 79 add_action( 'bp_adminbar_menus', 'bp_adminbar_blogs_menu', 6 ); 80 81 ?> 79 add_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' ); 53 53 add_action( 'bp_blogs_new_blog_comment', 'bp_core_clear_cache' ); 54 54 add_action( 'bp_blogs_new_blog_post', 'bp_core_clear_cache' ); 55 55 add_action( 'bp_blogs_new_blog', 'bp_core_clear_cache' ); 56 add_action( 'bp_blogs_remove_data', 'bp_core_clear_cache' ); 57 58 ?> 56 add_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 { 285 285 286 286 return false; 287 287 } 288 } 289 290 ?> 288 } 289 No newline at end of file -
bp-blogs/bp-blogs-filters.php
20 20 function bp_blogs_creation_location( $url ) { 21 21 return apply_filters( 'bp_blogs_creation_location', trailingslashit( bp_get_root_domain() . '/' . bp_get_blogs_slug() . '/create', $url ) ); 22 22 } 23 add_filter( 'wp_signup_location', 'bp_blogs_creation_location' ); 24 25 26 ?> 27 No newline at end of file 23 add_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 ) { 669 669 } 670 670 add_action( 'wpmu_delete_user', 'bp_blogs_remove_data' ); 671 671 add_action( 'delete_user', 'bp_blogs_remove_data' ); 672 add_action( 'bp_make_spam_user', 'bp_blogs_remove_data' ); 673 674 ?> 672 add_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() { 211 211 global $bp; 212 212 $bp->blogs = new BP_Blogs_Component(); 213 213 } 214 add_action( 'bp_setup_components', 'bp_setup_blogs', 6 ); 215 216 ?> 214 add_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 { 172 172 bp_buffer_template_part( 'blogs/create' ); 173 173 } 174 174 } 175 new BP_Blogs_Theme_Compat(); 175 new BP_Blogs_Theme_Compat(); 176 No newline at end of file -
bp-blogs/bp-blogs-template.php
function bp_blogs_visit_blog_button( $args = '' ) { 655 655 656 656 // Filter and return the HTML button 657 657 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 { 87 87 <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> 88 88 <?php 89 89 } 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() { 295 295 wp_redirect( $base_url ); 296 296 } 297 297 } 298 add_action( 'admin_init', 'bp_core_admin_components_settings_handler' ); 299 300 ?> 298 add_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 = '' ) { 374 374 375 375 // Do other fun things 376 376 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() { 385 385 } 386 386 } 387 387 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 ) { 364 364 365 365 // Allow plugins to further filter the output 366 366 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() { 219 219 wp_redirect( $base_url ); 220 220 } 221 221 } 222 add_action( 'admin_init', 'bp_core_admin_slugs_setup_handler' ); 223 224 ?> 222 add_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() { 1053 1053 return $bp->admin->wizard; 1054 1054 1055 1055 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 ); 90 90 // Load the admin 91 91 if ( is_admin() ) { 92 92 add_action( 'bp_loaded', 'bp_admin' ); 93 } 93 } 94 No newline at end of file -
bp-core/bp-core-admin.php
function bp_admin() { 504 504 global $bp; 505 505 506 506 $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() { 64 64 if ( $min ) 65 65 $wp_styles->add_data( 'bp-admin-bar', 'suffix', $min ); 66 66 } 67 add_action( 'bp_init', 'bp_core_load_admin_bar_css' ); 68 69 ?> 67 add_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() { 958 958 global $bp; 959 959 960 960 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() { 682 682 if ( $min ) 683 683 $wp_styles->add_data( 'bp-admin-bar', 'suffix', $min ); 684 684 } 685 add_action( 'bp_init', 'bp_core_load_buddybar_css' ); 686 687 ?> 685 add_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() ) { 131 131 } 132 132 133 133 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 ) { 421 421 422 422 return $allcaps; 423 423 } 424 add_filter( 'user_has_cap', '_bp_enforce_bp_moderate_cap_for_admins', 10, 3 ); 425 426 ?> 424 add_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() { 742 742 add_action( 'bp_head', 'bp_rel_canonical' ); 743 743 } 744 744 } 745 add_action( 'wp_head', '_bp_maybe_remove_rel_canonical', 8 ); 745 add_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 { 1283 1283 // Still unknown 1284 1284 return $this->maybe_make_link( $url ); 1285 1285 } 1286 } 1287 1288 ?> 1286 } 1287 No newline at end of file -
bp-core/bp-core-component.php
class BP_Component { 384 384 do_action( 'bp_' . $this->id . '_generate_rewrite_rules' ); 385 385 } 386 386 } 387 endif; // BP_Component 388 389 ?> 387 endif; // BP_Component 388 No newline at end of file -
bp-core/bp-core-cssjs.php
function bp_core_add_ajax_url_js() { 138 138 139 139 <?php 140 140 } 141 add_action( 'wp_head', 'bp_core_add_ajax_url_js' ); 142 143 ?> 144 No newline at end of file 141 add_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 ) { 230 230 */ 231 231 function bp_allowed_themes( $themes ) { 232 232 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 ) { 413 413 add_filter( 'wp_title', 'bp_modify_page_title', 10, 3 ); 414 414 add_filter( 'bp_modify_page_title', 'wptexturize' ); 415 415 add_filter( 'bp_modify_page_title', 'convert_chars' ); 416 add_filter( 'bp_modify_page_title', 'esc_html' ); 416 add_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' ) { 1205 1205 do_action( 'bp_verify_nonce_request', $action, $result ); 1206 1206 1207 1207 return $result; 1208 } 1209 1210 ?> 1208 } 1209 No newline at end of file -
bp-core/bp-core-loader.php
function bp_setup_core() { 245 245 global $bp; 246 246 $bp->core = new BP_Core(); 247 247 } 248 add_action( 'bp_setup_components', 'bp_setup_core', 2 ); 249 250 ?> 251 No newline at end of file 248 add_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() { 264 264 $retval = ''; 265 265 266 266 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 ) { 535 535 */ 536 536 function bp_get_theme_package_id( $default = 'legacy' ) { 537 537 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() { 296 296 'index.php' 297 297 ); 298 298 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() { 1751 1751 1752 1752 return apply_filters( 'bp_get_the_body_class', $classes, $bp_classes, $wp_classes, $custom_classes ); 1753 1753 } 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 ) { 635 635 636 636 // Allow override of the override 637 637 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() { 192 192 */ 193 193 function bp_uninstall() { 194 194 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() { 321 321 <?php endif; 322 322 } 323 323 add_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 ?> 324 add_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' ) ) { 169 169 return false; 170 170 } 171 171 } 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() { 662 662 */ 663 663 function bp_core_screen_delete_account_content() { 664 664 _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' ) ) : 260 260 } 261 261 } 262 262 add_action( 'after_setup_theme', 'bp_die_legacy_ajax_callbacks', 20 ); 263 endif; 264 ?> 265 No newline at end of file 263 endif; 264 No newline at end of file -
bp-forums/bp-forums-actions.php
1 1 <?php 2 2 // Exit if accessed directly 3 if ( !defined( 'ABSPATH' ) ) exit; 4 5 ?> 6 No newline at end of file 3 if ( !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 ) { 416 416 @chmod( $file_target, 0666 ); 417 417 418 418 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) { 419 419 } 420 420 421 421 return $for_update; 422 } 423 424 ?> 422 } 423 No newline at end of file -
bp-forums/bp-forums-bbpress.php
4 4 */ 5 5 6 6 // Exit if accessed directly 7 if ( !defined( 'ABSPATH' ) ) exit; 8 ?> 9 No newline at end of file 7 if ( !defined( 'ABSPATH' ) ) exit; 8 No newline at end of file -
bp-forums/bp-forums-filters.php
function bp_forums_add_replied_where_sql( $sql ) { 204 204 $sql = str_replace( " AND t.topic_poster = '" . bp_displayed_user_id() . "'", '', $sql ); 205 205 206 206 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 ) { 745 745 */ 746 746 function bp_embed_forum_save_cache( $cache, $cachekey, $id ) { 747 747 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() { 250 250 251 251 $bp->forums = new BP_Forums_Component(); 252 252 } 253 add_action( 'bp_setup_components', 'bp_setup_forums', 6 ); 254 255 ?> 256 No newline at end of file 253 add_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() { 123 123 124 124 bp_core_load_template( apply_filters( 'bp_forums_screen_single_topic', 'forums/single/topic' ) ); 125 125 } 126 add_action( 'bp_screens', 'bp_forums_screen_single_topic' ); 127 ?> 126 add_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 ) { 1464 1464 } 1465 1465 function bp_get_forum_topic_count( $user_id = 0 ) { 1466 1466 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() { 198 198 <?php } 199 199 break; 200 200 } 201 } 202 203 ?> 201 } 202 No newline at end of file -
bp-friends/bp-friends-actions.php
function friends_action_remove_friend() { 82 82 83 83 return false; 84 84 } 85 add_action( 'bp_init', 'friends_action_remove_friend' ); 86 87 ?> 85 add_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 120 120 do_action( 'friends_format_notifications', $action, $item_id, $secondary_item_id, $total_items, $return ); 121 121 122 122 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' ) 38 38 add_action( 'friends_friendship_rejected', 'bp_core_clear_cache' ); 39 39 add_action( 'friends_friendship_accepted', 'bp_core_clear_cache' ); 40 40 add_action( 'friends_friendship_deleted', 'bp_core_clear_cache' ); 41 add_action( 'friends_friendship_requested', 'bp_core_clear_cache' ); 42 43 ?> 41 add_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 { 345 345 BP_Friends_Friendship::total_friend_count( $friend_id ); 346 346 } 347 347 } 348 } 349 350 ?> 348 } 349 No newline at end of file -
bp-friends/bp-friends-functions.php
function friends_remove_data( $user_id ) { 353 353 } 354 354 add_action( 'wpmu_delete_user', 'friends_remove_data' ); 355 355 add_action( 'delete_user', 'friends_remove_data' ); 356 add_action( 'bp_make_spam_user', 'friends_remove_data' ); 357 358 ?> 356 add_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() { 214 214 global $bp; 215 215 $bp->friends = new BP_Friends_Component(); 216 216 } 217 add_action( 'bp_setup_components', 'bp_setup_friends', 6 ); 218 219 ?> 220 No newline at end of file 217 add_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 88 88 wp_mail( $to, $subject, $message ); 89 89 90 90 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() { 107 107 108 108 <?php 109 109 } 110 add_action( 'bp_notification_settings', 'friends_screen_notification_settings' ); 111 112 ?> 110 add_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 ) { 429 429 $user_id = bp_loggedin_user_id(); 430 430 431 431 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() { 320 320 include_once( BP_PLUGIN_DIR . '/bp-activity/feeds/bp-activity-group-feed.php' ); 321 321 die; 322 322 } 323 add_action( 'bp_actions', 'groups_action_group_feed' ); 324 325 ?> 323 add_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 311 311 do_action( 'groups_format_notifications', $action, $item_id, $secondary_item_id, $total_items ); 312 312 313 313 return false; 314 } 315 316 ?> 314 } 315 No newline at end of file -
bp-groups/bp-groups-admin.php
function bp_groups_admin_index() { 631 631 */ 632 632 function bp_groups_admin_edit_metabox_settings( $item ) { 633 633 $invite_status = groups_get_groupmeta( $item->id, 'invite_status' ); 634 635 634 ?> 636 635 637 636 <div class="bp-groups-settings-section" id="bp-groups-settings-section-forum"> … … function bp_groups_admin_edit_metabox_status( $item ) { 811 810 'gid' => $item->id 812 811 ), is_network_admin() ? network_admin_url( 'admin.php' ) : admin_url( 'admin.php' ) ); 813 812 ?> 813 814 814 <div id="submitcomment" class="submitbox"> 815 815 <div id="major-publishing-actions"> 816 816 <div id="delete-action"> … … class BP_Groups_List_Table extends WP_List_Table { 1292 1292 $last_active = groups_get_groupmeta( $item['id'], 'last_activity' ); 1293 1293 echo apply_filters_ref_array( 'bp_groups_admin_get_group_last_active', array( $last_active, $item ) ); 1294 1294 } 1295 } 1296 1297 ?> 1295 } 1296 No newline at end of file -
bp-groups/bp-groups-adminbar.php
function bp_groups_remove_edit_page_menu() { 115 115 remove_action( 'admin_bar_menu', 'wp_admin_bar_edit_menu', 80 ); 116 116 } 117 117 } 118 add_action( 'bp_init', 'bp_groups_remove_edit_page_menu', 99 ); 119 120 ?> 118 add_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() { 64 64 65 65 <?php 66 66 } 67 add_action( 'bp_adminbar_menus', 'bp_groups_adminbar_admin_menu', 20 ); 68 69 ?> 67 add_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' ); 102 102 add_action( 'groups_membership_requested', 'bp_core_clear_cache' ); 103 103 add_action( 'groups_create_group_step_complete', 'bp_core_clear_cache' ); 104 104 add_action( 'groups_created_group', 'bp_core_clear_cache' ); 105 add_action( 'groups_group_avatar_updated', 'bp_core_clear_cache' ); 106 107 ?> 105 add_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 ) { 1442 1442 add_action( "bp_actions", array( &$extension, "_register" ), 8 ); 1443 1443 add_action( "admin_init", array( &$extension, "_register" ) ); 1444 1444 ' ), 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 ); 168 168 function groups_filter_forums_root_page_sql( $sql ) { 169 169 return apply_filters( 'groups_filter_bbpress_root_page_sql', 't.topic_id' ); 170 170 } 171 add_filter( 'get_latest_topics_fields', 'groups_filter_forums_root_page_sql' ); 172 173 ?> 171 add_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' ) { 403 403 */ 404 404 function groups_total_forum_topic_count( $status = 'public', $search_terms = false ) { 405 405 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 ) { 1005 1005 } 1006 1006 add_action( 'wpmu_delete_user', 'groups_remove_data_for_user' ); 1007 1007 add_action( 'delete_user', 'groups_remove_data_for_user' ); 1008 add_action( 'bp_make_spam_user', 'groups_remove_data_for_user' ); 1009 1010 ?> 1008 add_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() { 586 586 587 587 $bp->groups = new BP_Groups_Component(); 588 588 } 589 add_action( 'bp_setup_components', 'bp_setup_groups', 6 ); 590 591 ?> 589 add_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 257 257 258 258 do_action( 'bp_groups_sent_invited_email', $invited_user_id, $subject, $message, $group ); 259 259 } 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 { 1042 1042 bp_buffer_template_part( 'groups/single/home' ); 1043 1043 } 1044 1044 } 1045 new BP_Groups_Theme_Compat(); 1045 new BP_Groups_Theme_Compat(); 1046 No newline at end of file -
bp-groups/bp-groups-template.php
function bp_group_search_form() { 683 683 $action = bp_displayed_user_domain() . bp_get_groups_slug() . '/my-groups/search/'; 684 684 $label = __('Filter Groups', 'buddypress'); 685 685 $name = 'group-filter-box'; 686 687 686 ?> 687 688 688 <form action="<?php echo $action ?>" id="group-search-form" method="post"> 689 689 <label for="<?php echo $name ?>" id="<?php echo $name ?>-label"><?php echo $label ?></label> 690 690 <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 ) 2895 2895 // Return the url, if there is one 2896 2896 if ( !empty( $url ) ) 2897 2897 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() { 202 202 203 203 } 204 204 add_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 ?> 205 add_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' ) ) { 560 560 $GLOBALS['bp'] = &buddypress(); 561 561 } 562 562 563 endif; 563 endif; 564 No newline at end of file -
bp-members/bp-members-actions.php
function bp_core_get_random_member() { 109 109 $user = bp_core_get_users( array( 'type' => 'random', 'per_page' => 1 ) ); 110 110 bp_core_redirect( bp_core_get_user_domain( $user['users'][0]->id ) ); 111 111 } 112 add_action( 'bp_actions', 'bp_core_get_random_member' ); 113 114 ?> 112 add_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() { 183 183 remove_action( 'admin_bar_menu', 'wp_admin_bar_edit_menu', 80 ); 184 184 } 185 185 } 186 add_action( 'bp_init', 'bp_members_remove_edit_page_menu', 99 ); 187 188 ?> 186 add_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() { 147 147 148 148 <?php 149 149 } 150 add_action( 'bp_adminbar_menus', 'bp_members_adminbar_admin_menu', 20 ); 151 152 ?> 150 add_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' ) { 77 77 78 78 return apply_filters( 'bp_members_edit_profile_url', $profile_link, $url, $user_id, $scheme ); 79 79 } 80 add_filter( 'edit_profile_url', 'bp_members_edit_profile_url', 10, 3 ); 81 82 ?> 80 add_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() { 1367 1367 if ( locate_template( array( 'registration/register.php' ), false ) || locate_template( array( 'register.php' ), false ) ) 1368 1368 bp_core_redirect( bp_get_signup_page() ); 1369 1369 } 1370 add_action( 'bp_init', 'bp_core_wpsignup_redirect' ); 1371 1372 ?> 1370 add_action( 'bp_init', 'bp_core_wpsignup_redirect' ); 1371 No newline at end of file -
bp-members/bp-members-loader.php
function bp_setup_members() { 208 208 global $bp; 209 209 $bp->members = new BP_Members_Component(); 210 210 } 211 add_action( 'bp_setup_components', 'bp_setup_members', 1 ); 212 213 ?> 211 add_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 ) { 248 248 return false; 249 249 250 250 return true; 251 } 252 253 ?> 251 } 252 No newline at end of file -
bp-members/bp-members-screens.php
class BP_Members_Theme_Compat { 333 333 bp_buffer_template_part( 'members/index' ); 334 334 } 335 335 } 336 new BP_Members_Theme_Compat(); 336 new 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 = '', 1182 1182 // Return the url, if there is one 1183 1183 if ( !empty( $url ) ) 1184 1184 return $url; 1185 } 1186 1187 ?> 1185 } 1186 No newline at end of file -
bp-messages/bp-messages-actions.php
function messages_action_bulk_delete() { 112 112 bp_core_redirect( trailingslashit( bp_displayed_user_domain() . bp_get_messages_slug() . '/' . bp_current_action() ) ); 113 113 } 114 114 } 115 add_action( 'bp_actions', 'messages_action_bulk_delete' ); 116 117 ?> 115 add_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' ); 21 21 // Don't cache message inbox/sentbox/compose as it's too problematic 22 22 add_action( 'messages_screen_compose', 'bp_core_clear_cache' ); 23 23 add_action( 'messages_screen_sentbox', 'bp_core_clear_cache' ); 24 add_action( 'messages_screen_inbox', 'bp_core_clear_cache' ); 25 26 ?> 24 add_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 { 557 557 $notice_id = $wpdb->get_var( $wpdb->prepare( "SELECT id FROM {$bp->messages->table_name_notices} WHERE is_active = 1" ) ); 558 558 return new BP_Messages_Notice( $notice_id ); 559 559 } 560 } 561 562 ?> 560 } 561 No newline at end of file -
bp-messages/bp-messages-cssjs.php
function messages_autocomplete_init_jsblock() { 53 53 </script> 54 54 55 55 <?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' ); 65 65 add_filter( 'bp_get_messages_subject_value', 'stripslashes_deep' ); 66 66 add_filter( 'bp_get_messages_content_value', 'stripslashes_deep' ); 67 67 add_filter( 'bp_get_the_thread_message_content', 'stripslashes_deep' ); 68 add_filter( 'bp_get_the_thread_subject', 'stripslashes_deep' ); 69 70 ?> 68 add_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, $ 253 253 do_action( 'messages_format_notifications', $action, $item_id, $secondary_item_id, $total_items ); 254 254 255 255 return $return; 256 } 257 258 ?> 256 } 257 No newline at end of file -
bp-messages/bp-messages-loader.php
function bp_setup_messages() { 266 266 global $bp; 267 267 $bp->messages = new BP_Messages_Component(); 268 268 } 269 add_action( 'bp_setup_components', 'bp_setup_messages', 6 ); 270 271 ?> 272 No newline at end of file 269 add_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 69 69 } 70 70 71 71 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() { 171 171 172 172 <?php 173 173 } 174 add_action( 'bp_notification_settings', 'messages_screen_notification_settings', 2 ); 175 176 ?> 174 add_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() { 945 945 function bp_messages_embed() { 946 946 add_filter( 'embed_post_id', 'bp_get_message_thread_id' ); 947 947 } 948 add_action( 'messages_box_loop_start', 'bp_messages_embed' ); 949 950 ?> 948 add_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() { 346 346 } 347 347 } 348 348 } 349 add_action( 'bp_actions', 'bp_settings_action_delete_account' ); 350 351 ?> 349 add_action( 'bp_actions', 'bp_settings_action_delete_account' ); 350 No newline at end of file -
bp-settings/bp-settings-functions.php
8 8 */ 9 9 10 10 // Exit if accessed directly 11 if ( !defined( 'ABSPATH' ) ) exit; 12 13 ?> 14 No newline at end of file 11 if ( !defined( 'ABSPATH' ) ) exit; 12 No newline at end of file -
bp-settings/bp-settings-loader.php
function bp_setup_settings() { 205 205 global $bp; 206 206 $bp->settings = new BP_Settings_Component(); 207 207 } 208 add_action( 'bp_setup_components', 'bp_setup_settings', 6 ); 209 210 ?> 211 No newline at end of file 208 add_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() { 78 78 79 79 // Load the template 80 80 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() { 56 56 function bp_get_settings_root_slug() { 57 57 global $bp; 58 58 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
2 2 3 3 /** 4 4 * @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() { 42 42 43 43 bp_core_redirect( wp_get_referer() ); 44 44 } 45 add_action( 'bp_actions', 'xprofile_action_delete_avatar' ); 45 add_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() { 131 131 'type' => 'new_avatar' 132 132 ) ); 133 133 } 134 add_action( 'xprofile_avatar_uploaded', 'bp_xprofile_new_avatar_activity' ); 135 136 ?> 134 add_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 = '' ) { 465 465 </fieldset> 466 466 467 467 <?php 468 } 469 470 ?> 468 } 469 No newline at end of file -
bp-xprofile/bp-xprofile-buddybar.php
1 1 <?php 2 2 3 3 // Exit if accessed directly 4 if ( !defined( 'ABSPATH' ) ) exit; 5 6 ?> 7 No newline at end of file 4 if ( !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 28 28 add_action( 'xprofile_updated_profile', 'xprofile_clear_profile_data_object_cache' ); 29 29 30 30 // 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 ?> 31 add_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 ) { 57 57 58 58 return apply_filters( 'bp_xprofile_map_meta_caps', $caps, $cap, $user_id, $args ); 59 59 } 60 add_filter( 'bp_map_meta_caps', 'bp_xprofile_map_meta_caps', 10, 4 ); 61 ?> 62 No newline at end of file 60 add_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 { 1229 1229 1230 1230 return $data[$field_name]; 1231 1231 } 1232 } 1232 } 1233 No newline at end of file -
bp-xprofile/bp-xprofile-cssjs.php
function xprofile_add_admin_js() { 41 41 wp_enqueue_script( 'xprofile-admin-js', BP_PLUGIN_URL . "bp-xprofile/admin/js/admin{$min}.js", array( 'jquery', 'jquery-ui-sortable' ), bp_get_version() ); 42 42 } 43 43 } 44 add_action( 'admin_enqueue_scripts', 'xprofile_add_admin_js', 1 ); 45 46 ?> 44 add_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 ) { 217 217 218 218 return $comments; 219 219 } 220 add_filter( 'comments_array', 'xprofile_filter_comments', 10, 2 ); 221 222 223 224 ?> 220 add_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( 741 741 } 742 742 743 743 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() { 275 275 if ( !isset( $bp->profile->id ) ) 276 276 $bp->profile = new BP_XProfile_Component(); 277 277 } 278 add_action( 'bp_setup_components', 'bp_setup_xprofile', 6 ); 279 280 ?> 278 add_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 { 258 258 bp_buffer_template_part( 'members/single/home' ); 259 259 } 260 260 } 261 new BP_XProfile_Theme_Compat(); 261 new BP_XProfile_Theme_Compat(); 262 No newline at end of file -
bp-xprofile/bp-xprofile-template.php
function bp_profile_visibility_radio_buttons() { 922 922 $html .= '</ul>'; 923 923 924 924 return apply_filters( 'bp_profile_get_visibility_radio_buttons', $html ); 925 } 926 ?> 925 } 926 No newline at end of file