Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
10/22/2012 08:00:13 AM (12 years ago)
Author:
johnjamesjacoby
Message:

Activate and Sign-up:

  • Resurrect bp_has_custom_activation_page() from 1.6 deprecation.
  • Use bp_has_custom_activation_page() similarly to bp_has_custom_signup_page().
  • Use static variable to prevent repeating logic multiple times per page load.
  • Add phpdoc blocks.
  • Use bp_locate_template() in bp_has_custom_activation_page() and bp_has_custom_signup_page() to more easily find whether a file exists in the correct location to provide template output.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/deprecated/1.6.php

    r6342 r6448  
    8080function bp_core_add_ajax_hook() {
    8181    _deprecated_function( __FUNCTION__, '1.6', 'No longer used' );
    82 }
    83 
    84 /**
    85  * Members functions
    86  */
    87 
    88 /**
    89  * @deprecated 1.6
    90  * @deprecated No longer used. Check for $bp->pages->activate->slug instead.
    91  */
    92 function bp_has_custom_activation_page() {
    93     _deprecated_function( __FUNCTION__, '1.6' );
    9482}
    9583
Note: See TracChangeset for help on using the changeset viewer.