[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

/src/bp-core/deprecated/ -> 1.5.php (source)

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


Generated: Sat Sep 21 01:01:46 2019 Cross-referenced by PHPXref 0.7.1