Skip to:
Content

BuddyPress.org

Changeset 4511


Ignore:
Timestamp:
06/14/2011 09:18:16 PM (15 years ago)
Author:
djpaul
Message:

Implement rel="author" in BP-Default

Location:
trunk/bp-themes/bp-default
Files:
2 edited

Legend:

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

    r4226 r4511  
    2323
    2424                            <p class="date">
    25                                 <?php printf( __( '%1$s <span>by %2$s</span>', 'buddypress' ), get_the_date(), bp_core_get_userlink( $post->post_author ) ); ?>
     25                                <?php printf( __( '%1$s <span>by %2$s</span>', 'buddypress' ), get_the_date(), str_replace( '<a href=', '<a rel="author" href=', bp_core_get_userlink( $post->post_author ) ) ); ?>
    2626                                <span class="post-utility alignright"><?php edit_post_link( __( 'Edit this entry', 'buddypress' ) ); ?></span>
    2727                            </p>
  • trunk/bp-themes/bp-default/single.php

    r4412 r4511  
    2121
    2222                        <p class="date">
    23                             <?php printf( __( '%1$s <span>in %2$s by %3$s</span>', 'buddypress' ), get_the_date(), get_the_category_list( ', ' ), bp_core_get_userlink( $post->post_author ) ); ?>
     23                            <?php printf( __( '%1$s <span>in %2$s by %3$s</span>', 'buddypress' ), get_the_date(), get_the_category_list( ', ' ), str_replace( '<a href=', '<a rel="author" href=', bp_core_get_userlink( $post->post_author ) ) ); ?>
    2424                            <span class="post-utility alignright"><?php edit_post_link( __( 'Edit this entry', 'buddypress' ) ); ?></span>
    2525                        </p>
Note: See TracChangeset for help on using the changeset viewer.