Changeset 8191
- Timestamp:
- 02/04/2019 05:33:09 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/theme-directory/theme-directory.php
r8190 r8191 1200 1200 // The browse/% urls on the Theme directory are front-page-query alterations. 1201 1201 $link = home_url( 'browse/' . get_query_var( 'browse' ) . '/' ); 1202 } elseif ( is_author() ) { 1203 // On WordPress.org get_author_posts_url() returns profile.wordpress.org links. Build it manually. 1204 $link = home_url( 'author/' . $queried_object->user_nicename . '/' ); 1202 1205 } elseif ( is_tax() || is_tag() || is_category() ) { 1203 1206 $link = get_term_link( $queried_object ); 1204 } elseif ( is_author() ) {1205 // $link = get_author_link( $queried_object );1206 1207 } elseif ( is_singular() ) { 1207 1208 $link = get_permalink( $queried_object );
Note: See TracChangeset
for help on using the changeset viewer.