Changeset 3009 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/single-plugin.php
- Timestamp:
- 04/26/2016 07:33:28 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/single-plugin.php
r2654 r3009 1 1 <?php 2 namespace WordPressdotorg\Plugin_Directory\Theme; 3 use WordPressdotorg\Plugin_Directory\Template; 4 2 5 the_post(); 3 6 get_header(); 4 $plugin_banners = WordPressdotorg\Plugin_Directory\Template::get_plugin_banner( $post );7 $plugin_banners = Template::get_plugin_banner( $post ); 5 8 6 9 ?> … … 46 49 <ul id="sections"> 47 50 <?php 48 foreach ( WordPressdotorg\Plugin_Directory\Template::get_plugin_sections() as $section ) {51 foreach ( Template::get_plugin_sections() as $section ) { 49 52 $current = ( $section['slug'] == get_query_var( 'content_page' ) || ( 'description' == $section['slug'] && ! get_query_var( 'content_page' ) ) ); 50 53 printf( … … 66 69 67 70 <div class="" style="width: 212px; float: right;"> 68 <p> 69 <strong>Version:</strong> <?php echo wporg_plugins_the_version(); ?><br> 70 <strong>Requires:</strong> <?php printf( __('%s or higher', 'wporg-plugins' ), wporg_plugins_template_requires() ); ?><br> 71 <strong>Compatible up to:</strong> <?php echo wporg_plugins_template_compatible_up_to(); ?><br> 72 <strong>Last Updated: </strong> <?php echo wporg_plugins_template_last_updated(); ?><br> 73 <strong>Active Installs:</strong> <?php echo worg_plugins_template_active_installs( false ); ?><br> 74 <meta itemprop="dateModified" content="<?php the_time('Y-m-d'); ?>" /> 75 </p> 71 <?php dynamic_sidebar('single-plugin-sidebar'); ?> 76 72 </div> 77 73
Note: See TracChangeset
for help on using the changeset viewer.