Changeset 3228
- Timestamp:
- 05/24/2016 11:34:06 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/api/routes/class-plugin.php
r3022 r3228 67 67 if ( get_post_meta( $post_id, 'header_author_uri', true ) ) { 68 68 $result['author'] = sprintf( '<a href="%s">%s</a>', get_post_meta( $post_id, 'header_author_uri', true ), get_post_meta( $post_id, 'header_author', true ) ); 69 } elseif ( get_post_meta( $post_id, 'header_au fthor', true ) ) {70 $result['author'] = get_post_meta( $post_id, 'header_au fthor', true );69 } elseif ( get_post_meta( $post_id, 'header_author', true ) ) { 70 $result['author'] = get_post_meta( $post_id, 'header_author', true ); 71 71 } else { 72 72 $result['author'] = get_user_by( 'id', $post->post_author )->display_name; … … 113 113 114 114 $result['tags'] = array(); 115 if ( $terms = get_the_terms( $post->ID, 'plugin_ tag' ) ) {115 if ( $terms = get_the_terms( $post->ID, 'plugin_category' ) ) { 116 116 foreach ( $terms as $term ) { 117 117 $result['tags'][ $term->slug ] = $term->name;
Note: See TracChangeset
for help on using the changeset viewer.