Skip to:
Content

BuddyPress.org

Changeset 6419


Ignore:
Timestamp:
10/15/2012 08:32:22 PM (14 years ago)
Author:
r-a-y
Message:

bp-legacy:

  • Remove unused directory hooks for groups and blogs.
  • Buttons are now hardcoded in theme compat's respective create_dummy_post() methods.
  • Add 'bp-title-button' class to BP_Blogs_Theme_Compat.
Location:
trunk
Files:
2 edited

Legend:

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

    r6288 r6419  
    146146                // Title based on ability to create blogs
    147147                if ( is_user_logged_in() && bp_blog_signup_enabled() ) {
    148                         $title = '<a class="button" href="' . trailingslashit( bp_get_root_domain() . '/' . bp_get_blogs_root_slug() ) . '">' . __( 'Blogs', 'buddypress' ) . '</a>&nbsp;' . __( 'Create a Blog', 'buddypress' );
     148                        $title = '<a class="button bp-title-button" href="' . trailingslashit( bp_get_root_domain() . '/' . bp_get_blogs_root_slug() ) . '">' . __( 'Blogs', 'buddypress' ) . '</a>&nbsp;' . __( 'Create a Blog', 'buddypress' );
    149149                } else {
    150150                        $title = __( 'Blogs', 'buddypress' );
  • trunk/bp-themes/bp-legacy/buddypress-functions.php

    r6404 r6419  
    115115                                add_action( 'bp_group_header_actions',     'bp_group_join_button',           5 );
    116116                                add_action( 'bp_group_header_actions',     'bp_group_new_topic_button',      20 );
    117                                 add_action( 'bp_directory_groups_actions', 'bp_group_join_button' );
    118117                        }
    119118
    120                         // Blog button
    121                         if ( bp_is_active( 'blogs' ) )
    122                                 add_action( 'bp_directory_blogs_actions',  'bp_blogs_visit_blog_button' );
    123119                }
    124120
Note: See TracChangeset for help on using the changeset viewer.