Exemplo n.º 1
0
 /**
  * @covers ::bbp_current_user_id
  * @covers ::bbp_get_current_user_id
  */
 public function test_bbp_get_current_user_id()
 {
     $int_value = $this->keymaster_userdata->ID;
     $formatted_value = bbp_number_format($int_value);
     // Integer.
     $user_id = bbp_get_current_user_id();
     $this->assertSame($this->keymaster_id, $user_id);
     // Output.
     $this->expectOutputString($formatted_value);
     bbp_current_user_id($this->keymaster_id);
 }
do_action('bbp_before_main_content');
?>

	<div id="bbp-user-<?php 
bbp_current_user_id();
?>
" class="bbp-single-user">
		<div class="entry-content">

			<?php 
bbp_get_template_part('content', 'single-user');
?>

		</div><!-- .entry-content -->
	</div><!-- #bbp-user-<?php 
bbp_current_user_id();
?>
 -->

	<?php 
do_action('bbp_after_main_content');
?>

</section>
<!-- /#content -->

<?php 
if ($st_forum_sidebar_position != 'off') {
    get_sidebar('bbpress');
}
?>