@@ -148,9 +148,9 @@ discard block |
||
| 148 | 148 | * Helper function that is used when getting home or siteurl values. Decides |
| 149 | 149 | * whether to get the raw or filtered value. |
| 150 | 150 | * |
| 151 | - * @param $url_type |
|
| 152 | - * @param null $url_function |
|
| 153 | - * @param null $url_constant |
|
| 151 | + * @param string $url_type |
|
| 152 | + * @param string $url_function |
|
| 153 | + * @param string $url_constant |
|
| 154 | 154 | * |
| 155 | 155 | * @return string |
| 156 | 156 | */ |
@@ -196,6 +196,9 @@ discard block |
||
| 196 | 196 | return self::get_protocol_normalized_url( 'main_network_site_url', network_site_url() ); |
| 197 | 197 | } |
| 198 | 198 | |
| 199 | + /** |
|
| 200 | + * @param null|string $callable |
|
| 201 | + */ |
|
| 199 | 202 | public static function get_protocol_normalized_url( $callable, $new_value ) { |
| 200 | 203 | $option_key = self::HTTPS_CHECK_OPTION_PREFIX . $callable; |
| 201 | 204 | |