Changeset 4393 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/template-parts/plugin.php
- Timestamp:
- 11/21/2016 07:54:32 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/template-parts/plugin.php
r4223 r4393 1 1 <?php 2 2 /** 3 * Template part for displaying p osts.3 * Template part for displaying plugins. 4 4 * 5 5 * @link https://codex.wordpress.org/Template_Hierarchy … … 28 28 </div><!-- .entry-excerpt --> 29 29 </div> 30 <hr> 31 <footer> 32 <span class="plugin-author"> 33 <i class="dashicons dashicons-admin-users"></i> <?php echo esc_html( get_post_meta( get_the_ID(), 'header_author', true ) ); ?> 34 </span> 35 <span class="active-installs"> 36 <i class="dashicons dashicons-chart-area"></i> <?php printf( __( '%s Active Installs', 'wporg-plugins' ), Template::active_installs(false) ); ?> 37 </span> 38 <span class="tested-with"> 39 <?php if ( $tested_up_to = (string) get_post_meta( $post->ID, 'tested', true ) ) { ?> 40 <i class="dashicons dashicons-wordpress-alt"></i> <?php printf( __( 'Tested with %s', 'wporg-plugins' ), $tested_up_to ); ?></span> 41 <?php } ?> 42 </span> 43 <span class="last-updated"> 44 <i class="dashicons dashicons-calendar"></i> <?php 45 /* Translators: Plugin modified time. */ 46 printf( __( 'Updated %s ago', 'wporg-plugins' ), human_time_diff( get_post_modified_time() ) ); ?> 47 </span> 48 </span> 49 </footer> 30 50 </article><!-- #post-## -->
Note: See TracChangeset
for help on using the changeset viewer.