Make WordPress Core

Ticket #50147: 50147.diff

File 50147.diff, 575 bytes (added by audrasjb, 5 years ago)

Formatting: add missing inline documentation to esc_url_raw function

  • src/wp-includes/formatting.php

    diff --git a/src/wp-includes/formatting.php b/src/wp-includes/formatting.php
    index 130a2c36d1..445b242d74 100644
    a b function esc_url( $url, $protocols = null, $_context = 'display' ) { 
    44094409 *
    44104410 * @param string   $url       The URL to be cleaned.
    44114411 * @param string[] $protocols An array of acceptable protocols.
     4412 *                            Defaults to return value of wp_allowed_protocols()
    44124413 * @return string The cleaned URL.
    44134414 */
    44144415function esc_url_raw( $url, $protocols = null ) {