[wp-trac] [WordPress Trac] #49572: Docblock improvements for 5.5

WordPress Trac noreply at wordpress.org
Fri Jun 26 18:47:43 UTC 2020


#49572: Docblock improvements for 5.5
----------------------------+---------------------
 Reporter:  SergeyBiryukov  |       Owner:  (none)
     Type:  task (blessed)  |      Status:  new
 Priority:  normal          |   Milestone:  5.5
Component:  General         |     Version:
 Severity:  normal          |  Resolution:
 Keywords:                  |     Focuses:  docs
----------------------------+---------------------

Comment (by SergeyBiryukov):

 In [changeset:"48185" 48185]:
 {{{
 #!CommitTicketReference repository="" revision="48185"
 Docs: Standardize on "Returning a value from the filter" vs. "Passing a
 value to the filter".

 The filter is the callback function added with `add_filter()`, therefore
 the hook passes a value to the filter, and the filter returns a value to
 change its behaviour.

 The documentation is referring to the latter.

 Props johnbillion.
 See #49572, #16557.
 }}}

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


More information about the wp-trac mailing list