[wp-trac] [WordPress Trac] #38035: Clarify function parameters that expect slashed data

WordPress Trac noreply at wordpress.org
Tue Sep 13 13:12:22 UTC 2016


#38035: Clarify function parameters that expect slashed data
------------------------------------+------------------------------
 Reporter:  johnbillion             |       Owner:
     Type:  defect (bug)            |      Status:  new
 Priority:  normal                  |   Milestone:  Awaiting Review
Component:  General                 |     Version:
 Severity:  normal                  |  Resolution:
 Keywords:  needs-patch needs-docs  |     Focuses:  docs
------------------------------------+------------------------------

Comment (by rmccue):

 Based on the [https://github.com/phpDocumentor/fig-
 standards/blob/master/proposed/phpdoc.md#53-tags phpDoc standard], maybe
 we could do a tag specialisation for `@param`? Something like:

 {{{
 /**
  * @param:preslashed array $data Post data for the function.
  */
 }}}

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


More information about the wp-trac mailing list