| @@ -102,9 +102,9 @@ | ||
| 102 | 102 | * @return int |
| 103 | 103 | */ |
| 104 | 104 | public function translate_page_for_posts( $v ) { |
| 105 | 105 | // Don't attempt to translate in a 'switch_blog' action as there is a risk to call this function while initializing the languages cache |
| 106 | - return isset( $this->curlang->page_for_posts ) && ( $this->curlang->page_for_posts ) && ! doing_action( 'switch_blog' ) ? $this->curlang->page_for_posts : $v; | |
| 106 | + return isset( $this->curlang->page_for_posts ) && ! doing_action( 'switch_blog' ) ? $this->curlang->page_for_posts : $v; | |
| 107 | 107 | } |
| 108 | 108 | |
| 109 | 109 | /** |
| 110 | 110 | * Fixes the oembed for the translated static front page |