Changeset 52258
- Timestamp:
- 11/27/2021 03:22:17 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/link-template.php
r52255 r52258 924 924 * @param int|WP_Term|object $term The ID or term object whose feed link will be retrieved. 925 925 * @param string $taxonomy Optional. Taxonomy of `$term_id`. 926 * Defaults to 'category' if term ID or non WP_Term object is passed.927 926 * @param string $feed Optional. Feed type. Possible values include 'rss2', 'atom'. 928 927 * Default is the value of get_default_feed(). … … 936 935 $term = get_term( $term, $taxonomy ); 937 936 938 $taxonomy = $term->taxonomy;939 940 937 if ( empty( $term ) || is_wp_error( $term ) ) { 941 938 return false; 942 939 } 940 941 $taxonomy = $term->taxonomy; 943 942 944 943 if ( empty( $feed ) ) {
Note: See TracChangeset
for help on using the changeset viewer.