This repository has been archived by the owner on Jan 22, 2022. It is now read-only.
/
1.5.php
680 lines (575 loc) · 20.9 KB
/
1.5.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
<?php
/**
* Deprecated Functions
*
* @package BuddyPress
* @subpackage Core
* @deprecated Since 1.5
*/
// Exit if accessed directly
if ( !defined( 'ABSPATH' ) ) exit;
/** Loader ********************************************************************/
function bp_setup_root_components() {
do_action( 'bp_setup_root_components' );
}
add_action( 'bp_init', 'bp_setup_root_components', 6 );
/** WP Abstraction ************************************************************/
/**
* bp_core_is_multisite()
*
* This function originally served as a wrapper when WordPress and WordPress MU were separate entities.
* Use is_multisite() instead.
*
* @deprecated 1.5
* @deprecated Use is_multisite()
*/
function bp_core_is_multisite() {
_deprecated_function( __FUNCTION__, '1.5', 'is_multisite()' );
return is_multisite();
}
/**
* bp_core_is_main_site
*
* Checks if current blog is root blog of site. Deprecated in 1.5.
*
* @deprecated 1.5
* @deprecated Use is_main_site()
* @package BuddyPress
* @param int $blog_id optional blog id to test (default current blog)
* @return bool True if not multisite or $blog_id is main site
* @since 1.2.6
*/
function bp_core_is_main_site( $blog_id = '' ) {
_deprecated_function( __FUNCTION__, '1.5', 'is_main_site()' );
return is_main_site( $blog_id );
}
/**
* WPMU version of is_super_admin()
*
* @deprecated 1.5
* @deprecated Use is_super_admin()
* @param int $user_id Optional. Defaults to logged-in user
* @return bool True if is super admin
*/
if ( !function_exists( 'is_site_admin' ) ) {
function is_site_admin( $user_id = false ) {
_deprecated_function( __FUNCTION__, '1.5', 'is_super_admin()' );
return is_super_admin( $user_id );
}
}
/** Admin ******************************************************************/
/**
* In BuddyPress 1.1 - 1.2.x, this function provided a better version of add_menu_page()
* that allowed positioning of menus. Deprecated in 1.5 in favour of a WP core function.
*
* @deprecated 1.5
* @deprecated Use add_menu_page().
* @since 1.1
*/
function bp_core_add_admin_menu_page( $args = '' ) {
global $_registered_pages, $admin_page_hooks, $menu;
_deprecated_function( __FUNCTION__, '1.5', 'Use add_menu_page()' );
$defaults = array(
'access_level' => 2,
'file' => false,
'function' => false,
'icon_url' => false,
'menu_title' => '',
'page_title' => '',
'position' => 100
);
$r = wp_parse_args( $args, $defaults );
extract( $r, EXTR_SKIP );
$file = plugin_basename( $file );
$hookname = get_plugin_page_hookname( $file, '' );
$admin_page_hooks[$file] = sanitize_title( $menu_title );
if ( !empty( $function ) && !empty ( $hookname ) )
add_action( $hookname, $function );
if ( empty( $icon_url ) )
$icon_url = 'images/generic.png';
elseif ( is_ssl() && 0 === strpos( $icon_url, 'http://' ) )
$icon_url = 'https://' . substr( $icon_url, 7 );
do {
$position++;
} while ( !empty( $menu[$position] ) );
$menu[$position] = array ( $menu_title, $access_level, $file, $page_title, 'menu-top ' . $hookname, $hookname, $icon_url );
$_registered_pages[$hookname] = true;
return $hookname;
}
/** Activity ******************************************************************/
function bp_is_activity_permalink() {
_deprecated_function( __FUNCTION__, '1.5', 'bp_is_single_activity' );
bp_is_single_activity();
}
/** Core **********************************************************************/
function bp_core_get_wp_profile() {
_deprecated_function( __FUNCTION__, '1.5' );
global $bp;
$ud = get_userdata( bp_displayed_user_id() ); ?>
<div class="bp-widget wp-profile">
<h4><?php _e( 'My Profile' ) ?></h4>
<table class="wp-profile-fields">
<?php if ( $ud->display_name ) : ?>
<tr id="wp_displayname">
<td class="label"><?php _e( 'Name', 'buddypress' ); ?></td>
<td class="data"><?php echo $ud->display_name; ?></td>
</tr>
<?php endif; ?>
<?php if ( $ud->user_description ) : ?>
<tr id="wp_desc">
<td class="label"><?php _e( 'About Me', 'buddypress' ); ?></td>
<td class="data"><?php echo $ud->user_description; ?></td>
</tr>
<?php endif; ?>
<?php if ( $ud->user_url ) : ?>
<tr id="wp_website">
<td class="label"><?php _e( 'Website', 'buddypress' ); ?></td>
<td class="data"><?php echo make_clickable( $ud->user_url ); ?></td>
</tr>
<?php endif; ?>
<?php if ( $ud->jabber ) : ?>
<tr id="wp_jabber">
<td class="label"><?php _e( 'Jabber', 'buddypress' ); ?></td>
<td class="data"><?php echo $ud->jabber; ?></td>
</tr>
<?php endif; ?>
<?php if ( $ud->aim ) : ?>
<tr id="wp_aim">
<td class="label"><?php _e( 'AOL Messenger', 'buddypress' ); ?></td>
<td class="data"><?php echo $ud->aim; ?></td>
</tr>
<?php endif; ?>
<?php if ( $ud->yim ) : ?>
<tr id="wp_yim">
<td class="label"><?php _e( 'Yahoo Messenger', 'buddypress' ); ?></td>
<td class="data"><?php echo $ud->yim; ?></td>
</tr>
<?php endif; ?>
</table>
</div>
<?php
}
function bp_is_home() {
_deprecated_function( __FUNCTION__, '1.5', 'bp_is_my_profile' );
return bp_is_my_profile();
}
/**
* Is the user on the front page of the site?
*
* @deprecated 1.5
* @deprecated Use is_front_page()
* @return bool
*/
function bp_is_front_page() {
_deprecated_function( __FUNCTION__, '1.5', "is_front_page()" );
return is_front_page();
}
/**
* Is the front page of the site set to the Activity component?
*
* @deprecated 1.5
* @deprecated Use bp_is_component_front_page( 'activity' )
* @return bool
*/
function bp_is_activity_front_page() {
_deprecated_function( __FUNCTION__, '1.5', "bp_is_component_front_page( 'activity' )" );
return bp_is_component_front_page( 'activity' );
}
function bp_is_member() {
_deprecated_function( __FUNCTION__, '1.5', 'bp_is_user' );
return bp_is_user();
}
function bp_loggedinuser_link() {
_deprecated_function( __FUNCTION__, '1.5', 'bp_logged_in_user_link' );
bp_loggedin_user_link();
}
/**
* Only show the search form if there are available objects to search for.
* Deprecated in 1.5; not used anymore.
*
* @return bool
*/
function bp_search_form_enabled() {
_deprecated_function( __FUNCTION__, '1.5', 'No longer required.' );
return apply_filters( 'bp_search_form_enabled', true );
}
/**
* Template tag version of bp_get_page_title()
*
* @deprecated 1.5
* @deprecated Use wp_title()
* @since 1.0
*/
function bp_page_title() {
echo bp_get_page_title();
}
/**
* Prior to BuddyPress 1.5, this was used to generate the page's <title> text.
* Now, just simply use wp_title().
*
* @deprecated 1.5
* @deprecated Use wp_title()
* @since 1.0
*/
function bp_get_page_title() {
_deprecated_function( __FUNCTION__, '1.5', 'wp_title()' );
$title = wp_title( '|', false, 'right' ) . get_bloginfo( 'name', 'display' );
// Backpat for BP 1.2 filter
$title = apply_filters( 'bp_page_title', esc_attr( $title ), esc_attr( $title ) );
return apply_filters( 'bp_get_page_title', $title );
}
/**
* Generate a link to log out. Last used in BP 1.2-beta. You should be using wp_logout_url().
*
* @deprecated 1.5
* @deprecated Use wp_logout_url()
* @since 1.0
*/
function bp_log_out_link() {
_deprecated_function( __FUNCTION__, '1.5', 'wp_logout_url()' );
$logout_link = '<a href="' . wp_logout_url( bp_get_root_domain() ) . '">' . __( 'Log Out', 'buddypress' ) . '</a>';
echo apply_filters( 'bp_logout_link', $logout_link );
}
/**
* Send an email and a BP notification on receipt of an @-mention in a group
*
* @deprecated 1.5
* @deprecated Deprecated in favor of the more general bp_activity_at_message_notification()
*/
function groups_at_message_notification( $content, $poster_user_id, $group_id, $activity_id ) {
global $bp;
_deprecated_function( __FUNCTION__, '1.5', 'bp_activity_at_message_notification()' );
/* Scan for @username strings in an activity update. Notify each user. */
$pattern = '/[@]+([A-Za-z0-9-_\.@]+)/';
preg_match_all( $pattern, $content, $usernames );
/* Make sure there's only one instance of each username */
if ( !$usernames = array_unique( $usernames[1] ) )
return false;
$group = new BP_Groups_Group( $group_id );
foreach( (array) $usernames as $username ) {
if ( !$receiver_user_id = bp_core_get_userid( $username ) )
continue;
/* Check the user is a member of the group before sending the update. */
if ( !groups_is_user_member( $receiver_user_id, $group_id ) )
continue;
// Now email the user with the contents of the message (if they have enabled email notifications)
if ( 'no' != bp_get_user_meta( $receiver_user_id, 'notification_activity_new_mention', true ) ) {
$poster_name = bp_core_get_user_displayname( $poster_user_id );
$message_link = bp_activity_get_permalink( $activity_id );
$settings_slug = function_exists( 'bp_get_settings_slug' ) ? bp_get_settings_slug() : 'settings';
$settings_link = bp_core_get_user_domain( $receiver_user_id ) . $settings_slug . '/notifications/';
$poster_name = stripslashes( $poster_name );
$content = bp_groups_filter_kses( stripslashes( $content ) );
// Set up and send the message
$ud = bp_core_get_core_userdata( $receiver_user_id );
$to = $ud->user_email;
$sitename = wp_specialchars_decode( get_blog_option( bp_get_root_blog_id(), 'blogname' ), ENT_QUOTES );
$subject = '[' . $sitename . '] ' . sprintf( __( '%1$s mentioned you in the group "%2$s"', 'buddypress' ), $poster_name, $group->name );
$message = sprintf( __(
'%1$s mentioned you in the group "%2$s":
"%3$s"
To view and respond to the message, log in and visit: %4$s
---------------------
', 'buddypress' ), $poster_name, $group->name, $content, $message_link );
$message .= sprintf( __( 'To disable these notifications please log in and go to: %s', 'buddypress' ), $settings_link );
/* Send the message */
$to = apply_filters( 'groups_at_message_notification_to', $to );
$subject = apply_filters( 'groups_at_message_notification_subject', $subject, $group, $poster_name );
$message = apply_filters( 'groups_at_message_notification_message', $message, $group, $poster_name, $content, $message_link, $settings_link );
wp_mail( $to, $subject, $message );
}
}
do_action( 'bp_groups_sent_mention_email', $usernames, $subject, $message, $content, $poster_user_id, $group_id, $activity_id );
}
/**
* BP 1.5 simplified notification functions a bit
*/
function bp_core_delete_notifications_for_user_by_type( $user_id, $component_name, $component_action ) {
_deprecated_function( __FUNCTION__, '1.5', 'bp_core_delete_notifications_by_type()' );
return BP_Core_Notification::delete_for_user_by_type( $user_id, $component_name, $component_action );
}
function bp_core_delete_notifications_for_user_by_item_id( $user_id, $item_id, $component_name, $component_action, $secondary_item_id = false ) {
_deprecated_function( __FUNCTION__, '1.5', 'bp_core_delete_notifications_by_item_id()' );
return BP_Core_Notification::delete_for_user_by_item_id( $user_id, $item_id, $component_name, $component_action, $secondary_item_id );
}
/**
* In BP 1.5, these functions were renamed for greater consistency
*/
function bp_forum_directory_permalink() {
_deprecated_function( __FUNCTION__, '1.5', 'bp_forums_directory_permalink()' );
bp_forums_directory_permalink();
}
function bp_get_forum_directory_permalink() {
_deprecated_function( __FUNCTION__, '1.5', 'bp_get_forums_directory_permalink()' );
return bp_get_forums_directory_permalink();
}
/**
* Last used by core in BP 1.1. The markup was merged into DTheme's header.php template.
*/
function bp_search_form() {
_deprecated_function( __FUNCTION__, '1.1', 'No longer required.' );
$form = '
<form action="' . bp_search_form_action() . '" method="post" id="search-form">
<input type="text" id="search-terms" name="search-terms" value="" />
' . bp_search_form_type_select() . '
<input type="submit" name="search-submit" id="search-submit" value="' . __( 'Search', 'buddypress' ) . '" />
' . wp_nonce_field( 'bp_search_form' ) . '
</form>
';
echo apply_filters( 'bp_search_form', $form );
}
/**
* Some _is_ function had their names normalized
*/
function bp_is_profile_edit() {
_deprecated_function( __FUNCTION__, '1.5', 'bp_is_user_profile_edit()' );
return bp_is_user_profile_edit();
}
function bp_is_change_avatar() {
_deprecated_function( __FUNCTION__, '1.5', 'bp_is_user_change_avatar()' );
return bp_is_user_change_avatar();
}
function bp_is_friend_requests() {
_deprecated_function( __FUNCTION__, '1.5', 'bp_is_user_friend_requests()' );
return bp_is_user_friend_requests();
}
/**
* Checks to see if a component's URL should be in the root, not under a member page:
* eg: http://domain.com/groups/the-group NOT http://domain.com/members/andy/groups/the-group
* You should be using bp_is_root_component().
*
* @deprecated 1.5
* @deprecated bp_is_root_component()
* @return true if root component, else false.
*/
function bp_core_is_root_component( $component_name ) {
_deprecated_function( __FUNCTION__, '1.5', 'bp_is_root_component()' );
return bp_is_root_component( $component_name );
}
/** Theme *********************************************************************/
/**
* Contains functions which were moved out of BP-Default's functions.php
* in BuddyPress 1.5.
*
* @since BuddyPress (1.5)
*/
function bp_dtheme_deprecated() {
if ( !function_exists( 'bp_dtheme_wp_pages_filter' ) ) :
/**
* In BuddyPress 1.2.x, this function filtered the dropdown on the
* Settings > Reading screen for selecting the page to show on front to
* include "Activity Stream." As of 1.5.x, it is no longer required.
*
* @deprecated 1.5
* @deprecated No longer required.
* @param string $page_html A list of pages as a dropdown (select list)
* @return string
* @see wp_dropdown_pages()
* @since 1.2
*/
function bp_dtheme_wp_pages_filter( $page_html ) {
_deprecated_function( __FUNCTION__, '1.5', "No longer required." );
return $page_html;
}
endif;
if ( !function_exists( 'bp_dtheme_page_on_front_update' ) ) :
/**
* In BuddyPress 1.2.x, this function hijacked the saving of page on front setting to save the activity stream setting.
* As of 1.5.x, it is no longer required.
*
* @deprecated 1.5
* @deprecated No longer required.
* @param $string $oldvalue Previous value of get_option( 'page_on_front' )
* @param $string $oldvalue New value of get_option( 'page_on_front' )
* @return string
* @since 1.2
*/
function bp_dtheme_page_on_front_update( $oldvalue, $newvalue ) {
_deprecated_function( __FUNCTION__, '1.5', "No longer required." );
if ( !is_admin() || !bp_current_user_can( 'bp_moderate' ) )
return false;
return $oldvalue;
}
endif;
if ( !function_exists( 'bp_dtheme_page_on_front_template' ) ) :
/**
* In BuddyPress 1.2.x, this function loaded the activity stream template if the front page display settings allow.
* As of 1.5.x, it is no longer required.
*
* @deprecated 1.5
* @deprecated No longer required.
* @param string $template Absolute path to the page template
* @return string
* @since 1.2
*/
function bp_dtheme_page_on_front_template( $template ) {
_deprecated_function( __FUNCTION__, '1.5', "No longer required." );
return $template;
}
endif;
if ( !function_exists( 'bp_dtheme_fix_get_posts_on_activity_front' ) ) :
/**
* In BuddyPress 1.2.x, this forced the page ID as a string to stop the get_posts query from kicking up a fuss.
* As of 1.5.x, it is no longer required.
*
* @deprecated 1.5
* @deprecated No longer required.
* @since 1.2
*/
function bp_dtheme_fix_get_posts_on_activity_front() {
_deprecated_function( __FUNCTION__, '1.5', "No longer required." );
}
endif;
if ( !function_exists( 'bp_dtheme_fix_the_posts_on_activity_front' ) ) :
/**
* In BuddyPress 1.2.x, this was used as part of the code that set the activity stream to be on the front page.
* As of 1.5.x, it is no longer required.
*
* @deprecated 1.5
* @deprecated No longer required.
* @param array $posts Posts as retrieved by WP_Query
* @return array
* @since 1.2.5
*/
function bp_dtheme_fix_the_posts_on_activity_front( $posts ) {
_deprecated_function( __FUNCTION__, '1.5', "No longer required." );
return $posts;
}
endif;
if ( !function_exists( 'bp_dtheme_add_blog_comments_js' ) ) :
/**
* In BuddyPress 1.2.x, this added the javascript needed for blog comment replies.
* As of 1.5.x, we recommend that you enqueue the comment-reply javascript in your theme's header.php.
*
* @deprecated 1.5
* @deprecated Enqueue the comment-reply script in your theme's header.php.
* @since 1.2
*/
function bp_dtheme_add_blog_comments_js() {
_deprecated_function( __FUNCTION__, '1.5', "Enqueue the comment-reply script in your theme's header.php." );
if ( is_singular() && bp_is_blog_page() && get_option( 'thread_comments' ) )
wp_enqueue_script( 'comment-reply' );
}
endif;
}
add_action( 'after_setup_theme', 'bp_dtheme_deprecated', 15 );
/**
* In BP 1.5, the Settings functions were moved out of the Core and Members
* components, and moved into a new Settings component. This function is no
* longer needed as the nav structure is set up by the {@link BP_Component} class.
*
* @deprecated BuddyPress (1.5)
* @since BuddyPress (1.6)
*/
function bp_core_add_settings_nav() {
_deprecated_function( __FUNCTION__, '1.5' );
}
/**
* In BP 1.5, the Settings functions were moved out of the Core and Members
* components, and moved into a new Settings component. This function is no
* longer needed as new template files for the Settings component were
* introduced.
*
* @deprecated BuddyPress (1.5)
* @since BuddyPress (1.6)
*/
function bp_core_screen_general_settings() {
_deprecated_function( __FUNCTION__, '1.5', 'Moved into theme template' );
}
/**
* In BP 1.5, the Settings functions were moved out of the Core and Members
* components, and moved into a new Settings component. This function is no
* longer needed as new template files for the Settings component were
* introduced.
*
* @deprecated BuddyPress (1.5)
* @since BuddyPress (1.6)
*/
function bp_core_screen_general_settings_title() {
_deprecated_function( __FUNCTION__, '1.5', 'Moved into theme template' );
}
/**
* In BP 1.5, the Settings functions were moved out of the Core and Members
* components, and moved into a new Settings component. This function is no
* longer needed as new template files for the Settings component were
* introduced.
*
* @deprecated BuddyPress (1.5)
* @since BuddyPress (1.6)
*/
function bp_core_screen_general_settings_content() {
_deprecated_function( __FUNCTION__, '1.5', 'Moved into theme template' );
}
/**
* In BP 1.5, the Settings functions were moved out of the Core and Members
* components, and moved into a new Settings component. This function is no
* longer needed as new template files for the Settings component were
* introduced.
*
* @deprecated BuddyPress (1.5)
* @since BuddyPress (1.6)
*/
function bp_core_screen_notification_settings() {
_deprecated_function( __FUNCTION__, '1.5', 'Moved into theme template' );
}
/**
* In BP 1.5, the Settings functions were moved out of the Core and Members
* components, and moved into a new Settings component. This function is no
* longer needed as new template files for the Settings component were
* introduced.
*
* @deprecated BuddyPress (1.5)
* @since BuddyPress (1.6)
*/
function bp_core_screen_notification_settings_title() {
_deprecated_function( __FUNCTION__, '1.5', 'Moved into theme template' );
}
/**
* In BP 1.5, the Settings functions were moved out of the Core and Members
* components, and moved into a new Settings component. This function is no
* longer needed as new template files for the Settings component were
* introduced.
*
* @deprecated BuddyPress (1.5)
* @since BuddyPress (1.6)
*/
function bp_core_screen_notification_settings_content() {
_deprecated_function( __FUNCTION__, '1.5', 'Moved into theme template' );
}
/**
* In BP 1.5, the Settings functions were moved out of the Core and Members
* components, and moved into a new Settings component. This function is no
* longer needed as new template files for the Settings component were
* introduced.
*
* @deprecated BuddyPress (1.5)
* @since BuddyPress (1.6)
*/
function bp_core_screen_delete_account() {
_deprecated_function( __FUNCTION__, '1.5', 'Moved into theme template' );
}
/**
* In BP 1.5, the Settings functions were moved out of the Core and Members
* components, and moved into a new Settings component. This function is no
* longer needed as new template files for the Settings component were
* introduced.
*
* @deprecated BuddyPress (1.5)
* @since BuddyPress (1.6)
*/
function bp_core_screen_delete_account_title() {
_deprecated_function( __FUNCTION__, '1.5', 'Moved into theme template' );
}
/**
* In BP 1.5, the Settings functions were moved out of the Core and Members
* components, and moved into a new Settings component. This function is no
* longer needed as new template files for the Settings component were
* introduced.
*
* @deprecated BuddyPress (1.5)
* @since BuddyPress (1.6)
*/
function bp_core_screen_delete_account_content() {
_deprecated_function( __FUNCTION__, '1.5', 'Moved into theme template' );
}
?>