Docs: Replace multiple single line comments with multi-line comments.
This changeset updates various comments as per WordPress PHP Inline Documentation Standards. See https://developer.wordpress.org/coding-standards/inline-documentation-standards/php/#5-inline-comments. Follow-up to [56174], [56175], [56176], [56177], [56178], [56179], [56180]. Props costdev, audrasjb. See #58459. Built from https://develop.svn.wordpress.org/trunk@56191 git-svn-id: http://core.svn.wordpress.org/trunk@55703 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -49,9 +49,11 @@ function wp_is_home_url_using_https() {
|
||||
* @return bool True if using HTTPS, false otherwise.
|
||||
*/
|
||||
function wp_is_site_url_using_https() {
|
||||
// Use direct option access for 'siteurl' and manually run the 'site_url'
|
||||
// filter because `site_url()` will adjust the scheme based on what the
|
||||
// current request is using.
|
||||
/*
|
||||
* Use direct option access for 'siteurl' and manually run the 'site_url'
|
||||
* filter because `site_url()` will adjust the scheme based on what the
|
||||
* current request is using.
|
||||
*/
|
||||
/** This filter is documented in wp-includes/link-template.php */
|
||||
$site_url = apply_filters( 'site_url', get_option( 'siteurl' ), '', null, null );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user