Skip to:
Content

BuddyPress.org

Changeset 2308


Ignore:
Timestamp:
01/15/2010 01:04:38 PM (15 years ago)
Author:
apeatling
Message:

Fixes #1603

Location:
trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core.php

    r2289 r2308  
    19711971}
    19721972
    1973 // List actions to clear object caches on
    1974 add_action( 'bp_core_delete_avatar', 'bp_core_clear_user_object_cache' );
    1975 add_action( 'bp_core_avatar_save', 'bp_core_clear_user_object_cache' );
    1976 
    19771973// List actions to clear super cached pages on, if super cache is installed
    19781974add_action( 'wp_login', 'bp_core_clear_cache' );
    1979 add_action( 'bp_core_delete_avatar', 'bp_core_clear_cache' );
    1980 add_action( 'bp_core_avatar_save', 'bp_core_clear_cache' );
    19811975add_action( 'bp_core_render_notice', 'bp_core_clear_cache' );
    19821976
  • trunk/bp-themes/bp-default/blogs/create.php

    r2302 r2308  
    88        <?php do_action( 'template_notices' ) ?>
    99
    10         <h2><?php _e( 'Create a Blog', 'buddypress' ) ?> &nbsp;<a class="button" href="<?php bp_root_domain() . '/' . BP_BLOGS_SLUG . '/' ?>"><?php _e( 'Blogs Directory', 'buddypress' ) ?></a></h2>
     10        <h2><?php _e( 'Create a Blog', 'buddypress' ) ?> &nbsp;<a class="button" href="<?php echo bp_get_root_domain() . '/' . BP_BLOGS_SLUG . '/' ?>"><?php _e( 'Blogs Directory', 'buddypress' ) ?></a></h2>
    1111
    1212        <?php do_action( 'bp_before_create_blog_content' ) ?>
  • trunk/bp-themes/bp-default/blogs/index.php

    r2302 r2308  
    66        <form action="" method="post" id="blogs-directory-form" class="dir-form">
    77
    8             <h2><?php _e( 'Blogs Directory', 'buddypress' ) ?><?php if ( is_user_logged_in() && bp_blog_signup_enabled() ) : ?> &nbsp;<a class="button" href="<?php bp_root_domain() . '/' . BP_BLOGS_SLUG . '/create/' ?>"><?php _e( 'Create a Blog', 'buddypress' ) ?></a><?php endif; ?></h2>
     8            <h2><?php _e( 'Blogs Directory', 'buddypress' ) ?><?php if ( is_user_logged_in() && bp_blog_signup_enabled() ) : ?> &nbsp;<a class="button" href="<?php echo bp_get_root_domain() . '/' . BP_BLOGS_SLUG . '/create/' ?>"><?php _e( 'Create a Blog', 'buddypress' ) ?></a><?php endif; ?></h2>
    99
    1010            <?php do_action( 'bp_before_directory_blogs_content' ) ?>
  • trunk/bp-themes/bp-default/groups/create.php

    r2302 r2308  
    55
    66        <form action="<?php bp_group_creation_form_action() ?>" method="post" id="create-group-form" class="standard-form" enctype="multipart/form-data">
    7             <h2><?php _e( 'Create a Group', 'buddypress' ) ?> &nbsp;<a class="button" href="<?php bp_root_domain() . '/' . BP_GROUPS_SLUG . '/' ?>"><?php _e( 'Groups Directory', 'buddypress' ) ?></a></h2>
     7            <h2><?php _e( 'Create a Group', 'buddypress' ) ?> &nbsp;<a class="button" href="<?php echo bp_get_root_domain() . '/' . BP_GROUPS_SLUG . '/' ?>"><?php _e( 'Groups Directory', 'buddypress' ) ?></a></h2>
    88
    99            <?php do_action( 'bp_before_create_group' ) ?>
  • trunk/bp-themes/bp-default/groups/index.php

    r2302 r2308  
    55
    66        <form action="" method="post" id="groups-directory-form" class="dir-form">
    7             <h2><?php _e( 'Groups Directory', 'buddypress' ) ?><?php if ( is_user_logged_in() ) : ?> &nbsp;<a class="button" href="<?php bp_root_domain() . '/' . BP_GROUPS_SLUG . '/create/' ?>"><?php _e( 'Create a Group', 'buddypress' ) ?></a><?php endif; ?></h2>
     7            <h2><?php _e( 'Groups Directory', 'buddypress' ) ?><?php if ( is_user_logged_in() ) : ?> &nbsp;<a class="button" href="<?php echo bp_get_root_domain() . '/' . BP_GROUPS_SLUG . '/create/' ?>"><?php _e( 'Create a Group', 'buddypress' ) ?></a><?php endif; ?></h2>
    88
    99            <?php do_action( 'bp_before_directory_groups_content' ) ?>
  • trunk/bp-themes/bp-default/home.php

    r2224 r2308  
    44     * This is set in wp-admin > Appearance > Theme Options
    55     */
     6
    67    if ( 'blog' == bp_dtheme_show_on_frontpage() )
    78        locate_template( array( 'index.php' ), true );
Note: See TracChangeset for help on using the changeset viewer.