[wp-trac] [WordPress Trac] #50585: The Return Value of esc url raw() can be more accurate in its description

WordPress Trac noreply at wordpress.org
Wed Nov 4 17:18:55 UTC 2020


#50585: The Return Value of esc url raw() can be more accurate in its description
--------------------------+-----------------------------
 Reporter:  stevenlinx    |       Owner:  SergeyBiryukov
     Type:  defect (bug)  |      Status:  reviewing
 Priority:  normal        |   Milestone:  5.6
Component:  Formatting    |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  docs
--------------------------+-----------------------------

Comment (by helen):

 Apologies for getting so nitpicky on docs which I'm sure are helpful
 overall - to help me understand how best to evalute these, is the goal to
 give users a level of documentation that doesn't require needing to look
 at the codebase? In this instance I think it would be better to point to
 `esc_url()` and update the docs there.

 See [attachment:"50585.3.diff"] for what I think this could look like.

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


More information about the wp-trac mailing list