Changeset 3021
- Timestamp:
- 04/27/2016 08:23:46 AM (8 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
r3020 r3021 123 123 $result['versions'] = array(); 124 124 if ( $versions = get_post_meta( $post_id, 'tagged_versions', true ) ) { 125 if ( 'trunk' != $result['stable_tag'] ) { 126 array_push( $versions, 'trunk' ); 127 } 125 128 foreach ( $versions as $version ) { 126 129 $result['versions'][ $version ] = Template::download_link( $post, $version ); … … 132 135 $result['banners'] = array(); 133 136 if ( $banners = Template::get_plugin_banner( $post ) ) { 134 if ( isset( $banners['ban er'] ) ) {137 if ( isset( $banners['banner'] ) ) { 135 138 $result['banners']['low'] = $banners['banner']; 136 139 }
Note: See TracChangeset
for help on using the changeset viewer.