Changeset 52255 for trunk/src/wp-includes/link-template.php
- Timestamp:
- 11/26/2021 11:41:24 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/link-template.php
r52215 r52255 931 931 function get_term_feed_link( $term, $taxonomy = '', $feed = '' ) { 932 932 if ( ! is_object( $term ) ) { 933 $term = (int) $term; 934 $taxonomy = 'category'; 935 } elseif ( ! $term instanceof WP_Term ) { 936 $taxonomy = $term->taxonomy; 933 $term = (int) $term; 937 934 } 938 935 939 936 $term = get_term( $term, $taxonomy ); 937 938 $taxonomy = $term->taxonomy; 940 939 941 940 if ( empty( $term ) || is_wp_error( $term ) ) {
Note: See TracChangeset
for help on using the changeset viewer.