Making WordPress.org

Changeset 12109


Ignore:
Timestamp:
10/07/2022 07:03:53 AM (17 months ago)
Author:
coffee2code
Message:

Photo Directory: On author archives, change link for contributor to point to their wp.org profile.

Props vatoyiit, coffee2code.
Fixes #6408.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-photos/author.php

    r11647 r12109  
    2525                        sprintf(
    2626                            '<a href="%s" class="photo-author">%s</a>',
    27                             esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ),
     27                            esc_url( 'https://profiles.wordpress.org/' . get_the_author_meta( 'nicename' ) . '/' ),
    2828                            get_avatar( get_the_author_meta( 'ID' ), 32 ) . get_the_author_meta( 'display_name' )
    2929                                        )
Note: See TracChangeset for help on using the changeset viewer.