| @@ -1,8 +1,5 @@ | ||
| 1 | 1 | <?php |
| 2 | -/** | |
| 3 | - * @package Polylang | |
| 4 | - */ | |
| 5 | 2 | |
| 6 | 3 | /** |
| 7 | 4 | * Links model abstract class |
| 8 | 5 | * |
| @@ -118,10 +115,10 @@ | ||
| 118 | 115 | if ( ( defined( 'PLL_CACHE_LANGUAGES' ) && ! PLL_CACHE_LANGUAGES ) || ( defined( 'PLL_CACHE_HOME_URL' ) && ! PLL_CACHE_HOME_URL ) ) { |
| 119 | 116 | $this->set_home_url( $language ); |
| 120 | 117 | } |
| 121 | 118 | |
| 122 | - // Ensures that the ( possibly cached ) home and flag urls use the right scheme http or https. | |
| 123 | - $language->set_url_scheme(); | |
| 119 | + // Ensures that the ( possibly cached ) home url uses the right scheme http or https | |
| 120 | + $language->set_home_url_scheme(); | |
| 124 | 121 | } |
| 125 | 122 | return $languages; |
| 126 | 123 | } |
| 127 | 124 | |