Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
11/10/2010 09:35:54 PM (14 years ago)
Author:
djpaul
Message:

Remove used of deprecated theme functions in bp-default

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-themes/bp-default/search.php

    r3306 r3386  
    2323                    <?php do_action( 'bp_before_blog_post' ) ?>
    2424
    25                     <div class="post" id="post-<?php the_ID(); ?>">
     25                    <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    2626
    2727                        <div class="author-box">
    28                             <?php echo get_avatar( get_the_author_email(), '50' ); ?>
     28                            <?php echo get_avatar( get_the_author_meta( 'email' ), '50' ); ?>
    2929                            <p><?php printf( __( 'by %s', 'buddypress' ), bp_core_get_userlink( $post->post_author ) ) ?></p>
    3030                        </div>
Note: See TracChangeset for help on using the changeset viewer.