Skip to:
Content

BuddyPress.org

Changeset 1305


Ignore:
Timestamp:
04/03/2009 01:59:16 PM (16 years ago)
Author:
apeatling
Message:

Fixes #645

Location:
trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/bp-core-catchuri.php

    r1284 r1305  
    199199        status_header( 200 );
    200200        $wp_query->is_404 = false;
    201         $wp_query->is_page = true;
     201       
     202        if ( $bp->current_component != BP_HOME_BLOG_SLUG )
     203            $wp_query->is_page = true;
    202204    }
    203205
  • trunk/bp-themes/buddypress-home/archive.php

    r1189 r1305  
    4343                    </div>
    4444
    45                     <p class="postmetadata"><?php _e( 'Posted in', 'buddypress' ) ?> <?php the_category(', ') ?> | <?php edit_post_link( __( 'Edit', 'buddypress' ), '', ' | '); ?>  <?php comments_popup_link('No Comments &#187;', '1 Comment &#187;', '% Comments &#187;'); ?></p>
     45                    <p class="postmetadata"><?php _e( 'Posted in', 'buddypress' ) ?> <?php the_category(', ') ?> | <?php edit_post_link( __( 'Edit', 'buddypress' ), '', ' | '); ?>  <?php comments_popup_link( __( 'No Comments &#187;', 'buddypress' ), __( '1 Comment &#187;', 'buddypress' ), __( '% Comments &#187;', 'buddypress' ) ); ?></p>
    4646
    4747                </div>
  • trunk/bp-themes/buddypress-home/comments.php

    r1288 r1305  
    2222<div id="comments-section">
    2323<?php if ($comments) : ?>
    24     <h3 id="responses"><?php comments_number('No Responses', 'One Response', '% Responses' );?> to &#8220;<?php the_title(); ?>&#8221;</h3>
     24    <h3 id="responses"><?php comments_number( __( 'No Responses', 'buddypress' ), __( 'One Response', 'buddypress' ), __( '% Responses', 'buddypress' ) );?> to &#8220;<?php the_title(); ?>&#8221;</h3>
    2525       
    2626    <ol class="commentlist" id="comments">
  • trunk/bp-themes/buddypress-home/functions.php

    r1303 r1305  
    4747    global $bp, $query_string;
    4848   
    49     if ( $bp->current_component == BP_HOME_BLOG_SLUG  ) {
     49    if ( $bp->current_component == BP_HOME_BLOG_SLUG ) {
    5050        $pos = strpos( $query_string, 'pagename=' . BP_HOME_BLOG_SLUG );
    5151       
  • trunk/bp-themes/buddypress-home/index.php

    r1300 r1305  
    1616                    </div>
    1717
    18                     <p class="postmetadata"><span class="tags"><?php the_tags('Tags: ', ', ', '<br />'); ?></span> <span class="comments"><?php comments_popup_link('No Comments &#187;', '1 Comment &#187;', '% Comments &#187;'); ?></span></p>
     18                    <p class="postmetadata"><span class="tags"><?php the_tags('Tags: ', ', ', '<br />'); ?></span> <span class="comments"><?php comments_popup_link( __( 'No Comments &#187;', 'buddypress' ), __( '1 Comment &#187;', 'buddypress' ), __( '% Comments &#187;', 'buddypress' ) ); ?></span></p>
    1919                   
    2020                    <div class="clear"></div>
  • trunk/bp-themes/buddypress-home/search.php

    r1300 r1305  
    2121                        <small><?php the_time('l, F jS, Y') ?></small>
    2222
    23                         <p class="postmetadata"><?php _e( 'Posted in', 'buddypress' ) ?> <?php the_category(', ') ?> | <?php edit_post_link( __( 'Edit', 'buddypress' ), '', ' | '); ?>  <?php comments_popup_link('No Comments &#187;', '1 Comment &#187;', '% Comments &#187;'); ?></p>
     23                        <p class="postmetadata"><?php _e( 'Posted in', 'buddypress' ) ?> <?php the_category(', ') ?> | <?php edit_post_link( __( 'Edit', 'buddypress' ), '', ' | '); ?>  <?php comments_popup_link( __( 'No Comments &#187;', 'buddypress' ), __( '1 Comment &#187;', 'buddypress' ), __( '% Comments &#187;', 'buddypress' ) ); ?></p>
    2424                    </div>
    2525
Note: See TracChangeset for help on using the changeset viewer.