Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
06/23/2016 06:31:58 AM (6 years ago)
Author:
tw2113
Message:

Many PHPDocs cleanup for Core component.

See #6398.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-core/bp-core-update.php

    r10825 r10899  
    140140 *
    141141 * @since 1.6.0
    142  *
    143142 */
    144143function bp_version_bump() {
     
    196195    $switched_to_root_blog = false;
    197196
    198     // Make sure the current blog is set to the root blog
     197    // Make sure the current blog is set to the root blog.
    199198    if ( ! bp_is_root_blog() ) {
    200199        switch_to_blog( bp_get_root_blog_id() );
     
    219218        bp_core_install();
    220219
    221         // 1.5.0
     220        // Version 1.5.0.
    222221        if ( $raw_db_version < 1801 ) {
    223222            bp_update_to_1_5();
     
    225224        }
    226225
    227         // 1.6.0
     226        // Version 1.6.0.
    228227        if ( $raw_db_version < 6067 ) {
    229228            bp_update_to_1_6();
    230229        }
    231230
    232         // 1.9.0
     231        // Version 1.9.0.
    233232        if ( $raw_db_version < 7553 ) {
    234233            bp_update_to_1_9();
    235234        }
    236235
    237         // 1.9.2
     236        // Version 1.9.2.
    238237        if ( $raw_db_version < 7731 ) {
    239238            bp_update_to_1_9_2();
    240239        }
    241240
    242         // 2.0.0
     241        // Version 2.0.0.
    243242        if ( $raw_db_version < 7892 ) {
    244243            bp_update_to_2_0();
    245244        }
    246245
    247         // 2.0.1
     246        // Version 2.0.1.
    248247        if ( $raw_db_version < 8311 ) {
    249248            bp_update_to_2_0_1();
    250249        }
    251250
    252         // 2.2.0
     251        // Version 2.2.0.
    253252        if ( $raw_db_version < 9181 ) {
    254253            bp_update_to_2_2();
    255254        }
    256255
    257         // 2.3.0
     256        // Version 2.3.0.
    258257        if ( $raw_db_version < 9615 ) {
    259258            bp_update_to_2_3();
    260259        }
    261260
    262         // 2.5.0
     261        // Version 2.5.0.
    263262        if ( $raw_db_version < 10440 ) {
    264263            bp_update_to_2_5();
     
    332331
    333332/**
    334  * Remove unused metadata from database when upgrading from < 1.6.
     333 * Remove unused metadata from database when upgrading from < 1.6.0.
    335334 *
    336335 * Database update methods based on version numbers.
     
    381380
    382381/**
    383  * Perform database updates for BP 1.9.2
     382 * Perform database updates for BP 1.9.2.
    384383 *
    385384 * In 1.9, BuddyPress stopped registering its theme directory when it detected
     
    441440 *
    442441 * @since 2.0.1
    443  *
    444  * @return void
    445442 */
    446443function bp_update_to_2_0_1() {
     
    540537 *
    541538 * @since 2.2.0
    542  *
    543539 */
    544540function bp_cleanup_friendship_activities() {
     
    556552 *
    557553 * @internal Used internally to redirect BuddyPress to the about page on activation.
    558  *
    559554 */
    560555function bp_add_activation_redirect() {
     
    625620 *
    626621 * @since 1.6.0
    627  *
    628622 */
    629623function bp_activation() {
     
    638632     * Fires during the activation of BuddyPress.
    639633     *
    640      * Use as of (1.6.0)
     634     * Use as of 1.6.0.
    641635     *
    642636     * @since 1.6.0
     
    644638    do_action( 'bp_activation' );
    645639
    646     // @deprecated as of (1.6)
     640    // @deprecated as of 1.6.0
    647641    do_action( 'bp_loader_activate' );
    648642}
     
    654648 *
    655649 * @since 1.6.0
    656  *
    657650 */
    658651function bp_deactivation() {
     
    672665     * Fires during the deactivation of BuddyPress.
    673666     *
    674      * Use as of (1.6.0)
     667     * Use as of 1.6.0.
    675668     *
    676669     * @since 1.6.0
     
    678671    do_action( 'bp_deactivation' );
    679672
    680     // @deprecated as of (1.6)
     673    // @deprecated as of 1.6.0
    681674    do_action( 'bp_loader_deactivate' );
    682675}
     
    688681 *
    689682 * @since 1.6.0
    690  *
    691683 */
    692684function bp_uninstall() {
Note: See TracChangeset for help on using the changeset viewer.