Changeset 3616
- Timestamp:
- 07/01/2016 07:47:01 PM (9 years ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-forums
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-forums/functions.php
r2429 r3616 39 39 get_template_directory_uri() . '/style.css', 40 40 array( 'bb-base' ), 41 '20160 129'41 '20160701' 42 42 ); 43 43 … … 255 255 $voice_count = sprintf( _n( '%s participant', '%s participants', $voice_count, 'wporg-forums' ), bbp_number_format( $voice_count ) ); 256 256 $last_reply = bbp_get_topic_last_active_id( $topic_id ); 257 258 // WP version 259 $wp_version = ''; 260 if ( function_exists( 'WordPressdotorg\Forums\Version_Dropdown\get_topic_version' ) ) { 261 $wp_version = WordPressdotorg\Forums\Version_Dropdown\get_topic_version( $topic_id ); 262 } 257 263 258 264 ?> … … 269 275 <li class="topic-subscribe"><?php bbp_topic_subscription_link( array( 'before' => '', 'topic_id' => $_topic_id ) ); ?></li> 270 276 <li class="topic-favorite"><?php bbp_topic_favorite_link( array( 'topic_id' => $_topic_id ) ); ?></li> 271 <?php endif; 277 <?php endif; ?> 278 <?php if ( ! empty( $wp_version ) ) : ?> 279 <li class="wp-version"><?php echo esc_html( $wp_version ); ?></li> 280 <?php endif; ?> 281 282 <?php 272 283 } 273 284 -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-forums/style.css
r2428 r3616 216 216 } 217 217 218 .sidebar .topic-info li.wp-version:before { 219 content: "\f120"; 220 } 221 218 222 /* Sticky topics */ 219 223 #bbpress-forums ul.sticky li.bbp-topic-title a.bbp-topic-permalink:before,
Note: See TracChangeset
for help on using the changeset viewer.