Changeset 8192
- Timestamp:
- 02/04/2019 05:38:30 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/class-template.php
r8188 r8192 938 938 $link = false; 939 939 940 if ( is_tax() ) {940 if ( is_tax() || is_tag() || is_category() ) { 941 941 $link = get_term_link( $queried_object ); 942 } elseif ( is_author() ) {943 $link = get_author_link( $queried_object );944 942 } elseif ( is_singular() ) { 945 943 $link = get_permalink( $queried_object );
Note: See TracChangeset
for help on using the changeset viewer.