Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
03/08/2011 06:35:03 AM (14 years ago)
Author:
johnjamesjacoby
Message:

More auditing of _slug and _root_slug functions.

Introduce functions for updating '$bp->is_' globals to prevent loading $bp global in several functions.

Various phpDoc fixes and whitespace clean-up. (1.3 trunk)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-blogs/bp-blogs-screens.php

    r3917 r4088  
    11<?php
    2 
    3 /******************************************************************************
    4  * Screen functions are the controllers of BuddyPress. They will execute when their
    5  * specific URL is caught. They will first save or manipulate data using business
    6  * functions, then pass on the user to a template file.
    7  */
    82
    93function bp_blogs_screen_my_blogs() {
     
    3024
    3125function bp_blogs_screen_index() {
    32     global $bp;
    33 
    3426    if ( is_multisite() && bp_is_blogs_component() && !bp_current_action() ) {
    35         $bp->is_directory = true;
     27        bp_update_is_directory( true, 'blogs' );
    3628
    3729        do_action( 'bp_blogs_screen_index' );
Note: See TracChangeset for help on using the changeset viewer.