[ 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 favor 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(
 359                  array(
 360                      'text' => sprintf(
 361                          /* translators: 1: the poster name. 2: the group name. */
 362                          _x( '%1$s mentioned you in the group "%2$s"', 'deprecated string', 'buddypress' ),
 363                          $poster_name,
 364                          $group->name
 365                      )
 366                  )
 367              );
 368  
 369  /* translators: 1: the poster name. 2: the group name. 3: the content of the activity. 4: the activity permalink. */
 370  $message = sprintf( _x(
 371  '%1$s mentioned you in the group "%2$s":
 372  
 373  "%3$s"
 374  
 375  To view and respond to the message, log in and visit: %4$s
 376  
 377  ---------------------
 378  ', 'deprecated string', 'buddypress' ), $poster_name, $group->name, $content, $message_link );
 379  
 380              /* Send the message */
 381              $to = apply_filters( 'groups_at_message_notification_to', $to );
 382              $subject = apply_filters( 'groups_at_message_notification_subject', $subject, $group, $poster_name );
 383              $message = apply_filters( 'groups_at_message_notification_message', $message, $group, $poster_name, $content, $message_link, $settings_link );
 384  
 385              wp_mail( $to, $subject, $message );
 386          }
 387      }
 388  
 389      do_action( 'bp_groups_sent_mention_email', $usernames, $subject, $message, $content, $poster_user_id, $group_id, $activity_id );
 390  }
 391  
 392  /**
 393   * BP 1.5 simplified notification functions a bit
 394   * @deprecated 1.5.0
 395   *
 396   * @return mixed
 397   */
 398  function bp_core_delete_notifications_for_user_by_type( $user_id, $component_name, $component_action ) {
 399      _deprecated_function( __FUNCTION__, '1.5', 'bp_core_delete_notifications_by_type()' );
 400      return BP_Core_Notification::delete_for_user_by_type( $user_id, $component_name, $component_action );
 401  }
 402  
 403  /**
 404   * @return mixed
 405   */
 406  function bp_core_delete_notifications_for_user_by_item_id( $user_id, $item_id, $component_name, $component_action, $secondary_item_id = false ) {
 407      _deprecated_function( __FUNCTION__, '1.5', 'bp_core_delete_notifications_by_item_id()' );
 408      return BP_Core_Notification::delete_for_user_by_item_id( $user_id, $item_id, $component_name, $component_action, $secondary_item_id );
 409  }
 410  
 411  /**
 412   * Last used by core in BP 1.1. The markup was merged into DTheme's header.php template.
 413   * @deprecated 1.5.0
 414   */
 415  function bp_search_form() {
 416      _deprecated_function( __FUNCTION__, '1.1', 'No longer required.' );
 417  
 418      $form = '
 419          <form action="' . bp_search_form_action() . '" method="post" id="search-form">
 420              <input type="text" id="search-terms" name="search-terms" value="" />
 421              ' . bp_search_form_type_select() . '
 422  
 423              <input type="submit" name="search-submit" id="search-submit" value="' . __( 'Search', 'buddypress' ) . '" />
 424              ' . wp_nonce_field( 'bp_search_form' ) . '
 425          </form>
 426      ';
 427  
 428      echo apply_filters( 'bp_search_form', $form );
 429  }
 430  
 431  /**
 432   * Some _is_ function had their names normalized
 433   * @deprecated 1.5.0
 434   */
 435  function bp_is_profile_edit() {
 436      _deprecated_function( __FUNCTION__, '1.5', 'bp_is_user_profile_edit()' );
 437      return bp_is_user_profile_edit();
 438  }
 439  
 440  /**
 441   * @deprecated 1.5.0
 442   */
 443  function bp_is_change_avatar() {
 444      _deprecated_function( __FUNCTION__, '1.5', 'bp_is_user_change_avatar()' );
 445      return bp_is_user_change_avatar();
 446  }
 447  
 448  /**
 449   * @deprecated 1.5.0
 450   */
 451  function bp_is_friend_requests() {
 452      _deprecated_function( __FUNCTION__, '1.5', 'bp_is_user_friend_requests()' );
 453      return bp_is_user_friend_requests();
 454  }
 455  
 456  /**
 457   * Checks to see if a component's URL should be in the root, not under a member page:
 458   * eg: http://example.com/groups/the-group NOT http://example.com/members/andy/groups/the-group
 459   * You should be using bp_is_root_component().
 460   *
 461   * @deprecated 1.5.0
 462   * @deprecated bp_is_root_component()
 463   * @return bool True if root component, else false.
 464   */
 465  function bp_core_is_root_component( $component_name ) {
 466      _deprecated_function( __FUNCTION__, '1.5', 'bp_is_root_component()' );
 467      return bp_is_root_component( $component_name );
 468  }
 469  
 470  /** Theme *********************************************************************/
 471  
 472  /**
 473   * Contains functions which were moved out of BP-Default's functions.php
 474   * in BuddyPress 1.5.
 475   *
 476   * @deprecated 1.5.0
 477   * @since 1.5.0
 478   */
 479  function bp_dtheme_deprecated() {
 480      if ( !function_exists( 'bp_dtheme_wp_pages_filter' ) ) :
 481      /**
 482       * In BuddyPress 1.2.x, this function filtered the dropdown on the
 483       * Settings > Reading screen for selecting the page to show on front to
 484       * include "Activity Stream." As of 1.5.x, it is no longer required.
 485       *
 486       * @deprecated 1.5.0
 487       * @deprecated No longer required.
 488       * @param string $page_html A list of pages as a dropdown (select list)
 489       * @return string
 490       * @see wp_dropdown_pages()
 491       * @since 1.2.0
 492       */
 493  	function bp_dtheme_wp_pages_filter( $page_html ) {
 494          _deprecated_function( __FUNCTION__, '1.5', "No longer required." );
 495          return $page_html;
 496      }
 497      endif;
 498  
 499      if ( !function_exists( 'bp_dtheme_page_on_front_update' ) ) :
 500      /**
 501       * In BuddyPress 1.2.x, this function hijacked the saving of page on front setting to save the activity stream setting.
 502       * As of 1.5.x, it is no longer required.
 503       *
 504       * @deprecated 1.5.0
 505       * @deprecated No longer required.
 506       * @param string $oldvalue Previous value of get_option( 'page_on_front' )
 507       * @param string $oldvalue New value of get_option( 'page_on_front' )
 508       * @return false|string
 509       * @since 1.2.0
 510       */
 511  	function bp_dtheme_page_on_front_update( $oldvalue, $newvalue ) {
 512          _deprecated_function( __FUNCTION__, '1.5', "No longer required." );
 513          if ( !is_admin() || !bp_current_user_can( 'bp_moderate' ) )
 514              return false;
 515  
 516          return $oldvalue;
 517      }
 518      endif;
 519  
 520      if ( !function_exists( 'bp_dtheme_page_on_front_template' ) ) :
 521      /**
 522       * In BuddyPress 1.2.x, this function loaded the activity stream template if the front page display settings allow.
 523       * As of 1.5.x, it is no longer required.
 524       *
 525       * @deprecated 1.5.0
 526       * @deprecated No longer required.
 527       * @param string $template Absolute path to the page template
 528       * @return string
 529       * @since 1.2.0
 530       */
 531  	function bp_dtheme_page_on_front_template( $template ) {
 532          _deprecated_function( __FUNCTION__, '1.5', "No longer required." );
 533          return $template;
 534      }
 535      endif;
 536  
 537      if ( !function_exists( 'bp_dtheme_fix_get_posts_on_activity_front' ) ) :
 538      /**
 539       * In BuddyPress 1.2.x, this forced the page ID as a string to stop the get_posts query from kicking up a fuss.
 540       * As of 1.5.x, it is no longer required.
 541       *
 542       * @deprecated 1.5.0
 543       * @deprecated No longer required.
 544       * @since 1.2.0
 545       */
 546  	function bp_dtheme_fix_get_posts_on_activity_front() {
 547          _deprecated_function( __FUNCTION__, '1.5', "No longer required." );
 548      }
 549      endif;
 550  
 551      if ( !function_exists( 'bp_dtheme_fix_the_posts_on_activity_front' ) ) :
 552      /**
 553       * In BuddyPress 1.2.x, this was used as part of the code that set the activity stream to be on the front page.
 554       * As of 1.5.x, it is no longer required.
 555       *
 556       * @deprecated 1.5.0
 557       * @deprecated No longer required.
 558       * @param array $posts Posts as retrieved by WP_Query
 559       * @return array
 560       * @since 1.2.5
 561       */
 562  	function bp_dtheme_fix_the_posts_on_activity_front( $posts ) {
 563          _deprecated_function( __FUNCTION__, '1.5', "No longer required." );
 564          return $posts;
 565      }
 566      endif;
 567  
 568      if ( !function_exists( 'bp_dtheme_add_blog_comments_js' ) ) :
 569      /**
 570       * In BuddyPress 1.2.x, this added the JavaScript needed for blog comment replies.
 571       * As of 1.5.x, we recommend that you enqueue the comment-reply JavaScript in your theme's header.php.
 572       *
 573       * @deprecated 1.5.0
 574       * @deprecated Enqueue the comment-reply script in your theme's header.php.
 575       * @since 1.2.0
 576       */
 577  	function bp_dtheme_add_blog_comments_js() {
 578          _deprecated_function( __FUNCTION__, '1.5', "Enqueue the comment-reply script in your theme's header.php." );
 579          if ( is_singular() && bp_is_blog_page() && get_option( 'thread_comments' ) )
 580              wp_enqueue_script( 'comment-reply' );
 581      }
 582      endif;
 583  }
 584  add_action( 'after_setup_theme', 'bp_dtheme_deprecated', 15 );
 585  
 586  /**
 587   * In BP 1.5, the Settings functions were moved out of the Core and Members
 588   * components, and moved into a new Settings component. This function is no
 589   * longer needed as the nav structure is set up by the {@link BP_Component} class.
 590   *
 591   * @deprecated 1.5.0
 592   * @since 1.6.0
 593   */
 594  function bp_core_add_settings_nav() {
 595      _deprecated_function( __FUNCTION__, '1.5' );
 596  }
 597  
 598  /**
 599   * In BP 1.5, the Settings functions were moved out of the Core and Members
 600   * components, and moved into a new Settings component. This function is no
 601   * longer needed as new template files for the Settings component were
 602   * introduced.
 603   *
 604   * @deprecated 1.5.0
 605   * @since 1.6.0
 606   */
 607  function bp_core_screen_general_settings() {
 608      _deprecated_function( __FUNCTION__, '1.5', 'Moved into theme template' );
 609  }
 610  
 611  /**
 612   * In BP 1.5, the Settings functions were moved out of the Core and Members
 613   * components, and moved into a new Settings component. This function is no
 614   * longer needed as new template files for the Settings component were
 615   * introduced.
 616   *
 617   * @deprecated 1.5.0
 618   * @since 1.6.0
 619   */
 620  function bp_core_screen_general_settings_title() {
 621      _deprecated_function( __FUNCTION__, '1.5', 'Moved into theme template' );
 622  }
 623  
 624  /**
 625   * In BP 1.5, the Settings functions were moved out of the Core and Members
 626   * components, and moved into a new Settings component. This function is no
 627   * longer needed as new template files for the Settings component were
 628   * introduced.
 629   *
 630   * @deprecated 1.5.0
 631   * @since 1.6.0
 632   */
 633  function bp_core_screen_general_settings_content() {
 634      _deprecated_function( __FUNCTION__, '1.5', 'Moved into theme template' );
 635  }
 636  
 637  /**
 638   * In BP 1.5, the Settings functions were moved out of the Core and Members
 639   * components, and moved into a new Settings component. This function is no
 640   * longer needed as new template files for the Settings component were
 641   * introduced.
 642   *
 643   * @deprecated 1.5.0
 644   * @since 1.6.0
 645   */
 646  function bp_core_screen_notification_settings() {
 647      _deprecated_function( __FUNCTION__, '1.5', 'Moved into theme template' );
 648  }
 649  
 650  /**
 651   * In BP 1.5, the Settings functions were moved out of the Core and Members
 652   * components, and moved into a new Settings component. This function is no
 653   * longer needed as new template files for the Settings component were
 654   * introduced.
 655   *
 656   * @deprecated 1.5.0
 657   * @since 1.6.0
 658   */
 659  function bp_core_screen_notification_settings_title() {
 660      _deprecated_function( __FUNCTION__, '1.5', 'Moved into theme template' );
 661  }
 662  
 663  /**
 664   * In BP 1.5, the Settings functions were moved out of the Core and Members
 665   * components, and moved into a new Settings component. This function is no
 666   * longer needed as new template files for the Settings component were
 667   * introduced.
 668   *
 669   * @deprecated 1.5.0
 670   * @since 1.6.0
 671   */
 672  function bp_core_screen_notification_settings_content() {
 673      _deprecated_function( __FUNCTION__, '1.5', 'Moved into theme template' );
 674  }
 675  
 676  /**
 677   * In BP 1.5, the Settings functions were moved out of the Core and Members
 678   * components, and moved into a new Settings component. This function is no
 679   * longer needed as new template files for the Settings component were
 680   * introduced.
 681   *
 682   * @deprecated 1.5.0
 683   * @since 1.6.0
 684   */
 685  function bp_core_screen_delete_account() {
 686      _deprecated_function( __FUNCTION__, '1.5', 'Moved into theme template' );
 687  }
 688  
 689  /**
 690   * In BP 1.5, the Settings functions were moved out of the Core and Members
 691   * components, and moved into a new Settings component. This function is no
 692   * longer needed as new template files for the Settings component were
 693   * introduced.
 694   *
 695   * @deprecated 1.5.0
 696   * @since 1.6.0
 697   */
 698  function bp_core_screen_delete_account_title() {
 699      _deprecated_function( __FUNCTION__, '1.5', 'Moved into theme template' );
 700  }
 701  
 702  /**
 703   * In BP 1.5, the Settings functions were moved out of the Core and Members
 704   * components, and moved into a new Settings component. This function is no
 705   * longer needed as new template files for the Settings component were
 706   * introduced.
 707   *
 708   * @deprecated 1.5.0
 709   * @since 1.6.0
 710   */
 711  function bp_core_screen_delete_account_content() {
 712      _deprecated_function( __FUNCTION__, '1.5', 'Moved into theme template' );
 713  }


Generated: Sun Jul 5 01:02:21 2020 Cross-referenced by PHPXref 0.7.1