Skip to:
Content

BuddyPress.org

Changeset 3627 for trunk/bp-blogs.php


Ignore:
Timestamp:
12/30/2010 10:13:05 PM (14 years ago)
Author:
boonebgorges
Message:

Replaces generic 'Search anything' default directory search text with component-specific text. Fixes #1915. Fixes ->forums->slug so that it is properly set in the bp_pages way

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-blogs.php

    r3578 r3627  
    1313        define ( 'BP_BLOGS_SLUG', $bp->pages->blogs->slug );
    1414
    15     /* For internal identification */
     15    // For internal identification
    1616    $bp->blogs->id = 'blogs';
    1717
     
    2323    $bp->blogs->format_notification_function = 'bp_blogs_format_notifications';
    2424
    25     /* Register this in the active components array */
     25    // Register this in the active components array
    2626    $bp->active_components[$bp->blogs->slug] = $bp->blogs->id;
     27
     28    // The default text for the blogs directory search box 
     29    $bp->default_search_strings[$bp->blogs->slug] = __( 'Search Blogs...', 'buddypress' );
    2730
    2831    do_action( 'bp_blogs_setup_globals' );
Note: See TracChangeset for help on using the changeset viewer.