[wp-trac] [WordPress Trac] #50147: Add missing inline docs information to esc_url_raw

WordPress Trac noreply at wordpress.org
Mon May 11 19:25:53 UTC 2020


#50147: Add missing inline docs information to esc_url_raw
--------------------------+------------------------------
 Reporter:  audrasjb      |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Formatting    |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  docs
--------------------------+------------------------------
Description changed by audrasjb:

Old description:

> In `wp-includes/formatting.php`, there should be a reference to
> `wp_allowed_protocols` under `$protocols` parameters, in the related
> inline documentation.
>
> To be consistent, we should probably copy the documentation available for
> `esc_url`.

New description:

 In `wp-includes/formatting.php`, there should be a reference to
 `wp_allowed_protocols` under `$protocols` parameters, in the related
 inline documentation of `esc_url_raw` function.

 To be consistent, we should probably copy the documentation available for
 `esc_url`.

--

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/50147#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list