Title: wp_loginout weird behavior
Last modified: August 19, 2016

---

# wp_loginout weird behavior

 *  [gohlkus](https://wordpress.org/support/users/gohlkus/)
 * (@gohlkus)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/wp_loginout-weird-behavior/)
 * So I just upgraded my site from 2.8.4 to 3.1 (quite a jump, I know). It was actually
   painless.
 * I had a question but I just solved it myself — but I’m posting this here so it
   shows up in search results for others.
 * My theme previously included a wp_loginout function as such: `<?php wp_loginout('','');?
   >` After I upgraded, nothing showed up there.
 * Then I asked myself “why am I including those empty parameters anyway?” I changed
   it to `<?php wp_loginout(); ?>` and it works fine again. Hope this extremely 
   minor thing helps someone… 🙂

The topic ‘wp_loginout weird behavior’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [gohlkus](https://wordpress.org/support/users/gohlkus/)
 * Last activity: [15 years, 2 months ago](https://wordpress.org/support/topic/wp_loginout-weird-behavior/)
 * Status: not a support question

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
